{"id":22091989,"url":"https://github.com/j-p-d-e-v/web-terminal","last_synced_at":"2025-10-12T00:31:17.842Z","repository":{"id":242241621,"uuid":"809071336","full_name":"j-p-d-e-v/web-terminal","owner":"j-p-d-e-v","description":"A rust app for launching a web terminal that uses websocket.","archived":false,"fork":false,"pushed_at":"2024-06-01T17:19:45.000Z","size":34,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"jp-dev","last_synced_at":"2025-04-05T01:41:20.056Z","etag":null,"topics":["rust","terminal","vue","web","web-terminal","websocket","xterm","xtermjs"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/j-p-d-e-v.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":"2024-06-01T15:51:47.000Z","updated_at":"2025-01-30T18:16:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"ca3f9668-d573-4d9c-a045-b0aa7473199e","html_url":"https://github.com/j-p-d-e-v/web-terminal","commit_stats":null,"previous_names":["j-p-d-e-v/web-terminal"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/j-p-d-e-v/web-terminal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j-p-d-e-v%2Fweb-terminal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j-p-d-e-v%2Fweb-terminal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j-p-d-e-v%2Fweb-terminal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j-p-d-e-v%2Fweb-terminal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/j-p-d-e-v","download_url":"https://codeload.github.com/j-p-d-e-v/web-terminal/tar.gz/refs/heads/jp-dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j-p-d-e-v%2Fweb-terminal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009509,"owners_count":26084609,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["rust","terminal","vue","web","web-terminal","websocket","xterm","xtermjs"],"created_at":"2024-12-01T03:07:57.017Z","updated_at":"2025-10-12T00:31:17.837Z","avatar_url":"https://github.com/j-p-d-e-v.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WEB TERMINAL\n\nA rust app for launching a web terminal that uses websocket.\n\n\n## Run using ```cargo```\n```sh\ncargo run -- --host 0.0.0.0 --port 3032\n```\n\n# Build\n\n```sh\ncargo build --release\n```\n\n# Deploy\n\n## Help Command:\n```sh\ncargo run -- --help\n\nParameters when running the web terminal app.\n\nUsage: web-terminal [OPTIONS]\n\nOptions:\n      --host \u003cHOST\u003e\n          The ip of the server.\n          \n          [default: 127.0.0.1]\n\n      --port \u003cPORT\u003e\n          The port of the server.\n          \n          [default: 3030]\n\n      --heartbeat-interval \u003cHEARTBEAT_INTERVAL\u003e\n          The heartbeat interval.\n          \n          [default: 30]\n\n  -h, --help\n          Print help (see a summary with '-h')\n\n  -V, --version\n          Print version\n```\n\n## Run using ```cargo```\n```sh\ncargo run -- --host 0.0.0.0 --port 3032\n```\n\n## Run using the compiled binary file.\n\nExecute binary\n```sh\n./target/release/web-terminal --host 0.0.0.0 --port 3032\n```\n\n# Testing\n\nYou can simulate the web terminal using the provided frontend app.\n\n1. Execute docker-compose for the frontend.\n```sh\ndocker-compose -f docker-compose up -d\n```\n\n2. Look for the container of the frontend.\n```sh\ndocker ps \n\nExample:\nCONTAINER ID   IMAGE         COMMAND                  CREATED        STATUS        PORTS                  NAMES\n85a2f260ffda   node:latest   \"docker-entrypoint.s…\"   20 hours ago   Up 20 hours   0.0.0.0:7060-\u003e80/tcp   web-terminal-termi-1\n```\n\n3. Grab the container id\n```sh\ndocker exec -it e6b8bedb2193 \"bash\"\n```\n\n4. Run the development server.\n```sh\nyarn dev\n```\n\n5. Open browser then go to\n```\nhttp://localhost:7060\n```\n\n# Developer\nJP Mateo (jpmateo022@gmail.com)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj-p-d-e-v%2Fweb-terminal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fj-p-d-e-v%2Fweb-terminal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj-p-d-e-v%2Fweb-terminal/lists"}