A simple, static API that returns inspiring quotes from tech leaders and entrepreneurs.
This project provides a collection of 100 quotes from famous tech industry figures including Elon Musk, Steve Jobs, Mark Zuckerberg, Reid Hoffman, and many more. The API is designed to be completely static and can be hosted on GitHub Pages or any static hosting service.
-
GET /api/quotes/{id}
- Returns a specific quote by ID (1-100)Example:
/api/quotes/42
returns quote #42
{
"id": 3,
"author": "Linus Torvalds",
"quote": "Talk is cheap. Show me the code."
}
- ✅ 100% static - no server-side processing required
- ✅ CORS enabled - can be used from any website
- ✅ Simple JSON responses
- ✅ Curated collection of authentic quotes from tech leaders
- ✅ Free to use under MIT license
-
Clone the repository
git clone https://github.com/b13o/tech-quotes-api.git cd tech-quotes-api
-
Install dependencies
npm install
-
Start the development server
npm run dev
-
Build for production
npm run build
-
Deploy to GitHub Pages
npm run deploy
Contributions are welcome! If you'd like to add more quotes or improve the API, please:
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-quote
) - Commit your changes (
git commit -m 'Add some amazing quotes'
) - Push to the branch (
git push origin feature/amazing-quote
) - Open a Pull Request
- Add category filtering
- Add author filtering
- Implement pagination for bulk retrieval
- Add more quotes
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to all the tech visionaries whose quotes inspire us daily
- Built with Next.js and TypeScript