{"id":21643896,"url":"https://github.com/application-research/random-cid","last_synced_at":"2026-04-14T01:31:13.402Z","repository":{"id":104227162,"uuid":"500477986","full_name":"application-research/random-cid","owner":"application-research","description":"Generate a random CID","archived":false,"fork":false,"pushed_at":"2022-06-13T20:34:09.000Z","size":86,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-01-25T04:11:09.180Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://random-cid-api.onrender.com","language":"Go","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/application-research.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":"2022-06-06T14:58:16.000Z","updated_at":"2023-10-19T20:23:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"a3ce11bb-9e1c-4b22-94eb-3053cd991319","html_url":"https://github.com/application-research/random-cid","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/application-research%2Frandom-cid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/application-research%2Frandom-cid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/application-research%2Frandom-cid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/application-research%2Frandom-cid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/application-research","download_url":"https://codeload.github.com/application-research/random-cid/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244394463,"owners_count":20445634,"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":[],"created_at":"2024-11-25T05:36:45.201Z","updated_at":"2026-04-14T01:31:13.324Z","avatar_url":"https://github.com/application-research.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# random-cid\n\nGenerate a random CID\n\n## Building\n```bash\ngit clone https://github.com/application-research/random-cid.git\ncd random-cid\ngo build .\n```\n\n### Usage\nYou can use the CLI directly\n```bash\n# random v1 CID\n$ ./random-cid\nbafkreigd6pc65n4mcfabl3ucv2waoxwizxqizrd32r6cmqjx5zsul4jv3i\n\n# random v0 CID\n$ ./random-cid -c 0\nQmaA14Co9Q9AuNHcs6KH2ZmJ8sCTwW6ZN7TJfxNcXnrUAX\n```\n\nOr you can start an API to retrieve CIDs over HTTP\n```bash\n./random-cid api\n```\n\nThe API endpoints are:\n- `GET /`: returns a random CID v1\n- `GET /v0`: returns a random CID v0\n- `GET /v1`: returns a random CID v1\n- `GET /peer`: returns the libp2p peer address for the random-cid ipfs node\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplication-research%2Frandom-cid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapplication-research%2Frandom-cid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplication-research%2Frandom-cid/lists"}