{"id":15723314,"url":"https://github.com/exprays/rocket","last_synced_at":"2026-04-29T22:35:15.132Z","repository":{"id":242540057,"uuid":"809829614","full_name":"exprays/rocket","owner":"exprays","description":"A lightning-fast search API built using Hono","archived":false,"fork":false,"pushed_at":"2024-06-06T13:26:03.000Z","size":231,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-20T15:58:11.969Z","etag":null,"topics":["cloudflare-workers","honojs","nextjs","redis","sorted-sets"],"latest_commit_sha":null,"homepage":"https://rocket-snowy.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/exprays.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-06-03T14:25:59.000Z","updated_at":"2024-08-04T06:32:12.000Z","dependencies_parsed_at":"2024-06-03T17:13:02.551Z","dependency_job_id":"5f7c081c-6d1d-4227-bc06-91ff9bf11a2a","html_url":"https://github.com/exprays/rocket","commit_stats":null,"previous_names":["rayxlab/rocket"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/exprays/rocket","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exprays%2Frocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exprays%2Frocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exprays%2Frocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exprays%2Frocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exprays","download_url":"https://codeload.github.com/exprays/rocket/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exprays%2Frocket/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32447046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"ssl_error","status_checked_at":"2026-04-29T22:10:49.234Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cloudflare-workers","honojs","nextjs","redis","sorted-sets"],"created_at":"2024-10-03T22:11:09.030Z","updated_at":"2026-04-29T22:35:15.118Z","avatar_url":"https://github.com/exprays.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Rocket 🚀\n\nA Typesafe, lightning-fast, high-performance API built using Hono and cloudflare workers which searches countries in milliseconds.\n\nIt uses distriuted databases and cloudflare workers to provide superfast query messages throughout the world with the help of upstash. You can also switch database options between Redis \u0026 Serverless PostgreSQL.\n\n\n\n\n## API Reference\n\n#### Get all items\n\n```bash\n  GET /api/search\n```\n\n| Parameter | Type     | Description                |\n| :-------- | :------- | :------------------------- |\n| `query` | `string[]` | **Required**. Country name to search |\n| `source` | `redis` or `postgres` | Database to use |\n\n\n\n\n## Environment Variables\n\nTo run this project, you will need to add the following environment variables to your .env file\n\n`UPSTASH_REDIS_URL` - Your upstash redis database url\n\n`UPSTASH_REDIS_TOKEN` - Your upstash redis token\n\n`NEON_POSTGRES_URL` - Your postgreSQL database url string ( For this I used NeonDB )\n\n\n## Run Locally\n\nClone the project\n\n```bash\n  git clone https://github.com/rayxlab/rocket.git\n```\n\nGo to the project directory\n\n```bash\n  cd rocket\n```\n\nInstall dependencies\n\n```bash\n  npm install or pnpm install\n```\n\nStart the server\n\n```bash\n  npm run dev or pnpm dev\n```\n\n\n## Deployment\n\nTo deploy this project run\n\n```bash\n  npm run deploy\n```\n\n**Note**: To deploy this project to cloudflare workers you have to add this wrangler.toml file to your root directory before deploying.\n\n```toml\nname = \"rocket\"\ncompatibility_date = \"2024-04-02\"\n\n[vars]\nUPSTASH_REDIS_URL=\"Your_redis_url\"\nUPSTASH_REDIS_TOKEN=\"Your_redis_token\"\nNEON_POSTGRES_URL=\"Your postgreSQL url\"\n```\n\n## Features\n\n- Fast searches\n- Shows duration of searches\n- Uses full-text RediSearch©️ algorithm\n- Uses superfast serverless postgreSQL search\n- Database switching\n\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n\n\n\n\n# 💻 Tech Used:\n![Redis](https://img.shields.io/badge/redis-%23DD0031.svg?style=for-the-badge\u0026logo=redis\u0026logoColor=white) ![Cloudflare](https://img.shields.io/badge/Cloudflare-F38020?style=for-the-badge\u0026logo=Cloudflare\u0026logoColor=white) ![Next JS](https://img.shields.io/badge/Next-black?style=for-the-badge\u0026logo=next.js\u0026logoColor=white) ![Hono](https://img.shields.io/badge/hono-F95F1B.svg?style=for-the-badge\u0026logo=hono\u0026logoColor=white) ![Upstash](https://img.shields.io/badge/upstash-1AEEC7.svg?style=for-the-badge\u0026logo=upstash\u0026logoColor=white) ![Postgresql](https://img.shields.io/badge/postgresql-2F80D7.svg?style=for-the-badge\u0026logo=postgresql\u0026logoColor=white)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexprays%2Frocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexprays%2Frocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexprays%2Frocket/lists"}