{"id":28931458,"url":"https://github.com/netmarkjp/fargo","last_synced_at":"2025-10-07T15:51:40.874Z","repository":{"id":28653732,"uuid":"32173107","full_name":"netmarkjp/fargo","owner":"netmarkjp","description":"fargo(Fast cARGO) is simple file copy daemon with HTTP.","archived":false,"fork":false,"pushed_at":"2015-06-07T14:54:06.000Z","size":228,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-03T23:35:20.998Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/netmarkjp.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":"2015-03-13T18:21:04.000Z","updated_at":"2015-04-18T14:21:32.000Z","dependencies_parsed_at":"2022-09-04T17:22:15.209Z","dependency_job_id":null,"html_url":"https://github.com/netmarkjp/fargo","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/netmarkjp/fargo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netmarkjp%2Ffargo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netmarkjp%2Ffargo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netmarkjp%2Ffargo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netmarkjp%2Ffargo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netmarkjp","download_url":"https://codeload.github.com/netmarkjp/fargo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netmarkjp%2Ffargo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278802800,"owners_count":26048566,"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-07T02:00:06.786Z","response_time":59,"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":[],"created_at":"2025-06-22T16:06:15.630Z","updated_at":"2025-10-07T15:51:40.857Z","avatar_url":"https://github.com/netmarkjp.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"fargo\n==================\n\n[![wercker status](https://app.wercker.com/status/4ffab3cbd879cf0d3a2f90cc15e6a0cd/m \"wercker status\")](https://app.wercker.com/project/bykey/4ffab3cbd879cf0d3a2f90cc15e6a0cd)\n\nfargo(Fast cARGO) is simple file copy daemon with HTTP.\n\n![overview](overview.png)\n\n- Push/Get file with using ``TOKEN``\n    - ``TOKEN`` automatically being invalid in 5 min\n    - ``TOKEN`` can generate only from allowed IP Address (default: Private IP Addresses)\n    - ``TOKEN`` require Basic Auth\n- Pushed file automatically removed in 10 min\n\n# Install\n\n1. visit Latest release download page\n    - [https://github.com/netmarkjp/fargo/releases/latest](https://github.com/netmarkjp/fargo/releases/latest)\n2. download zip for your system\n    - Linux x86_64 =\u003e ``linux_amd64.zip``\n3. unzip downloaded file\n    - ``unzip linux_amd64.zip``\n\n# Usage\n\n## Start server\n\n```\n./fargo\n```\n\n## Push file to server\n\n1.get token(can access only from TOKEN_ALLOWED_FROM)\n\n```\ncurl -v --user fargo:fargo http://fargo.example.com:1236/token\n```\n\n2.push file\n\n```\ncurl -v -F file=@somefile http://fargo.example.com:1236/push/\u003cTOKEN\u003e\n```\n\n## Get file from server\n\n```\ncurl -v -o somefile http://fargo.example.com:1236/get/\u003cTOKEN\u003e\n```\n\nor Latest curl(on MacOSX), can preserve original filename with ``-J`` option.\n\n```\ncurl -v -OJ http://fargo.example.com:1236/get/\u003cTOKEN\u003e\n```\n\n# Help\n\n```\ncurl http://fargo.example.com:1236/\n```\n\nor\n\n```\ncurl http://fargo.example.com:1236/help\n```\n\n# Specification\n\n- Listen address/port is ``0.0.0.0:1236`` by default.\n    - can change with env ``FARGO_ADDR``\n- ``/token`` can access from ``127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16``\n    - can change with env ``TOKEN_ALLOWED_FROM``\n- username/password for ``/token`` is ``fargo`` / ``fargo`` by default.\n    - can change with env ``FARGO_USER`` and ``FARGO_PASSWORD``\n- File store directory is ``/tmp`` by default.\n    - can change with env ``STORE_DIR``\n- ``TOKEN`` is UUIDv4\n- ``TOKEN`` is expired in 5 min by default.\n    - can change with env ``TOKEN_TTL`` (min)\n- If get file fail, locked 30 seconds from same IP by default.\n- Pushed file will delete in 600 sec(10 min) by default.\n    - can change with env ``FILE_TTL`` (sec)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetmarkjp%2Ffargo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetmarkjp%2Ffargo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetmarkjp%2Ffargo/lists"}