{"id":13713387,"url":"https://github.com/gorcon/telnet","last_synced_at":"2025-05-06T23:31:56.736Z","repository":{"id":37236302,"uuid":"295754466","full_name":"gorcon/telnet","owner":"gorcon","description":"TELNET Implementation for 7 Days to Die in Go.","archived":false,"fork":false,"pushed_at":"2024-02-03T17:52:06.000Z","size":102,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-14T00:33:51.572Z","etag":null,"topics":["7-days-to-die","7daystodie","7dtd","go","golang","telnet","telnet-client"],"latest_commit_sha":null,"homepage":"","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/gorcon.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-09-15T14:29:54.000Z","updated_at":"2024-02-03T17:49:32.000Z","dependencies_parsed_at":"2024-05-13T00:45:52.677Z","dependency_job_id":null,"html_url":"https://github.com/gorcon/telnet","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gorcon%2Ftelnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gorcon%2Ftelnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gorcon%2Ftelnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gorcon%2Ftelnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gorcon","download_url":"https://codeload.github.com/gorcon/telnet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252787531,"owners_count":21804278,"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":["7-days-to-die","7daystodie","7dtd","go","golang","telnet","telnet-client"],"created_at":"2024-08-02T23:01:34.595Z","updated_at":"2025-05-06T23:31:53.606Z","avatar_url":"https://github.com/gorcon.png","language":"Go","funding_links":[],"categories":["Repositories"],"sub_categories":[],"readme":"# Telnet\n[![GitHub Build](https://github.com/gorcon/telnet/workflows/build/badge.svg)](https://github.com/gorcon/telnet/actions)\n[![Coverage](https://gocover.io/_badge/github.com/gorcon/telnet?0 \"coverage\")](https://gocover.io/github.com/gorcon/telnet)\n[![Go Report Card](https://goreportcard.com/badge/github.com/gorcon/telnet)](https://goreportcard.com/report/github.com/gorcon/telnet)\n[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/gorcon/telnet)\n\n7 Days to Die remote access to game [Command Console](https://7daystodie.gamepedia.com/Command_Console). This is not full [TELNET](https://en.wikipedia.org/wiki/Telnet) protocol implementation.\n\n## Supported Games\n\n* [7 Days to Die](https://store.steampowered.com/app/251570) \n\nOpen pull request if you have successfully used a package with another game with telnet support and add it to the list.\n\n## Install\n\n```text\ngo get github.com/gorcon/telnet\n```\n\nSee [Changelog](CHANGELOG.md) for release details.\n\n## Usage\n\n### Execute single command\n\n```go\npackage main\n\nimport (\n\t\"log\"\n\t\"fmt\"\n\n\t\"github.com/gorcon/telnet\"\n)\n\nfunc main() {\n\tconn, err := telnet.Dial(\"127.0.0.1:8081\", \"password\")\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\tdefer conn.Close()\n\n\tresponse, err := conn.Execute(\"help\")\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\t\n\tfmt.Println(response)\t\n}\n```\n\n### Interactive CLI mode\n\n```go\npackage main\n\nimport (\n\t\"log\"\n\t\"os\"\n\n\t\"github.com/gorcon/telnet\"\n)\n\nfunc main() {\n\terr := telnet.DialInteractive(os.Stdin, os.Stdout, \"127.0.0.1:8081\", \"\")\n\tif err != nil {\n\t\tlog.Println(err)\n\t}\n}\n```\n\n## Requirements\n\nGo 1.15 or higher\n\n## Contribute\n\nContributions are more than welcome! \n\nIf you think that you have found a bug, create an issue and publish the minimum amount of code triggering the bug so \nit can be reproduced.\n\nIf you want to fix the bug then you can create a pull request. If possible, write a test that will cover this bug.\n\n## License\n\nMIT License, see [LICENSE](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgorcon%2Ftelnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgorcon%2Ftelnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgorcon%2Ftelnet/lists"}