{"id":20323853,"url":"https://github.com/tibor309/code-tunnel","last_synced_at":"2025-03-04T10:17:02.457Z","repository":{"id":224351929,"uuid":"762773526","full_name":"tibor309/code-tunnel","owner":"tibor309","description":"⌨️ Remote VSCode tunnel.","archived":false,"fork":false,"pushed_at":"2025-02-16T11:17:13.000Z","size":54,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-16T12:20:05.828Z","etag":null,"topics":["code","code-server","container","development","docker","linux","tunnel","vscode"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/tibor309.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"ko_fi":"tibor309"}},"created_at":"2024-02-24T16:48:07.000Z","updated_at":"2025-02-16T11:17:18.000Z","dependencies_parsed_at":"2024-04-24T13:20:51.365Z","dependency_job_id":"c711a7a3-7f39-4f56-b8b0-d2a0535d8595","html_url":"https://github.com/tibor309/code-tunnel","commit_stats":null,"previous_names":["tibor309/docker-code-tunnel","tibor309/code-tunnel"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tibor309%2Fcode-tunnel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tibor309%2Fcode-tunnel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tibor309%2Fcode-tunnel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tibor309%2Fcode-tunnel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tibor309","download_url":"https://codeload.github.com/tibor309/code-tunnel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241827168,"owners_count":20026601,"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":["code","code-server","container","development","docker","linux","tunnel","vscode"],"created_at":"2024-11-14T19:30:02.064Z","updated_at":"2025-03-04T10:17:02.447Z","avatar_url":"https://github.com/tibor309.png","language":"Dockerfile","funding_links":["https://ko-fi.com/tibor309"],"categories":[],"sub_categories":[],"readme":"# ⌨️ Code Tunnel\nVSCode Tunnel running inside a docker container.\n\n## Setup\nTo setup the container, you can use the docker cli, or docker compose.\n\n### [docker-compose][dcompose] (recommended)\n```yaml\n---\nservices:\n  code-tunnel:\n    image: ghcr.io/tibor309/code-tunnel:latest\n    container_name: code-tunnel\n    environment:\n      - PUID=1000\n      - PGID=1000\n      - TZ=Etc/UTC\n      - SUDO_PASSWORD=password #optional\n      - TUNNEL_NAME=the-dungeon\n    volumes:\n      - /path/to/config:/config\n    restart: unless-stopped\n    hostname: vscode #optional\n```\n\n### [docker-cli][dcli]\n```bash\ndocker run -d \\\n  --name=code-tunnel \\\n  -e PUID=1000 \\\n  -e PGID=1000 \\\n  -e TZ=Etc/UTC \\\n  -e SUDO_PASSWORD=password `#optional` \\\n  -e TUNNEL_NAME=the-dungeon \\\n  -v /path/to/config:/config \\\n  --restart unless-stopped \\\n  --hostname vscode `#optional` \\\n  ghcr.io/tibor309/code-tunnel:latest\n```\n\nAfter setting up the container, check for your github login code in the container logs.\n\n```bash\ndocker logs code-tunnel\n```\n\n## Config\nThis container is based on the linuxserver.io ubuntu base image, so you can use their mods and additional configs if you want.\n\n| Parameter | Function |\n| :----: | --- |\n| `-e PUID=1000` | For UserID |\n| `-e PGID=1000` | For GroupID |\n| `-e TZ=Etc/UTC` | Specify a timezone to use, see this [list][tz]. |\n| `-e SUDO_PASSWORD=password` | If this optional variable is set, user will have sudo access in the terminal with the specified password. |\n| `-e SUDO_PASSWORD_HASH=` | Optionally set sudo password via hash (takes priority over SUDO_PASSWORD var). Format is $type$salt$hashed. |\n| `-e TUNNEL_NAME=the-dungeon` | Name of the vscode tunnel. |\n| `-v /config` | Users home directory in the container, stores local files and settings. |\n| `--hostname vscode` | Hostname for the container. |\n\n## Usage\nTo access the container, navigate to the [vscode.dev][link] link that you can find in the container logs, or manually. Alternatively, you can connect via the VSCode desktop app too.\n\n* [https://vscode.dev/tunnel/your-tunnel-name][link]\n\n[dcompose]: https://docs.linuxserver.io/general/docker-compose\n[dcli]: https://docs.docker.com/engine/reference/commandline/cli/\n[tz]: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List\n[link]: https://vscode.dev\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftibor309%2Fcode-tunnel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftibor309%2Fcode-tunnel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftibor309%2Fcode-tunnel/lists"}