{"id":21614485,"url":"https://github.com/trilonio/file-upload-via-tcp","last_synced_at":"2026-05-18T22:10:26.257Z","repository":{"id":193876464,"uuid":"618209153","full_name":"TrilonIO/file-upload-via-tcp","owner":"TrilonIO","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-24T16:36:52.000Z","size":75,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-24T20:41:28.396Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TrilonIO.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-03-24T01:18:14.000Z","updated_at":"2024-11-12T14:20:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"ba5e6a27-2d62-4931-ad7c-9a6b7552d840","html_url":"https://github.com/TrilonIO/file-upload-via-tcp","commit_stats":null,"previous_names":["trilonio/file-upload-via-tcp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrilonIO%2Ffile-upload-via-tcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrilonIO%2Ffile-upload-via-tcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrilonIO%2Ffile-upload-via-tcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrilonIO%2Ffile-upload-via-tcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TrilonIO","download_url":"https://codeload.github.com/TrilonIO/file-upload-via-tcp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244265990,"owners_count":20425824,"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":[],"created_at":"2024-11-24T22:08:11.971Z","updated_at":"2026-05-18T22:10:26.197Z","avatar_url":"https://github.com/TrilonIO.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# File Upload via TCP\n\nThere may come a time when you want to upload a file to an API gateway and send\nit on to a TCP microservice. This repo shows how to do that.\n\n\u003e Note: this repo is meant to accompany a blog post on trilon.io and will not\ngo through everythingstep by step.\n\n## Clone the project and move to the directory\n\n```bash\n$ git clone git@github.com:TrilonIO/file-upload-via-tcp.git\n$ cd file-upload-via-tcp\n```\n\n## Running the servers\n\nRun the TCP server first, then the API gateway\n\n```bash\n$ nest start --watch tcp-server\n```\n\n```bash\n$ nest start --watch tcp-file-sending\n```\n\n## Send a file via HTTP\n\n```bash\n$ xh :3000/file file@package.json\n```\n\nObserve the output and profit","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrilonio%2Ffile-upload-via-tcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrilonio%2Ffile-upload-via-tcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrilonio%2Ffile-upload-via-tcp/lists"}