{"id":13826548,"url":"https://github.com/kevwan/depu","last_synced_at":"2025-04-11T17:31:55.085Z","repository":{"id":39746985,"uuid":"494078498","full_name":"kevwan/depu","owner":"kevwan","description":"A tool to check  available updates of packages in go.mod.","archived":false,"fork":false,"pushed_at":"2023-03-13T16:04:42.000Z","size":50,"stargazers_count":123,"open_issues_count":3,"forks_count":11,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-06T04:39:43.894Z","etag":null,"topics":["go","golang","gomod","gomodule","gomodules","update-checker","updates"],"latest_commit_sha":null,"homepage":"https://go-zero.dev","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/kevwan.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}},"created_at":"2022-05-19T13:15:45.000Z","updated_at":"2024-10-25T10:16:22.000Z","dependencies_parsed_at":"2024-01-15T15:47:42.419Z","dependency_job_id":"6f5072b6-dd21-4d73-8292-01634392e722","html_url":"https://github.com/kevwan/depu","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevwan%2Fdepu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevwan%2Fdepu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevwan%2Fdepu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevwan%2Fdepu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevwan","download_url":"https://codeload.github.com/kevwan/depu/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248449853,"owners_count":21105577,"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":["go","golang","gomod","gomodule","gomodules","update-checker","updates"],"created_at":"2024-08-04T09:01:40.084Z","updated_at":"2025-04-11T17:31:54.794Z","avatar_url":"https://github.com/kevwan.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# depu\n\n[![Go](https://github.com/kevwan/depu/workflows/Go/badge.svg?branch=main)](https://github.com/kevwan/depu/actions)\n[![Go Report Card](https://goreportcard.com/badge/github.com/kevwan/depu)](https://goreportcard.com/report/github.com/kevwan/depu)\n[![Release](https://img.shields.io/github/v/release/kevwan/depu.svg?style=flat-square)](https://github.com/kevwan/depu)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n## Why to write depu\n\nWhen I maintain [go-zero](https://github.com/zeromicro/go-zero), I often need to check if any updates on my dependencies.\n\nSome advantages on keeping up-to-date:\n- get more features\n- known bugs or security issues get fixed\n- not breaking for deprecated usages on must upgrade\n\nAnd `go list` lists all the dependent packages for both direct and indirect usages, and `Indirect` fields always telling true. For details, check this issue: https://github.com/golang/go/issues/40364\n\n## Design ideas\n\n- use `go list -u -m -json all` to get all the available updates for both direct and indirect usages.\n- parse local `go.mod` to get directly required packages.\n- only display the availabe updates for directly required packages.\n\n## Installation\n\n```shell\n$ go install github.com/kevwan/depu@latest\n```\n\n## How to use\n\nIn the directory of `go.mod`, run the following command:\n\n```shell\n$ depu\n```\n\nResults look like below if there are available updates:\n\n\u003cimg width=\"800\" alt=\"image\" src=\"https://user-images.githubusercontent.com/1918356/169304283-1b09a434-0034-48c5-ab72-6c2c8d10e946.png\"\u003e\n\nResults looks like below if no updates:\n\n\u003cimg width=\"375\" alt=\"image\" src=\"https://user-images.githubusercontent.com/1918356/170682231-26a8b67b-5921-447d-b0b2-b8f3909a568e.png\"\u003e\n\n\n## Give a Star! ⭐\n\nIf you like or are using this project, please give it a star. Thanks!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevwan%2Fdepu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevwan%2Fdepu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevwan%2Fdepu/lists"}