{"id":13376119,"url":"https://github.com/faejr/tnnlink","last_synced_at":"2025-03-13T01:31:54.560Z","repository":{"id":88230575,"uuid":"128644564","full_name":"faejr/tnnlink","owner":"faejr","description":"Simple HTTP tunnel using SSH remote port forwarding","archived":true,"fork":false,"pushed_at":"2021-05-08T17:43:58.000Z","size":198,"stargazers_count":23,"open_issues_count":1,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-16T05:28:30.996Z","etag":null,"topics":["github","golang","hacktoberfest","ngrok","ssh","tunnel"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/faejr.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":"2018-04-08T13:33:32.000Z","updated_at":"2024-06-16T05:28:30.996Z","dependencies_parsed_at":"2023-03-13T18:28:22.139Z","dependency_job_id":null,"html_url":"https://github.com/faejr/tnnlink","commit_stats":null,"previous_names":["liljebergxyz/tnnlink"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faejr%2Ftnnlink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faejr%2Ftnnlink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faejr%2Ftnnlink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faejr%2Ftnnlink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/faejr","download_url":"https://codeload.github.com/faejr/tnnlink/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243125540,"owners_count":20240276,"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":["github","golang","hacktoberfest","ngrok","ssh","tunnel"],"created_at":"2024-07-30T05:02:25.854Z","updated_at":"2025-03-13T01:31:54.193Z","avatar_url":"https://github.com/faejr.png","language":"Go","readme":"# tnnlink\n[![Build Status](https://travis-ci.org/LiljebergXYZ/tnnlink.svg?branch=master)](https://travis-ci.org/LiljebergXYZ/tnnlink)\n\nSimple HTTP tunneling using SSH, authorized using github public keys.\n\nSelf-hosted ngrok alternative.\n\nVisit [tnnl.ink](https://tnnl.ink) to see it in action.\n\n## Connecting\n```bash\nssh \u003cgithub-username\u003e@localhost -p 2222 -R 80:localhost:\u003clocal-port\u003e\n```\n\n## Planned features (no order)\n* TCP tunnel\n* Custom sub-domain\n\n## Dependencies\n* [github.com/pelletier/go-toml](github.com/pelletier/go-toml)\n\n## Usage\n1. Install [Go](https://golang.org/doc/install)\n2. Get the code\n```bash\ngo get github.com/liljebergxyz/tnnlink\n```\n3. Compile \u0026 Install\n```\ngo install github.com/liljebergxyz/tnnlink\n```\n4. Generate a passwordless host key\n```\nssh-keygen -t rsa -b 4096 -f host_rsa\n```\n5. Create a config file\n```\n[http]\naddr = \":8080\"\nsslAddr = \":4433\"\nmainDomain = \".localtest.me/\"\nssl = false\ncert = \"./cert.pem\"\nkey = \"./key.pem\"\n\n[ssh]\naddr = \":2222\"\nkey = \"./host_rsa\"\nwhitelist = \"\"\n```\n6. Launch\n```\ntnnlink --config=\"./config.toml\"\n```\n\n### Explanation of whitelist\nThe whitelist config entry is a comma-seperated list of github usernames\n\n## Notes\n1. This software has not been audited in anyway and was a fun weekend project I intend to continue supporting, but it is my first time writing a full application in Go for actual every-day use.\n2. SSL is not activated by default and you are expected to generate a letsencrypt wildcard certificate in order to utilize it\n","funding_links":[],"categories":["\u003ca id=\"01e6651181d405ecdcd92a452989e7e0\"\u003e\u003c/a\u003e工具"],"sub_categories":["\u003ca id=\"ea4dfcd8f33ec1852180c6283b2c8516\"\u003e\u003c/a\u003e未分类"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaejr%2Ftnnlink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaejr%2Ftnnlink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaejr%2Ftnnlink/lists"}