{"id":43610455,"url":"https://github.com/bymehul/odpkg","last_synced_at":"2026-03-04T10:05:08.648Z","repository":{"id":336263534,"uuid":"1148953987","full_name":"bymehul/odpkg","owner":"bymehul","description":"An unofficial open-source package manager for Odin.","archived":false,"fork":false,"pushed_at":"2026-02-06T20:56:25.000Z","size":296,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-08T19:57:09.325Z","etag":null,"topics":["cli-tool","dependency-management","github","odin","odin-lang","package-manager","vendoring"],"latest_commit_sha":null,"homepage":"https://bymehul.github.io/odpkg/","language":"Odin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bymehul.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-03T15:00:28.000Z","updated_at":"2026-02-06T21:22:31.000Z","dependencies_parsed_at":"2026-02-08T15:00:28.206Z","dependency_job_id":null,"html_url":"https://github.com/bymehul/odpkg","commit_stats":null,"previous_names":["bymehul/odpkg"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/bymehul/odpkg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bymehul%2Fodpkg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bymehul%2Fodpkg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bymehul%2Fodpkg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bymehul%2Fodpkg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bymehul","download_url":"https://codeload.github.com/bymehul/odpkg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bymehul%2Fodpkg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29271848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T13:47:44.167Z","status":"ssl_error","status_checked_at":"2026-02-09T13:47:43.721Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli-tool","dependency-management","github","odin","odin-lang","package-manager","vendoring"],"created_at":"2026-02-04T11:51:32.938Z","updated_at":"2026-03-04T10:05:08.599Z","avatar_url":"https://github.com/bymehul.png","language":"Odin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# odpkg\n\nAn **unofficial** open-source package manager for Odin. It is vendor-first and keeps installs local to `vendor/`.\n\nCurrent versions:\n- odpkg: `v0.6.1`\n- Odin used for build/tests: `dev-2026-01:f7901cffc`\n\nPrinciples:\n- GitHub-only (v0.1)\n- Vendoring-first\n- Records `odin_version` on `odpkg init` and warns on mismatch during `add/install/update`\n\n## Patch Notes (v0.6.1)\n\n- Fixed a startup crash in some Linux environments (segmentation fault on `--help` / normal launch) caused by incorrect temporary string cleanup in update-check formatting.\n- `odpkg init` now records the Odin compiler version in `odpkg.toml` as `odin_version`.\n- `odpkg add`, `odpkg install`, and `odpkg update` now show a soft warning if your current Odin version differs from the project's `odin_version`.\n- `odpkg install` now also shows a soft warning when an installed package's own `odpkg.toml` declares a different `odin_version`.\n- odpkg now checks for newer releases on startup and shows a soft \"update available\" notice when a newer version exists.\n\n## Quick Start\n\n```bash\nodpkg init\nodpkg add github.com/owner/repo@v1.0.0\nodpkg install\n```\n\n## Requirements\n\n- `git` in PATH\n- `libcurl` installed (and TLS deps like `mbedtls`) for registry list/search and `odpkg add --registry`\n\n## Security Notes\n\n- Dependency names are validated and must be simple (no path separators).\n- Installs are restricted to the configured `vendor_dir`.\n- Lockfile commits are validated and verified after checkout.\n- HTTPS registry fetch uses libcurl with certificate verification enabled.\n\n## Install (Build From Source)\n\n```bash\ngit clone https://github.com/bymehul/odpkg\ncd odpkg\nodin build src -out:odpkg\n./odpkg --help\n```\n\n## Install (Prebuilt Binary)\n\nLinux/macOS:\n\n```bash\nVERSION=v0.6.1\nASSET=odpkg-ubuntu-latest\ncurl -L -o odpkg \"https://github.com/bymehul/odpkg/releases/download/${VERSION}/${ASSET}\"\nchmod +x odpkg\n./odpkg --help\n```\n\nWindows (PowerShell):\n\n```powershell\n$version = \"v0.6.1\"\n$asset = \"odpkg-windows-latest.exe\"\nInvoke-WebRequest -Uri \"https://github.com/bymehul/odpkg/releases/download/$version/$asset\" -OutFile \"odpkg.exe\"\n.\\odpkg.exe --help\n```\n\n## Add To PATH\n\nLinux/macOS (current session):\n\n```bash\nexport PATH=\"$PWD:$PATH\"\n```\n\nLinux/macOS (permanent):\n\n```bash\nmkdir -p \"$HOME/.local/bin\"\nmv odpkg \"$HOME/.local/bin/odpkg\"\necho 'export PATH=\"$HOME/.local/bin:$PATH\"' \u003e\u003e ~/.bashrc\n```\n\nWindows (PowerShell, current session):\n\n```powershell\n$env:Path = \"$PWD;\" + $env:Path\n```\n\nWindows (permanent, PowerShell):\n\n```powershell\n[Environment]::SetEnvironmentVariable(\"Path\", \"$env:Path;$PWD\", \"User\")\n```\n\n## Commands\n\n```bash\nodpkg init [name]\nodpkg add \u003crepo[@ref]\u003e [alias]\nodpkg add --registry \u003cslug\u003e [alias]\nodpkg remove \u003calias\u003e\nodpkg install\nodpkg update\nodpkg list [--registry | --deps] [--refresh]\nodpkg search \u003cquery\u003e [--refresh]\nodpkg version\n```\n\n## Registry\n\n`odpkg list --registry` fetches the public registry and caches it.\n`odpkg search \u003cquery\u003e` filters registry packages by name or description.\n\n## Docs\n\nOnline docs: [docs](https://bymehul.github.io/odpkg/)  \nSource docs: [docs.md](docs.md)\n\n\n## License\n\nLicensed under the zlib License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbymehul%2Fodpkg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbymehul%2Fodpkg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbymehul%2Fodpkg/lists"}