- π Lightning fast responses
- πͺ High reliability and uptime
- π Forever free to use
- π¦ Complete Star Wars data
- π No authentication required
- π Well-documented endpoints
This API is powered by Cloudflare Workers, providing:
- π Global CDN with edge computing
- β‘ Ultra-low latency responses
- π Automatic failover and high availability
- π‘οΈ Enterprise-grade DDoS protection
- π Data centers in 200+ cities worldwide
βββ public/ # Static JSON data files β βββ api/ # API endpoints data β βββ films/ β βββ people/ β βββ planets/ β βββ species/ β βββ starships/ β βββ vehicles/ β βββ root.json βββ src/ β βββ index.ts # Main entry point βββ wrangler.toml βββ package.json
- People
- Films
- Species
- Planets
- Vehicles
- Starships
npm install npm run dev
npm run deploy
https://sw.simplr.sh
GET /api/root.json
# Get all people GET /api/people/all.json # Example: https://sw.simplr.sh/api/people/all.json # Get specific person GET /api/people/{id}.json # Example: https://sw.simplr.sh/api/people/1.json
# Get all films GET /api/films/all.json # Example: https://sw.simplr.sh/api/films/all.json # Get specific film GET /api/films/{id}.json # Example: https://sw.simplr.sh/api/films/1.json
# Get all planets GET /api/planets/all.json # Example: https://sw.simplr.sh/api/planets/all.json # Get specific planet GET /api/planets/{id}.json # Example: https://sw.simplr.sh/api/planets/1.json
# Get all species GET /api/species/all.json # Example: https://sw.simplr.sh/api/species/all.json # Get specific species GET /api/species/{id}.json # Example: https://sw.simplr.sh/api/species/1.json
# Get all starships GET /api/starships/all.json # Example: https://sw.simplr.sh/api/starships/all.json # Get specific starship GET /api/starships/{id}.json # Example: https://sw.simplr.sh/api/starships/3.json
# Get all vehicles GET /api/vehicles/all.json # Example: https://sw.simplr.sh/api/vehicles/all.json # Get specific vehicle GET /api/vehicles/{id}.json # Example: https://sw.simplr.sh/api/vehicles/4.json
- Cloudflare Workers
- Hono.js framework
- TypeScript
- JSON static assets
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
MIT License - feel free to use this project for any purpose.
- Data based on the Star Wars universe
- Powered by Cloudflare Workers
- Built with Hono.js