Webly.io is a revolutionary full-stack web application that combines artificial intelligence with a modern tech stack - powered by Convex on the backend and Next.js on the frontend. It transforms the development workflow by generating production-ready code from natural language descriptions.
- AI-Powered Code Generation – Transform ideas into clean, optimized code with our advanced AI models
- Next.js Frontend – Fast, responsive, and SEO-friendly React-based frontend with SSR capabilities
- Convex Backend – Scalable, reactive, and real-time database-driven backend with automatic syncing
- Token-Based Pricing – Flexible pay-as-you-go model that scales with your development needs
- One-Click Deployment – Seamlessly publish projects without complex configuration
- Real-time Collaboration – Multi-user editing with intelligent conflict resolution
- Rich Template Library – Pre-built, customizable designs for various application types
Follow these steps to set up and run Webly.io locally:
git clone https://github.com/melo-maniac-29/webly.io.git
cd webly.io
Ensure you have Node.js and Convex CLI installed. Then run:
npm install
-
Create a
.env.local
file in the root directory:touch .env.local # or manually create the file in your editor
-
Add the required environment variables to your
.env.local
file using the template below:# Authentication NEXT_PUBLIC_GOOGLE_AUTH_CLIENT_ID_KEY=your_google_client_id # Convex backend CONVEX_DEPLOYMENT=your_convex_deployment_name NEXT_PUBLIC_CONVEX_URL=your_convex_url # API Keys NEXT_PUBLIC_GEMINI_API_KEY=your_gemini_api_key # Payment processor NEXT_PUBLIC_PAYPAL_CLIENT_ID=your_paypal_client_id NEXT_PAYPAL_SECRET=your_paypal_secret
-
IMPORTANT:
- Never commit your
.env.local
file to the repository - Obtain your own API keys from the respective services
- Variables prefixed with
NEXT_PUBLIC_
will be exposed to the browser
- Never commit your
-
Install Convex CLI globally (if not installed):
npm install -g convex
-
Login to Convex and create a new project:
npx convex dev
-
Follow the CLI instructions to initialize your Convex backend.
npm run dev
Now open your browser and go to:
http://localhost:3000
webly.io/
│── convex/ # Convex backend functions
│── pages/ # Next.js pages
│── components/ # Reusable React components
│── styles/ # Global and component-specific styles
│── public/ # Static assets
│── package.json # Project dependencies and scripts
└── README.md # Project documentation
To deploy the Convex backend to production:
npx convex deploy
You can deploy the frontend using Vercel, Netlify, or any Next.js-compatible platform:
vercel
Or manually build and start the production server:
npm run build
npm start
To ensure the security of your application:
- Never commit API keys or secrets to your repository
- Keep all sensitive information in
.env.local
which is excluded from git - Rotate API keys regularly, especially after accidental exposure
- For production, use a secure secret management solution
- Prefix variables with
NEXT_PUBLIC_
only when they need to be exposed to the browser - Monitor GitHub security alerts for any potential secret exposures
Contributions are welcome! To contribute:
- Fork the repository.
- Create a feature branch (
git checkout -b feature-name
). - Commit your changes (
git commit -m "Add feature"
). - Push to the branch (
git push origin feature-name
). - Open a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for more details.
Webly.io is built using Next.js and Convex to provide a modern, scalable web experience. Special thanks to the contributors of these technologies.
⭐ If you find this project helpful, consider giving it a star! ⭐