{"id":23529402,"url":"https://github.com/simplr-sh/sw-api","last_synced_at":"2025-05-14T12:21:39.694Z","repository":{"id":269442191,"uuid":"907389810","full_name":"simplr-sh/sw-api","owner":"simplr-sh","description":"Simplr SWAPI - Fastest, most reliable \u0026 forever free Star Wars API service","archived":false,"fork":false,"pushed_at":"2024-12-24T17:17:44.000Z","size":1063,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-14T12:21:18.628Z","etag":null,"topics":["cdn-distribution","cloudflare","cloudflare-workers","hono","json-api","json-placeholder-api","placeholder-api","placeholder-text","star-wars","star-wars-api","swapi"],"latest_commit_sha":null,"homepage":"https://sw.simplr.sh","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simplr-sh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-23T13:23:05.000Z","updated_at":"2025-01-04T14:40:04.000Z","dependencies_parsed_at":"2024-12-23T16:21:40.720Z","dependency_job_id":"21ec51e4-cac0-453e-9e70-091759f18629","html_url":"https://github.com/simplr-sh/sw-api","commit_stats":null,"previous_names":["simplr-sh/sw-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplr-sh%2Fsw-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplr-sh%2Fsw-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplr-sh%2Fsw-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplr-sh%2Fsw-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simplr-sh","download_url":"https://codeload.github.com/simplr-sh/sw-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254140826,"owners_count":22021230,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cdn-distribution","cloudflare","cloudflare-workers","hono","json-api","json-placeholder-api","placeholder-api","placeholder-text","star-wars","star-wars-api","swapi"],"created_at":"2024-12-25T21:10:20.488Z","updated_at":"2025-05-14T12:21:39.626Z","avatar_url":"https://github.com/simplr-sh.png","language":"TypeScript","readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg style=\"vertical-align: middle;\" width=\"128\" height=\"128\" src=\"./readme-assets/sw-logo.png\"\u003e\n    \u003ch1 align=\"center\"\u003e\n      \u003ca href=\"https://github.com/simplr-sh/sw-api\"\u003e\n        Simplr SWAPI\n      \u003c/a\u003e\n    \u003c/span\u003e\n\u003c/div\u003e\n\n### The fastest, most reliable, and forever free Star Wars API service.\n\n\u003cimg style=\"vertical-align: middle;\" src=\"./readme-assets/swapi-banner.png\" \u003e\n\n![Swapi Github Social Preview](./readme-assets/simplr-swapi-github-social-preview.jpg)\n\n## Features\n\n- 🚀 Lightning fast responses\n- 💪 High reliability and uptime\n- 🆓 Forever free to use\n- 📦 Complete Star Wars data\n- 🔒 No authentication required\n- 📄 Well-documented endpoints\n\n## Technology\n\nThis API is powered by Cloudflare Workers, providing:\n- 🌍 Global CDN with edge computing\n- ⚡ Ultra-low latency responses\n- 🔄 Automatic failover and high availability\n- 🛡️ Enterprise-grade DDoS protection\n- 🌐 Data centers in 200+ cities worldwide\n\n\n## Project Structure\n```\n├── public/ # Static JSON data files\n│ └── api/ # API endpoints data\n│     ├── films/\n│     ├── people/\n│     ├── planets/\n│     ├── species/\n│     ├── starships/\n│     ├── vehicles/\n│\n└── root.json\n├── src/\n│   └── index.ts # Main entry point\n├── wrangler.toml\n└── package.json\n```\n\n## Data Categories\n\n- People\n- Films\n- Species\n- Planets\n- Vehicles\n- Starships\n\n## Getting Started\n\n### Installation\n\n```bash\nnpm install\nnpm run dev\n```\n\n### Deployment\n\n```bash\nnpm run deploy\n```\n\n## API Usage\n\n### Base URL\n```\nhttps://sw.simplr.sh\n```\n\n### Root Endpoint\n```\nGET /api/root.json\n```\n\n### Endpoints\n\n#### People\n```\n# Get all people\nGET /api/people/all.json\n# Example: https://sw.simplr.sh/api/people/all.json\n\n# Get specific person\nGET /api/people/{id}.json\n# Example: https://sw.simplr.sh/api/people/1.json\n```\n\n#### Films\n```\n# Get all films\nGET /api/films/all.json\n# Example: https://sw.simplr.sh/api/films/all.json\n\n# Get specific film\nGET /api/films/{id}.json\n# Example: https://sw.simplr.sh/api/films/1.json\n```\n\n#### Planets\n```\n# Get all planets\nGET /api/planets/all.json\n# Example: https://sw.simplr.sh/api/planets/all.json\n\n# Get specific planet\nGET /api/planets/{id}.json\n# Example: https://sw.simplr.sh/api/planets/1.json\n```\n\n#### Species\n```\n# Get all species\nGET /api/species/all.json\n# Example: https://sw.simplr.sh/api/species/all.json\n\n# Get specific species\nGET /api/species/{id}.json\n# Example: https://sw.simplr.sh/api/species/1.json\n```\n\n#### Starships\n```\n# Get all starships\nGET /api/starships/all.json\n# Example: https://sw.simplr.sh/api/starships/all.json\n\n# Get specific starship\nGET /api/starships/{id}.json\n# Example: https://sw.simplr.sh/api/starships/3.json\n```\n\n#### Vehicles\n```\n# Get all vehicles\nGET /api/vehicles/all.json\n# Example: https://sw.simplr.sh/api/vehicles/all.json\n\n# Get specific vehicle\nGET /api/vehicles/{id}.json\n# Example: https://sw.simplr.sh/api/vehicles/4.json\n```\n\n\n## Technology Stack\n\n- Cloudflare Workers\n- Hono.js framework\n- TypeScript\n- JSON static assets\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## License\n\nMIT License - feel free to use this project for any purpose.\n\n## Acknowledgments\n\n- Data based on the Star Wars universe\n- Powered by Cloudflare Workers\n- Built with Hono.js\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplr-sh%2Fsw-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplr-sh%2Fsw-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplr-sh%2Fsw-api/lists"}