{"repo":"Anmol-Baranwal/form-builder","free":true,"listed":false,"github":"https://github.com/Anmol-Baranwal/form-builder","clone":"git clone https://github.com/Anmol-Baranwal/form-builder.git","description":"Self-hosted form builder - describe your form, it builds itself and goes live instantly (Google Forms alternative).","language":"TypeScript","stars":50,"topics":[],"license":"Apache-2.0","category":"self-hosted-apps","readme_excerpt":"Form Builder A self-hosted form builder built with Next.js and C1 by Thesys. Describe the form you need in natural language and the app instantly generates the UI spec automatically. This project uses signed JSON Web Tokens (JWT) stored in an HTTP-only cookie for admin authentication. I have covered the architecture, data flow, system prompt and how everything works behind the scenes in this blog post. To use the application: 1. Fork this repository and clone it. 2. Set your admin password and other credentials in .env (check the format below). 3. Deploy it on any hosting provider (Vercel, Netlify, Render) or your own server. 4. Visit /login and enter your admin password. 5. After successful login, you will be redirected to the chat interface at / . 6. You can now create forms as needed (see the demo below). https://github.com/user-attachments/assets/4747fa52-25be-40e9-bed2-e5d751906fdd Project Structure Available Routes Page Routes - /home – Landing page (shown when not logged in) - /login – Admin login page - / – Chat interface (requires authentication) - /forms – List all forms - /forms/[id] – Render a specific form - /forms/[id]/submissions – List submissions for a specific form API Routes - POST /api/login – Authenticate and set session cookie - POST /api/chat – AI chat endpoint - GET /api/forms/list – Get all forms - POST /api/forms/create – Create a new form - GET /api/forms/get – Get form schema by ID - DELETE /api/forms/delete – Delete a form by ID - POST /api/forms/","default_branch":null,"files":null,"tree":[],"storefront":"/r/Anmol-Baranwal","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Anmol-Baranwal/form-builder/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}