{"id":14070195,"url":"https://github.com/alephmatic/full-stack-ai","last_synced_at":"2025-07-30T07:30:51.340Z","repository":{"id":210620178,"uuid":"726939469","full_name":"alephmatic/full-stack-ai","owner":"alephmatic","description":"Generate a full-stack Next.js app from an AI prompt","archived":false,"fork":false,"pushed_at":"2024-01-26T18:19:20.000Z","size":673,"stargazers_count":198,"open_issues_count":4,"forks_count":24,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-04-14T15:25:17.457Z","etag":null,"topics":["ai","copilot","full-stack","generator","kirimase","nextjs","openai"],"latest_commit_sha":null,"homepage":"https://fsai.elie.tech","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alephmatic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-12-03T20:49:29.000Z","updated_at":"2024-04-13T18:24:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"1ef59121-c117-453e-aad5-47b39513509c","html_url":"https://github.com/alephmatic/full-stack-ai","commit_stats":null,"previous_names":["alephmatic/full-stack-ai"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alephmatic%2Ffull-stack-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alephmatic%2Ffull-stack-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alephmatic%2Ffull-stack-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alephmatic%2Ffull-stack-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alephmatic","download_url":"https://codeload.github.com/alephmatic/full-stack-ai/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228102598,"owners_count":17869887,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","copilot","full-stack","generator","kirimase","nextjs","openai"],"created_at":"2024-08-13T07:07:33.060Z","updated_at":"2024-12-04T11:31:26.598Z","avatar_url":"https://github.com/alephmatic.png","language":"TypeScript","funding_links":[],"categories":["Tools \u0026 Utilities","TypeScript"],"sub_categories":[],"readme":"# Full stack AI\n\nBuild a full stack Next.js app from an AI prompt.\n\nBuilt by [Elie](https://twitter.com/elie2222). Also check out [Inbox Zero](https://getinboxzero.com), an open source email app to automate your emails and reach inbox zero fast.\n\n## Demo Video\n\n[![Full Stack AI demo](/assets/video-thumbnail.png)](https://youtu.be/DptvWuRfF2M)\n\n## What It Does\n\nFull Stack AI, `fsai`, is a CLI that uses AI to build a full-stack app for you.\n\nThe AI will:\n\n* Generate a Next.js app with TypeScript and Tailwind\n* Add shadcn/ui for frontend components\n* Generate pages to create/update/delete data\n* Generate a Prisma/Drizzle schema\n* Uses Postgres/MySQL/SQLite for the database\n* Add auth via NextAuth.js with GitHub/Discord/Google/Apple log in supported\n* Or add auth with Clerk/Lucia/Kinde\n* Add account screen to change settings\n* Add Stripe for payments\n* Add Resend to send transactional emails\n* Generate CRUD APIs\n* Add light/dark mode\n\nIt can use the package manager of your choice. It defaults to `pnpm` unless you prompt the AI otherwise.\n\n### Experimentation\n\nWe've been experimenting with a more general AI coder called [Aleph0](https://github.com/alephmatic/aleph0) which is in beta.\n\n## Getting Started\n\n```bash\nexport OPENAI_API_KEY=...\nnpx fsai gen \"Build a clone of Twitter called StackPrompt where people prompt instead of tweet. Allow users to follow one another and to like prompts. Use GitHub for log in. Charge users a monthly fee for premium functionality.\"\n```\n\nThen `cd` into the newly created app folder, set the environment variables and in the `.env` file and run `npm run dev` to see your app live in the browser at [http://localhost:3000](http://localhost:3000).\n\nYou can install the package globally and run as follows:\n\n```bash\npnpm i -g fsai\nexport OPENAI_API_KEY=...\nfsai gen \"Build a clone of Twitter called StackPrompt where people prompt instead of tweet. Allow users to follow one another and to like prompts. Use GitHub for log in. Charge users a monthly fee for premium functionality.\"\n```\n\nUnder the hood this project uses [Kirimase](https://github.com/nicoalbanese/kirimase).\n\n## Run locally\n\nIf you want to clone the repo and run it locally:\n\n```bash\npnpm i\nexport OPENAI_API_KEY=...\nnpx tsx src/index.ts gen \"Build a clone of Twitter called StackPrompt where people prompt instead of tweet. Allow users to follow one another and to like prompts. Use GitHub for log in. Charge users a monthly fee for premium functionality.\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falephmatic%2Ffull-stack-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falephmatic%2Ffull-stack-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falephmatic%2Ffull-stack-ai/lists"}