Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
A local-ready LLM-generated and LLM-driven virtual pet with thoughts and feelings. 100% Javascript.
| Date | Stars |
|---|---|
| 2026-07-31 | 524 |
| 2026-08-06 | 524 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
# AI Tamago 🥚🐣 A 100% local, LLM-generated and driven virtual pet with thoughts, feelings and feedback. Revive your fond memories of Tamagotchi! https://ai-tamago.fly.dev/ All ascii animations are generated using chatgpt (included prompts in the repo). Have questions? Join [AI Stack devs](https://discord.gg/TsWCNVvRP5) and find me in #ai-tamago channel. **Demo** 🪄 https://github.com/ykhli/AI-tamago/assets/3489963/8d7cb2ac-537a-45d4-98a5-1802b773e364 ## Stack ### Local Mode - 🦙 Inference: [Ollama](https://github.com/jmorganca/ollama), with options to use OpenAI or [Replicate](https://replicate.com/) - 🔔 Game state: [Inngest](https://www.inngest.com/) - 💻 Transactional & vector database: [Supabase pgvector](https://supabase.com/docs/guides/database/extensions/pgvector) - 🧠 LLM Orchestration: [Langchain.js](https://js.langchain.com/docs/) - 🖼️ App logic: [Next.js](https://nextjs.org/) - 🧮 Embeddings generation: [Transformer.js](https://github.com/xenova/transformers.js) and [ all-MiniLM-L6-v2](https://huggingface.co/Xenova/all-MiniLM-L6-v2) - 🖌️ UI: [Magic Patterns](https://www.magicpatterns.com/) and [Vercel v0](https://v0.dev/) ### Prod Mode All of above, plus: - 🔐 Auth & User Management: [Clerk](https://clerk.com/) - ☁️ Hosting: [Fly](https://fly.io/) - 🥇 Rate Limiting: [Upstash](https://upstash.com/) ## Overview - 🚀 [Quickstart](#quickstart) - 💻 [Deployment Guide](#deployment-guide) ## Prerequisites - [Install Docker](https://www.docker.com/get-started) ## Quickstart ### 1. Fork and Clone repo Fork the repo to your Github account, then run the following command to clone the repo: ``` git clone [email protected]:[YOUR_GITHUB_ACCOUNT_NAME]/AI-tamago.git ``` ### 2. Install dependencies ``` cd ai-tamago npm install ``` All client side tamagotchi code is in Tamagotchi.tsx ### 3. Install Ollama Instructions are [here](https://github.com/jmorganca/ollama#macos). ### 4. Run Supabase locally 1. Install Supabase CLI ``` brew install supabase/tap/supabase ``` 2. Start Supabase Make sure you are under `/ai-tamago` directory and run: ``` supabase start ``` Tips: To run migrations or reset database -- seed.sql and migrations will run `supabase db reset` ### 5. Fill in secrets Note: The secrets here are for your **local** supabase instance ``` cp .env.local.example .env.local ``` Then get `SUPABASE_PRIVATE_KEY` by running ``` supabase status ``` Copy `service_role key` and save it as `SUPABASE_PRIVATE_KEY` in `.env.local` ### 6. Set up Inngest `npx inngest-cli@latest dev` Make sure your app is up and running -- Inngest functions (which are used to drive game state) should register automatically. ### 7. Run app locally Now you are ready to test out the app locally! To do this, simply run `npm run dev` under the project root and visit `http://localhost:3000`. ## Deployment Guide Now you have played with the AI tamago locally -- it's time to deploy it somewhere more permanent so you can access it anytime! **0. Choose which model you want to use in production** - If you want to test out using Chatgpt in prod, simply remove `LLM_MODEL=ollama` from `.env.local` and fill in `OPENAI_API_KEY` - If you want to try [Replicate](https://replicate.com/), set `LLM_MODEL=replicate_llama` and fill in `REPLICATE_API_TOKEN` - If you want to deploy Ollama yourself, you can follow this awesome guide -- [Scaling Large Language Models to zero with Ollama](https://fly.io/blog/scaling-llm-ollama/). It is possible to run Ollama on a `performance-4x` Fly VM (CPU) with `100gb` volume, but if you can get access to GPUs they are much faster. Join Fly's GPU waitlist [here](https://fly.io/gpu) if you don't yet have access! **1. Switch to `deploy` branch -- this branch includes everything you need to deploy an app like [this](https://ai-tamago.fly.dev/).** ```git co deploy``` This branch contains a multi-tenancy-ready (thanks to Clerk) app, which means every user can get their own AI-tamago, and has token limit
Excerpt of 7,384 characters
Read on GitHub231
9
6
5
5
3
2
2
Ikko Eltociear Ashimine · Japan
1
1
1
1
1
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:c8d20e6cb3ec62a4, llm:description: 'A local-ready LLM-generated and LLM-driven virtual pet with thoughts and feelings. 100% Javascript.'
matched fp:c8d20e6cb3ec62a4, llm:description: 'A local-ready LLM-generated and LLM-driven virtual pet with thoughts and feelings. 100% Javascript.'
matched fp:c8d20e6cb3ec62a4, llm:description: 'A local-ready LLM-generated and LLM-driven virtual pet with thoughts and feelings. 100% Javascript.'