{"id":28589596,"url":"https://github.com/egeuysall/rest","last_synced_at":"2026-05-09T02:11:19.871Z","repository":{"id":295125747,"uuid":"989242289","full_name":"egeuysall/rest","owner":"egeuysall","description":"Post. Expire. Vanish.","archived":false,"fork":false,"pushed_at":"2025-06-02T17:42:55.000Z","size":25796,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-11T08:11:34.395Z","etag":null,"topics":["api","dev","docker","full-stack","json","project","rest"],"latest_commit_sha":null,"homepage":"https://rest.egeuysal.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/egeuysall.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-23T18:27:11.000Z","updated_at":"2025-06-02T17:42:58.000Z","dependencies_parsed_at":"2025-06-11T08:20:39.797Z","dependency_job_id":null,"html_url":"https://github.com/egeuysall/rest","commit_stats":null,"previous_names":["egeuysall/rest"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/egeuysall/rest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egeuysall%2Frest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egeuysall%2Frest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egeuysall%2Frest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egeuysall%2Frest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/egeuysall","download_url":"https://codeload.github.com/egeuysall/rest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egeuysall%2Frest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004702,"owners_count":26083751,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api","dev","docker","full-stack","json","project","rest"],"created_at":"2025-06-11T08:10:22.883Z","updated_at":"2025-10-10T16:42:30.445Z","avatar_url":"https://github.com/egeuysall.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.rest.egeuysal.com/\"\u003e\n    \u003cimg src=\"https://res.cloudinary.com/ddjnqljd8/image/upload/v1748623162/rest-logo.png\" height=\"96\"\u003e\n    \u003ch3 align=\"center\"\u003eRest\u003c/h3\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    Post. Expire. Vanish.\n\u003c/p\u003e\n\n\u003cp align=center\u003e\n    \u003cstrong\u003e\n        \u003ca href=\"./CONTRIBUTING.md\"\u003eContributing\u003c/a\u003e\n    \u003c/strong\u003e\n\u003c/p\u003e\n\n## Rest 🛠️\n\n**Rest** is a minimal CLI tool for sharing JSON data via one-time, public REST endpoints.  \nBuilt for developers who need to quickly expose or test JSON payloads **without setup or authentication**.\n\nPerfect for:\n\n- Sharing payloads with teammates\n- Testing webhooks or API clients\n- Temporary data exposure during development\n\n### 🚀 Installation\n\nInstall `rest` using the following one-liner:\n\n```sh\ncurl -fsSL https://raw.githubusercontent.com/egeuysall/rest/master/install.sh | sh\n```\n\n### ⚙️ Usage\n\n```sh\nrest -d \u003cpath-to-json\u003e [-e \u003cexpires-in-minutes\u003e] [-t \u003cmax-access-count\u003e]\n```\n\n#### Options:\n\n| Flag        | Description                                     | Default |\n| ----------- | ----------------------------------------------- | ------- |\n| `-d` string | **Required.** Path to your JSON file            | —       |\n| `-e` int    | Expiration time in minutes                      | `10`    |\n| `-t` int    | Max number of times the payload can be accessed | `1`     |\n\n#### Example\n\n```sh\nrest -d ./payload.json -e 10 -t 3\n```\n\nThis shares `payload.json` for **10 minutes** and allows **up to 3 accesses**.\n\n### 🧹 Auto-Expiration\n\nPayloads are automatically deleted after:\n\n- The expiration time (`-e`) is reached\n- They have been accessed `-t` times\n\n### 📦 Use Cases\n\n- Share a JSON response with your frontend team\n- Provide sample payloads to test third-party integrations\n- Simulate webhooks with disposable endpoints\n\n### 🧑‍💻 Contributing\n\nContributions are welcome!  \nFeel free to open issues or pull requests on [GitHub](https://github.com/egeuysall/rest).\n\n### 📄 License\n\nLicensed under the [Apache License 2.0](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegeuysall%2Frest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fegeuysall%2Frest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegeuysall%2Frest/lists"}