{"id":20542872,"url":"https://github.com/jerryshell/tp","last_synced_at":"2025-12-04T13:05:07.898Z","repository":{"id":113051154,"uuid":"597020490","full_name":"jerryshell/tp","owner":"jerryshell","description":"📜 tp is a serverless URL shortener based on Cloudflare Workers.","archived":false,"fork":false,"pushed_at":"2023-04-30T15:47:08.000Z","size":76,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-16T15:27:07.905Z","etag":null,"topics":["cloudflare-workers","serverless","url-shortener","workers-rs"],"latest_commit_sha":null,"homepage":"https://tp.jerryshell.workers.dev","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jerryshell.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}},"created_at":"2023-02-03T12:59:53.000Z","updated_at":"2023-04-30T09:42:04.000Z","dependencies_parsed_at":"2023-06-12T01:15:48.358Z","dependency_job_id":null,"html_url":"https://github.com/jerryshell/tp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Ftp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Ftp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Ftp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Ftp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jerryshell","download_url":"https://codeload.github.com/jerryshell/tp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242149865,"owners_count":20079994,"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":["cloudflare-workers","serverless","url-shortener","workers-rs"],"created_at":"2024-11-16T01:34:46.937Z","updated_at":"2025-12-04T13:05:02.867Z","avatar_url":"https://github.com/jerryshell.png","language":"Rust","readme":"![townportal icon](images/townportal.gif)\n\n*tp* is a serverless URL shortener based on [Cloudflare Workers](https://developers.cloudflare.com/workers).\n\n\u003e \"tp\" stands for \"Town Portal Scroll\" in DotA.\n\nBilibili Video: [https://www.bilibili.com/video/BV1jc411T7Cf](https://www.bilibili.com/video/BV1jc411T7Cf)\n\n## Example\n\n```bash\n# 1. Create link\ncurl -X POST -d '{ \"url\": \"https://google.com\" }' https://tp.jerryshell.workers.dev/create\n# 2. Get response /goto/cXB3HpG\n# 3. Open in browser https://tp.jerryshell.workers.dev/goto/cXB3HpG\n```\n\n## Wrangler cmd\n\n### Login\n\n```bash\nnpx wrangler login\n```\n\n### Create KV namespace\n\n```bash\nwrangler kv:namespace create tp\nwrangler kv:namespace create tp --preview\n```\n\n### Dev\n\n```bash\nnpx wrangler dev\n```\n\n### Publish\n\n```bash\nnpx wrangler publish\n```\n\n## LICENSE\n\n[GNU Affero General Public License v3.0](https://choosealicense.com/licenses/agpl-3.0)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerryshell%2Ftp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjerryshell%2Ftp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerryshell%2Ftp/lists"}