{"id":47766558,"url":"https://github.com/asasine/local-apt","last_synced_at":"2026-04-03T07:16:27.166Z","repository":{"id":342759785,"uuid":"1161960123","full_name":"asasine/local-apt","owner":"asasine","description":"Create a local, file-based APT repository from HTTP .deb downloads","archived":false,"fork":false,"pushed_at":"2026-03-07T07:34:01.000Z","size":149,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-07T14:55:07.147Z","etag":null,"topics":["apt","debian-package"],"latest_commit_sha":null,"homepage":"","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/asasine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","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-19T18:02:51.000Z","updated_at":"2026-03-07T07:34:05.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/asasine/local-apt","commit_stats":null,"previous_names":["asasine/local-apt"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/asasine/local-apt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asasine%2Flocal-apt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asasine%2Flocal-apt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asasine%2Flocal-apt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asasine%2Flocal-apt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asasine","download_url":"https://codeload.github.com/asasine/local-apt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asasine%2Flocal-apt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31342108,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T06:57:30.245Z","status":"ssl_error","status_checked_at":"2026-04-03T06:57:29.849Z","response_time":107,"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":["apt","debian-package"],"created_at":"2026-04-03T07:16:23.597Z","updated_at":"2026-04-03T07:16:27.160Z","avatar_url":"https://github.com/asasine.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Local APT\n\nYour favorite program only offers an HTTP download but you want APT? No problem! Create your own local APT repository from download URLs and use `apt-get` and `unattended-upgrade` to your heart's desire.\n\n## Installation\n\n```bash\nsudo ./install.bash\n```\n\n## Configuration\n\nAfter installation, configure your package sources in `/etc/local-apt/packages.toml`:\n\n```toml\n# Each [[package]] entry defines a package source\n\n# Direct URL\n[[package]]\ntype = \"url\"\nurl = \"https://discord.com/api/download?platform=linux\u0026format=deb\"\n\n# GitHub Release\n[[package]]\ntype = \"github-release\"\nrepo = \"BurntSushi/ripgrep\"\nasset_pattern = \"ripgrep_.+_amd64\\\\.deb$\"\n```\n\nEach `[[package]]` entry defines a package to download. The **type** field selects the source:\n\n- `\"url\"` — Direct download URL to a `.deb` file\n  - **url**: The download URL\n- `\"github-release\"` — `.deb` asset from the latest GitHub Release\n  - **repo**: GitHub repository in `owner/repo` format\n  - **asset_pattern**: Regex matched against asset filenames\n- To disable a package, comment out its entry with `#`\n\n## Usage\n\nDownload configured packages and update the repository:\n\n```bash\nsudo local-apt update\n```\n\nThe script will:\n\n1. Download each enabled package from its configured URL\n2. Automatically place packages in the correct repository pool location\n3. Update repository metadata\n4. Log all operations to syslog\n\nInstall packages from your local repository:\n\n```bash\nsudo apt update\nsudo apt install discord\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasasine%2Flocal-apt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasasine%2Flocal-apt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasasine%2Flocal-apt/lists"}