{"id":50657856,"url":"https://github.com/integer32llc/margo","last_synced_at":"2026-06-24T21:00:47.454Z","repository":{"id":235831683,"uuid":"789151059","full_name":"integer32llc/margo","owner":"integer32llc","description":"An alternate Cargo registry using static files","archived":false,"fork":false,"pushed_at":"2026-03-25T18:17:41.000Z","size":740,"stargazers_count":143,"open_issues_count":2,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-06-16T21:30:13.397Z","etag":null,"topics":["cargo","registry","rust"],"latest_commit_sha":null,"homepage":"https://integer32llc.github.io/margo/","language":"Rust","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/integer32llc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-04-19T19:59:12.000Z","updated_at":"2026-06-02T10:56:18.000Z","dependencies_parsed_at":"2024-05-20T22:04:54.978Z","dependency_job_id":null,"html_url":"https://github.com/integer32llc/margo","commit_stats":null,"previous_names":["integer32llc/margo"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/integer32llc/margo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/integer32llc%2Fmargo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/integer32llc%2Fmargo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/integer32llc%2Fmargo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/integer32llc%2Fmargo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/integer32llc","download_url":"https://codeload.github.com/integer32llc/margo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/integer32llc%2Fmargo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34749211,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"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":["cargo","registry","rust"],"created_at":"2026-06-08T01:00:25.691Z","updated_at":"2026-06-24T21:00:47.426Z","avatar_url":"https://github.com/integer32llc.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# Margo\n\nMargo is an alternate [Cargo registry][registry] that is built using\ncompletely static files, allowing it to be easily served.\n\n[registry]: https://doc.rust-lang.org/cargo/reference/registries.html\n\n## Quickstart\n\nTo use Margo in GitHub Actions, such as hosting your registry on\nGitHub Pages, check out our [action][].\n\n[action]: https://github.com/integer32llc/margo-actions\n\n### Install Margo\n\n```bash\ncargo install margo --index sparse+https://integer32llc.github.io/margo/\n```\n\n### Initialize the registry\n\nThis will create a new registry in the directory\n`my-registry-directory` that you plan to serve from\n`https://my-registry.example.com`.\n\n```bash\nmargo init my-registry-directory --base-url https://my-registry.example.com\n```\n\n### Add a crate to the registry\n\nTo add a new crate or version to the registry, run `margo add` and specify\nthe path to the directory you gave to `margo init` and the `.crate` file\nto publish.\n\n```bash\n# Acquire a crate package, such as by running `cargo package`\nmargo add --registry my-registry-directory some-crate/target/package/some-crate-1.2.3.crate\n```\n\n### Serve the registry files with your choice of webserver\n\nFor example, using Python and serving the registry in the directory\nat `127.0.0.1`:\n\n```bash\npython3 -m http.server --bind '127.0.0.1' --dir 'my-registry-directory'\n```\n\nYou should be able to visit `127.0.0.1/config.json` in your browser.\nYour next step is to serve those files from\n`https://my-registry.example.com` instead, in whatever way you\nserve static files from whatever URL you've specified.\n\n### Configure Cargo\n\n```bash\n# In your Rust project that wants to use `some-crate`\nmkdir .cargo\ncat \u003e\u003e.cargo/config.toml \u003c\u003cEOF\n[registries]\nmy-registry = { index = \"sparse+https://my-registry.example.com\" }\nEOF\n```\n\n### Add your crate\n\n```bash\ncargo add --registry my-registry some-crate\n```\n\n## Other Margo commands\n\nYou can omit the `--registry` argument by running the command in the\nregistry directory directly.\n\n### List the crates in the registry\n\n```bash\nmargo list --registry my-registry\n```\n\n### Remove a crate\n\n```bash\nmargo rm --registry my-registry some-crate --version x.y.z\n```\n\n## Key differences from Crates.io\n\n- 💅 Does not impose file size limits\n- 💅 Can depend on crates from registries other than crates.io\n- 💅 Dependencies are not required to exist\n- 💅 Development dependency info is not stored in the index\n- 💅 Does not require JavaScript\n- 💅 Simpler so it's easier to customize for your use case\n- 💅 Access managed via however you currently manage read or write access to static files\n\n## Contributing\n\nSee [CONTRIBUTING.md](./CONTRIBUTING.md).\n\n## Development\n\nSee [DEVELOPMENT.md](./DEVELOPMENT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finteger32llc%2Fmargo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finteger32llc%2Fmargo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finteger32llc%2Fmargo/lists"}