{"id":24996878,"url":"https://github.com/elliot40404/cli2cloud","last_synced_at":"2026-04-07T09:31:34.051Z","repository":{"id":108018795,"uuid":"474467446","full_name":"elliot40404/cli2cloud","owner":"elliot40404","description":"A command line utility written in go to pipe stdout to a web interface","archived":false,"fork":false,"pushed_at":"2022-04-04T20:34:43.000Z","size":17749,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-03T18:13:44.413Z","etag":null,"topics":["cli","golang","linux","node","socket-io","vue"],"latest_commit_sha":null,"homepage":"https://cli2cloud.herokuapp.com/","language":"Vue","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/elliot40404.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,"zenodo":null}},"created_at":"2022-03-26T21:12:22.000Z","updated_at":"2022-04-20T00:30:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"8d8778f2-34dc-4faf-85d4-063e54cfe596","html_url":"https://github.com/elliot40404/cli2cloud","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/elliot40404/cli2cloud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elliot40404%2Fcli2cloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elliot40404%2Fcli2cloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elliot40404%2Fcli2cloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elliot40404%2Fcli2cloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elliot40404","download_url":"https://codeload.github.com/elliot40404/cli2cloud/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elliot40404%2Fcli2cloud/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31507962,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"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":["cli","golang","linux","node","socket-io","vue"],"created_at":"2025-02-04T16:34:37.174Z","updated_at":"2026-04-07T09:31:34.041Z","avatar_url":"https://github.com/elliot40404.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CLI2CLOUD - pipe stdout to web\n\n![GitHub release (latest by date)](https://img.shields.io/github/v/release/elliot40404/cli2cloud?style=flat-square)\n![GitHub Workflow Status](https://img.shields.io/github/workflow/status/elliot40404/cli2cloud/node_ci?style=flat-square)\n![GitHub Repo stars](https://img.shields.io/github/stars/elliot40404/cli2cloud?style=flat-square)\n![GitHub repo size](https://img.shields.io/github/repo-size/elliot40404/cli2cloud?style=flat-square)\n\n```sh\n      _ _ ____      _                 _\n  ___| (_)___ \\ ___| | ___  _   _  __| |\n / __| | | __) / __| |/ _ \\| | | |/ _` |\n| (__| | |/ __/ (__| | (_) | |_| | (_| |\n \\___|_|_|_____\\___|_|\\___/ \\__,_|\\__,_|\n\ncli2cloud - A command line utility to pipe stdout to a web interface\nVersion: 0.1.0\n```\n\n- [Table of Contents](#fr---find-and-replace)\n  - [Installation](#installation)\n  - [Usage](#usage)\n  - [Examples](#examples)\n\n## Web interface\n\n[https://cli2cloud.herokuapp.com/](https://cli2cloud.herokuapp.com/)\n\n## Installation\n\n### Clone the repo\n\n```sh\ngit clone https://github.com/elliot40404/cli2cloud\ncd cli2cloud/cli\ngo install\n# The binaries are also available in the bin directory\n```\n\nor\n\n### Direcly download the binary for linux with curl or wget\n\n```sh\n  wget https://github.com/elliot40404/cli2cloud/releases/latest/download/c2c\n```\n\n```sh\n  curl -L -o c2c https://github.com/elliot40404/cli2cloud/releases/latest/download/c2c\n```\n\n```sh\n  chmod +x c2c\n```\n\n```sh\n  sudo ln -s $(pwd)/c2c /usr/local/bin/c2c\n```\n\n### Direcly download the binary for windows\n\n[Windows-Binary](https://github.com/elliot40404/cli2cloud/releases/latest/download/c2c.exe)\n\n### Checkout all releases\n\n[Releases](https://github.com/elliot40404/cli2cloud/releases)\n\n## Usage\n\n#### 1. Download/Build the binary and add it to your PATH\n\n#### 2. When using for the first time run `c2c`\n\nThis should generate a 8 character long key.\n\n```sh\n$ c2c\nNo key found\nCreating new key...\nCreated key: 4MQrxK9p\n```\n\n#### 3. Now if you run c2c again it should show the key along with the instructions\n\n```sh\n$ c2c\nCli-2-Cloud\nA command line interface for piping output to web\nKey: 4MQrxK9p\nWeb-UI: https://cli2cloud.herokuapp.com/4MQrxK9p\nVersion: 0.1.0\nUsage:\n    $ command | c2c     - pipe stdout to web\n    $ command | c2c -q  - pipe stdout to web quite mode\n    $ c2c           - print this help menu\n                      also generates a new key if none exists\n```\n\n#### 4. Now you can use the key to pipe the output to the web\n\nOpen up a browser and go to `https://cli2cloud.herokuapp.com/#/cli?id=\u003ckey\u003e`\n\n#### 5. Pipe the stdout to the web\n\n```sh\necho \"Hello World\" | c2c\n```\n\n#### 5. Pipe the stdout and stderr to the web\n\n```sh\necho \"Hello World\" |\u0026 c2c\n```\n\n#### 5. Pipe the stderr to the web\n\n```sh\necho \"Hello World\" 2\u003e\u00261 \u003e/dev/null | c2c\n```\n\n## Advanced Usage\n\n### Continous Mode\n\nPut this snippet in a file. I am calling mine `term.sh`\n\n```sh\n#!/bin/bash\nwhile true\ndo\n  read -p \"$USER@c2c in $(basename $PWD)\\$ \" p\n  $p |\u0026 c2c -q\ndone\n```\n\n```sh\nsudo chmod +x term.sh\nsudo ./term.sh\n```\n\nThis should run the command in a loop and give you a terminal like interface and piping to the web withouth the need to pipe.\n\n\u003e This is in no way an actual terminal interface. It is just a way/hack to pipe to the web without the need to pipe every command. This lacks basic terminal features like history and tab completion, ability backout of a dir. But it is a start.\n\n![cli2cloud web interface](./screenshots/term.png)\n\nI am working on an actual way to pipe stdout and stderr with the actual terminal interface.\n\n## Screenshots\n\n![cli2cloud web interface](./screenshots/ui.png)\n![cli2cloud web interface](./screenshots/ui2.png)\n\nDefault example\n\n![cli2cloud cli interface](./screenshots/cli.png)\n\nPassing the -q flag to c2c will not print the url\n\n![cli2cloud cli interface](./screenshots/cli2.png)\n\n\u003e NOTE: Your key is stored in the `~/c2c.dat` file.\n\u003e If you want to change the key you can delete the file and run `c2c` again.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felliot40404%2Fcli2cloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felliot40404%2Fcli2cloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felliot40404%2Fcli2cloud/lists"}