{"id":15481711,"url":"https://github.com/antandros/go-dpkg","last_synced_at":"2026-04-27T23:38:13.227Z","repository":{"id":187589214,"uuid":"677029791","full_name":"antandros/go-dpkg","owner":"antandros","description":"The dpkg package is a Go library designed to list software installed on Debian distributions using dpkg","archived":false,"fork":false,"pushed_at":"2023-08-11T02:28:31.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-07T09:06:37.525Z","etag":null,"topics":["debian","dpkg","go","golang","ubuntu"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/antandros.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}},"created_at":"2023-08-10T15:14:29.000Z","updated_at":"2023-08-11T01:19:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"e9dce7bb-e7e1-4650-9333-568e96f76f46","html_url":"https://github.com/antandros/go-dpkg","commit_stats":null,"previous_names":["antandros/go-dpkg"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antandros%2Fgo-dpkg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antandros%2Fgo-dpkg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antandros%2Fgo-dpkg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antandros%2Fgo-dpkg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antandros","download_url":"https://codeload.github.com/antandros/go-dpkg/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246046123,"owners_count":20714909,"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":["debian","dpkg","go","golang","ubuntu"],"created_at":"2024-10-02T05:05:47.334Z","updated_at":"2026-04-27T23:38:13.126Z","avatar_url":"https://github.com/antandros.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# dpkg Go Package\n\n## Overview\n\nThe `dpkg` package is a Go library designed to list software installed on Debian distributions using `dpkg`. The package provides functionality to parse package details and represent them in structured Go data types.\n\n## Data Structures\n\n### Package\n\nContains detailed information about a Debian package. Key fields include:\n\n- `PackageName`: Name of the package.\n- `Status`, `Priority`, `Section`, and more: Various details about the package.\n- `Maintainer`, `OriginalMaintainer`: Contact information of the package maintainers.\n- `Extra`: A map that can hold any additional information about the package not covered by the other fields.\n\n### PackageContact\n\nRepresents the contact information of a package. It can be either an email address or a website.\n\n- `Name`: The name of the contact.\n- `Contact`: The actual contact information - email or website.\n- `Type`: Specifies if the contact is an \"email\" or \"website\".\n\n## Usage\n\n```\npackage main\n\nimport (\n\t\"encoding/json\"\n\t\"fmt\"\n\n\t\"gitlab.com/antandros/go-dpkg\"\n)\n\nfunc main() {\n\tpackages, err := dpkg.GetPackages()\n\tfmt.Println(err)\n\tresp, err := json.MarshalIndent(packages, \"\", \"\\t\")\n\tfmt.Println(err)\n\tfmt.Println(string(resp))\n}\n```\n\n## License\n\nRefer to the `LICENSE` file in the repository.\n\n## Contributing\n\nContributions are welcome! Please submit a pull request or open an issue on the project's repository.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantandros%2Fgo-dpkg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantandros%2Fgo-dpkg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantandros%2Fgo-dpkg/lists"}