{"id":36583869,"url":"https://github.com/bluet/redt-agent","last_synced_at":"2026-01-12T08:00:37.778Z","repository":{"id":148505497,"uuid":"618969223","full_name":"bluet/redt-agent","owner":"bluet","description":"redt-agent is a lightweight, extensible agent that collects telemetry data, and package information, and automatically checks for software upgrades for your application. It communicates with a backend service to report collected data and receive upgrade instructions.","archived":false,"fork":false,"pushed_at":"2023-03-31T04:18:49.000Z","size":38,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-13T09:51:54.005Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://redt.top","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/bluet.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}},"created_at":"2023-03-25T21:45:26.000Z","updated_at":"2023-05-19T10:57:00.000Z","dependencies_parsed_at":"2023-05-20T10:15:32.746Z","dependency_job_id":null,"html_url":"https://github.com/bluet/redt-agent","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bluet/redt-agent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluet%2Fredt-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluet%2Fredt-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluet%2Fredt-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluet%2Fredt-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bluet","download_url":"https://codeload.github.com/bluet/redt-agent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluet%2Fredt-agent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28336958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2026-01-12T08:00:22.075Z","updated_at":"2026-01-12T08:00:37.764Z","avatar_url":"https://github.com/bluet.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RedT Agent\r\n\r\n[![Status](https://img.shields.io/badge/status-active-success.svg)](https://github.com/bluet/redt-agent/)\r\n[![GitHub Issues](https://img.shields.io/github/issues/bluet/redt-agent.svg)](https://github.com/bluet/redt-agent/issues)\r\n[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/bluet/redt-agent.svg)](https://github.com/bluet/redt-agent/pulls)\r\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](/LICENSE)\r\n\r\n`redt-agent` is a lightweight, extensible agent that collects telemetry data, and package information, and automatically checks for software upgrades for your application. It communicates with a backend service to report collected data and receive upgrade instructions.\r\n\r\n## Features\r\n\r\n- Collects telemetry data\r\n- Reports package information\r\n- Automatically checks for software upgrades\r\n- Configurable polling intervals and upgrade check periods\r\n\r\n## Getting Started\r\n\r\nThese instructions will help you set up and configure the `redt-agent` for your application.\r\n\r\n### Prerequisites\r\n\r\n- Go 1.16 or later (1.20 preferred)\r\n\r\n### Installation\r\n\r\n1. Clone the repository:\r\n\r\n```bash\r\ngit clone https://github.com/bluet/redt-agent.git\r\n\r\n```\r\n\r\n1. Change to the project directory:\r\n\r\n```bash\r\ncd redt-agent\r\n```\r\n\r\n1. Build the project:\r\n\r\n```bash\r\nmake\r\n```\r\n\r\n#### Run as a standalone application or command line tool\r\n\r\n```bash\r\n# show info (cpu, memory, disk, network, process, package)\r\n./bin/redt-agent\r\n# show info then do system package upgrade (with prompt before upgrade)\r\n./bin/redt-agent sysup\r\n# show info then do system package upgrade (without prompt before upgrade)\r\n./bin/redt-agent sysup -y\r\n```\r\n\r\n#### Run as a daemon\r\n\r\n```bash\r\n./bin/redt-agent -d\r\n```\r\n\r\n#### (Optional) Run as service\r\n\r\n```bash\r\nnano redt-agent.service\r\n```\r\n\r\n```bash\r\nsudo cp -a ./bin/redt-agent /usr/local/bin/redt-agent\r\nsudo cp -a redt-agent.service /etc/systemd/system/redt-agent.service\r\nsudo systemctl enable redt-agent\r\nsudo systemctl start redt-agent\r\nsudo systemctl status redt-agent\r\nsudo journalctl -u redt-agent\r\n\r\n```\r\n\r\n### Configuration\r\n\r\nCreate a configuration file named config.yml in the project directory, and populate it with the following example configuration:\r\n\r\n```yaml\r\nbackendURL: \"https://redt.top/api\"\r\npollInterval: 60 # seconds\r\nupgradeCheckPeriod: 5 # minutes\r\n```\r\n\r\nUpdate the URLs and intervals according to your backend service and requirements.\r\n\r\n### Running the Agent\r\n\r\nExecute the compiled binary to run the redt-agent:\r\n\r\n```bash\r\n./redt-agent\r\n```\r\n\r\nThe agent will start collecting and reporting data to the backend service based on the configuration file.\r\n\r\n### Contributing\r\n\r\nPlease read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.\r\n\r\n### License\r\n\r\nThis project is licensed under the MIT License - see the LICENSE.md file for details.\r\n\r\n### Acknowledgments\r\n\r\nThe team and contributors who maintain the Go programming language\r\nEveryone who has provided feedback and suggestions for this project\r\n\r\n## ⛏️ Built Using \u003ca name = \"built_using\"\u003e\u003c/a\u003e\r\n\r\n- [MongoDB](https://www.mongodb.com/) - Database\r\n- [Express](https://expressjs.com/) - Server Framework\r\n- [VueJs](https://vuejs.org/) - Web Framework\r\n- [NodeJs](https://nodejs.org/en/) - Server Environment\r\n\r\n## ✍️ Authors \u003ca name = \"authors\"\u003e\u003c/a\u003e\r\n\r\n- [@bluet](https://github.com/bluet) - Idea \u0026 Initial work\r\n\r\nSee also the list of [contributors](https://github.com/bluet/redt-agent/contributors) who participated in this project.\r\n\r\n## 🎉 Acknowledgements \u003ca name = \"acknowledgement\"\u003e\u003c/a\u003e\r\n\r\n- Hat tip to anyone whose code was used\r\n- Inspiration\r\n- References\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluet%2Fredt-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbluet%2Fredt-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluet%2Fredt-agent/lists"}