PromptLang is an AI-first CLI tool that generates complete websites from a natural language prompt.
It uses Google Gemini AI and UI templates (React, Vue, HTML) to scaffold projects instantly.
- Generate full websites by typing a single prompt
- Choose from React, Vue, or HTML templates
- AI customizes UI: hero sections, features, footers, colors, etc.
- Outputs a ready-to-run project (
./output/
) - Open source & community-driven
npm install -g promptlang
git clone https://github.com/yourusername/promptlang.git
cd promptlang
npm install
npm link # test globally
PromptLang uses the Google Gemini API.
Get your key here: Google AI Studio
Then set it:
export GEMINI_API_KEY="your_api_key_here"
(Windows PowerShell)
$env:GEMINI_API_KEY="your_api_key_here"
promptlang --ai "create a dark portfolio site with a hero titled 'AI Designer' and 3 project cards"
- Gemini chooses a template (React/Vue/HTML).
- Template is unpacked into
./output/
. - AI applies overrides → finished website.
promptlang --ai "make a SaaS landing page in React with hero 'AI Builder', dark theme, and features section"
Result:
output/package.json
-
output/src/App.jsx
(overridden by AI) -
output/src/components/Hero.jsx
(generated by AI)
Run locally:
node ./src/cli.js --ai "your prompt here"
Test with npm link:
npm link
promptlang --ai "create a portfolio in html"
We’re building a template library! 🚀
You can contribute by:
- Adding new templates (React, Vue, HTML, Next.js, etc.)
- Creating design variations (Tailwind, Bootstrap, Chakra UI)
- Improving AI prompt instructions
👉 Star ⭐ the repo and open a PR with your template or improvements.
MIT License – free to use, modify, and share.
- Google Gemini API
- Open source contributors