Pollin Coder is an open-source AI code generator that lets you create small apps with a single prompt. Powered by advanced AI models and the Pollinations.ai platform, it offers a seamless experience for developers and creators.
- Generate full-stack apps or code snippets from a single prompt
- Uses state-of-the-art models for code and text generation
- Live code sandbox powered by Sandpack
- Built with Next.js, Tailwind CSS, and modern web tech
- Analytics and observability ready (Plausible, Helicone)
- Pollinations AI for LLM inference
- Sandpack for the code sandbox
- Next.js app router with Tailwind
- Helicone for observability (optional)
- Plausible for website analytics
- Clone the repo:
git clone https://github.com/iotserver24/pollin-coder
- Copy
.example.env
to.env.local
and configure your environment variables:cp .example.env .env.local
- Run
npm install
andnpm run dev
to install dependencies and start the app locally
The application uses the following environment variables:
POLLINATIONS_AI_TOKEN
(optional): Your Pollinations AI token for authentication. If not provided, the app will work without authentication but may have rate limits.HELICONE_API_KEY
(optional): API key for Helicone observabilityDATABASE_URL
: Database connection string (required for production)
To use Pollinations AI with authentication:
- Get your token from Pollinations AI
- Add it to your
.env.local
file:POLLINATIONS_AI_TOKEN=your_token_here
The app will automatically use the token for all API calls to Pollinations AI, providing:
- Higher rate limits
- Better reliability
- Access to premium features
See CONTRIBUTING.md for guidelines.
© 2025 R3AP3R editz. All rights reserved.