{"id":15713752,"url":"https://github.com/arschles/cprox","last_synced_at":"2025-07-30T05:35:48.148Z","repository":{"id":136815312,"uuid":"252577514","full_name":"arschles/cprox","owner":"arschles","description":"A basic HTTP proxy \u0026 url shortener written in Crystal","archived":false,"fork":false,"pushed_at":"2020-05-01T19:34:02.000Z","size":18,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-12T22:55:23.292Z","etag":null,"topics":["crystal","crystal-lang","crystal-language"],"latest_commit_sha":null,"homepage":null,"language":"Crystal","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/arschles.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":"2020-04-02T22:23:16.000Z","updated_at":"2022-10-12T23:34:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"839b0ee4-9153-46e1-b1ce-02b60bf2fd74","html_url":"https://github.com/arschles/cprox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arschles/cprox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arschles%2Fcprox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arschles%2Fcprox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arschles%2Fcprox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arschles%2Fcprox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arschles","download_url":"https://codeload.github.com/arschles/cprox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arschles%2Fcprox/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267815205,"owners_count":24148361,"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-07-30T02:00:09.044Z","response_time":70,"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":["crystal","crystal-lang","crystal-language"],"created_at":"2024-10-03T21:33:12.141Z","updated_at":"2025-07-30T05:35:48.115Z","avatar_url":"https://github.com/arschles.png","language":"Crystal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cprox\n\nA basic HTTP proxy and url shortener written in [Crystal](https://crystal-lang.org).\n\n## Proxy API\n\n### `GET /forward/:code`\n\nForwards to the URL that was registered with `:code`\n\n### `POST /code/:code`\n\nRegister the URL `:url` with a given code. The code should be specified in the `POST` body with JSON:\n\n```json\n{\n    \"url\": \"some URL here\"\n}\n```\n\n### `DELETE /code/:code`\n\nDelete the given `:code` from the registry.\n\n## Installation and development\n\nAll you need is the Crystal toolchain to build and run this project. Go [here](https://crystal-lang.org/install/) to learn how to install the toolchain.\n\nWhen you have it installed, pull down the dependencies:\n\n```console\n$ shards install\n```\n\nWhen that's done, run the app:\n\n```console\n$ crystal run\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farschles%2Fcprox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farschles%2Fcprox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farschles%2Fcprox/lists"}