A feature-rich, single-file web application for generating high-quality image captions using a simulated Vision Model API. Designed for performance, aesthetics, and robust SEO.
This project combines a practical AI-powered tool with a modern user interface and a comprehensive, built-in SEO strategy, all within a single, dependency-free HTML file.
- Live Demo
- Project Philosophy
- ✨ Key Features
- 🛠️ Tech Stack & Architecture
- 🚀 Getting Started
- 📁 File Structure
- 🤝 Contributing
- 📜 License
- ✍️ Author
A live version of the application is available at: doodax.com
The goal of this project is to demonstrate that a powerful, aesthetically pleasing, and SEO-friendly web application can exist as a single, self-contained file. This approach prioritizes:
- Simplicity: No build tools, no frameworks, no complex setup. Just one HTML file.
- Performance: Zero dependencies and pure JavaScript ensure the fastest possible load and execution times.
- Utility: Provide a genuinely useful tool for content creators, marketers, and developers.
- Design Excellence: Prove that a simple architecture doesn't have to compromise on a modern, responsive, and engaging user experience.
- 🌌 Cosmic Dark UI: A stunning, animated cosmic-themed interface built with Tailwind CSS that is both beautiful and easy on the eyes.
- Intuitive Image Upload: Seamlessly upload images via a file picker or a drag-and-drop zone.
- Instant Image Preview: Visual confirmation of the uploaded image before processing.
- Advanced AI Controls:
- Tone Selection: Tailor captions with tones like
Fun 🎉,Accurate (Alt Text),Serious 🧐, andInspirational 💡. - Multi-Language Support: Generate captions in several major languages to reach a global audience.
- Contextual Prompts: Guide the AI with additional information for more precise and relevant results.
- Tone Selection: Tailor captions with tones like
- Privacy-First Architecture: All image processing is done client-side. Images are never stored on a server, ensuring user privacy.
- Fully Responsive: Delivers a seamless experience on desktops, tablets, and mobile devices.
- Comprehensive SEO Metadata: Meticulously crafted meta tags and Open Graph data for optimal social sharing and search engine indexing.
- Rich JSON-LD Schema: Includes
WebSite,WebApplication,Article, andFAQPageschemas to provide search engines with rich, structured data. - 3500+ Word SEO Article: A massive, built-in article on AI Image Captioning that is initially collapsed to keep the UI clean. This content helps the page rank for relevant keywords.
- Accessible Modals: Clean, accessible pop-up modals for crucial information like Privacy Policy, Terms of Service, and more.
This project is intentionally built with a minimalist and robust tech stack to ensure portability and performance.
- Frontend:
HTML5,CSS3,Pure JavaScript (ES6+)- Why Pure JS? To eliminate the need for frameworks, build steps, or dependencies, making the application incredibly lightweight and universally compatible.
- Styling:
Tailwind CSS(via CDN)- Why Tailwind via CDN? It allows for rapid, utility-first styling without requiring a local development environment or compilation, perfectly aligning with the single-file philosophy.
- AI Simulation:
- The backend is simulated using a JavaScript
asyncfunction with asetTimeoutto mimic network latency. This demonstrates the full front-end logic for handling API requests, loading states, and responses without needing a live API key or backend server.
- The backend is simulated using a JavaScript
Getting this application running is as simple as it gets.
- Clone the repository or download the files.
- Open
index.html: Locate theindex.htmlfile and open it in any modern web browser (e.g., Chrome, Firefox, Safari, Edge).
That's it! The application is now running locally.
The project maintains a clean and simple structure:
.
├── index.html # The single, self-contained application file
├── README.md # This file
├── robots.txt # Instructions for web crawlers
├── sitemap.xml # Sitemap for SEO
└── favicon.svg # SVG icon for the browser tab
Contributions are welcome! If you have ideas for new features, bug fixes, or improvements, please feel free to:
- Fork the repository.
- Create a new branch (
git checkout -b feature/YourAmazingFeature). - Commit your changes (
git commit -m 'Add some AmazingFeature'). - Push to the branch (
git push origin feature/YourAmazingFeature). - Open a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.
This project was conceived, designed, and developed by HSINI MOHAMED.
- GitHub: @hsinidev
- Website: doodax.com
- Email: hsini.web@gmail.com