{"id":23640947,"url":"https://github.com/pedromsilvapt/fget","last_synced_at":"2026-05-05T04:06:01.144Z","repository":{"id":57235043,"uuid":"87007311","full_name":"pedromsilvapt/fget","owner":"pedromsilvapt","description":"Simple cli tool that allows to share files between multiple computers over LAN or the Internet","archived":false,"fork":false,"pushed_at":"2017-07-06T20:39:02.000Z","size":42,"stargazers_count":4,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T06:11:44.923Z","etag":null,"topics":["cli","files","internet","lan","nodejs","sharing","transfer"],"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/pedromsilvapt.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}},"created_at":"2017-04-02T18:38:40.000Z","updated_at":"2019-05-06T03:58:17.000Z","dependencies_parsed_at":"2022-08-23T16:30:19.356Z","dependency_job_id":null,"html_url":"https://github.com/pedromsilvapt/fget","commit_stats":null,"previous_names":["scorchpt/fget"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedromsilvapt%2Ffget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedromsilvapt%2Ffget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedromsilvapt%2Ffget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedromsilvapt%2Ffget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pedromsilvapt","download_url":"https://codeload.github.com/pedromsilvapt/fget/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239579281,"owners_count":19662594,"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":["cli","files","internet","lan","nodejs","sharing","transfer"],"created_at":"2024-12-28T09:53:30.665Z","updated_at":"2025-11-10T08:30:13.850Z","avatar_url":"https://github.com/pedromsilvapt.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fget\n\n\u003e Simple cli tool that allows to share files between multiple computers over LAN or the Internet\n\n# Installation\nYou can install this package globally, so that it is accessible everywhere in your system.\n\n```shell\nnpm install -g fget-cli\n```\n\n# Usage\nThis module has two main components: the server and the client. For simplicity's sake (and security's) this module is read-only, meaning that the server only publishes files, but cannot be remotely modified. That is not the purpose of this module.\n\n# Server\nFirst, you have to launch a server and specify the folder(s) that you wish to serve:\n```shell\nfget serve -p 8099 \"C:\\Path\\To\\Folder\"\n```\n\n# Client\nAfter the server has been launched, you can download what has been shared by running:\n```shell\nfget fetch localhost:8099\n```\n\nAdditionally, it is possible to selectivly download only some folders/files by passing their relative path after the command\n```shell\nfget fetch localhost:8099 \"Folder/Subfolder\" \"Folder/Subfile\"\n```\n\n\u003e **Note** When sharing a folder/file, it's name is still part of what the client will see.\n\n# Listing\nWhen in doubt of what will be downloaded, the `list` command is available.\n\n```shell\nfget list localhost:8099\nfget list localhost:8099 \"Folder/Subfolder\"\n```\n# Interactive Mode\nSometimes it might be desirable to perform several sequential actions in the same server. As such, it can be contrived to use the main commands like fetch, list and find, having to repeat the server ip in all commands. As such, the client has an interactive version that launches a virtual shell that remembers the state between commands.\n\n```shell\nfget connect localhost:8099\n```\nThis will launch the virtual shell. The commands behave in a similar way to the native ones, minus the server argument. The shell also has the notion of a working (remote) directory and a working local directory, both can be shown/changed with the commands `cd` and `cld`, respectively.\n\nAny relative path used in the fetch, list and find commands will take those working directories into account.\n\n```shell\nfget~/\u003e cd Folder\nfget~/Folder\u003e ls\n```\n\nIs the equivalent of:\n\n```shell\nfget~/\u003e ls Folder\n```\n\n# Help\nRun --help in order to get a comprehensive list of all available commands and options.\n\n\n```shell\nfget --help\nfget fetch --help\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedromsilvapt%2Ffget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpedromsilvapt%2Ffget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedromsilvapt%2Ffget/lists"}