{"id":13581887,"url":"https://github.com/andreimarcu/linx-client","last_synced_at":"2025-09-06T22:32:57.538Z","repository":{"id":53723482,"uuid":"44332827","full_name":"andreimarcu/linx-client","owner":"andreimarcu","description":"Command-line client for linx-server","archived":false,"fork":false,"pushed_at":"2021-03-17T22:40:16.000Z","size":30,"stargazers_count":58,"open_issues_count":3,"forks_count":18,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-07-13T12:48:44.859Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andreimarcu.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}},"created_at":"2015-10-15T17:08:16.000Z","updated_at":"2025-01-16T13:43:48.000Z","dependencies_parsed_at":"2022-09-26T19:12:04.318Z","dependency_job_id":null,"html_url":"https://github.com/andreimarcu/linx-client","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/andreimarcu/linx-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreimarcu%2Flinx-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreimarcu%2Flinx-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreimarcu%2Flinx-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreimarcu%2Flinx-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreimarcu","download_url":"https://codeload.github.com/andreimarcu/linx-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreimarcu%2Flinx-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273973589,"owners_count":25200575,"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-09-06T02:00:13.247Z","response_time":2576,"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":"2024-08-01T15:02:17.964Z","updated_at":"2025-09-06T22:32:57.499Z","avatar_url":"https://github.com/andreimarcu.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# Development on this repository has been frozen.   \n\nFeel free to send a pull request if you are maintaining an active fork of this project to add a link to your repository in this readme.\n\n---\n\n\nlinx-client\n======\n\nSimple client for [linx-server](https://github.com/andreimarcu/linx-server) \n\nUses a json configuration and logfile (for storing deletion keys of uploads)   \n\n### Features  \n\n- Upload file and store deletion key  \n- Upload from stdin and store deletion key  \n- Overwrite file using stored deletion key  \n- Delete file using stored deletion key  \n- Sha256sum client-server matching  \n\n\nGet release and run\n-------------------\n1. Grab the latest binary from the [releases](https://github.com/andreimarcu/linx-client/releases)\n2. Run ```./linx-client...```\n\n\nConfiguration\n-------------\n\nWhen you first run linx-client, you will be prompted to configure the instance url, logfile path and api keys. \n\n```\n$ ./linx-client  \nConfiguring linx-client  \n  \nSite url (ex: https://linx.example.com/): https://linx.example.com/  \nLogfile path (ex: ~/.linxlog): ~/.linxlog  \nAPI key (leave blank if instance is public):  \n  \nConfiguration written at ~/.config/linx-client.conf  ``\n\nUsage\n----- \n\n#### Upload file(s)\n\n```\n$ linx-client path/to/file.ext\nhttps://linx.example.com/file.ext\n```\n\nOptions  \n\n- ```-f file.ext``` -- Specify a desired filename (if different from the actual one)  \n- ```-r``` -- Randomize filename  \n- ```-e 600``` -- Time until file expires in seconds  \n- ```-deletekey mysecret``` -- Specify deletion key\n- ```-o``` -- Overwrite file if you have its deletion key\n- ```-accesskey mykey``` -- Specify access key\n- ```-c myconfig.json``` -- Use non-default config file (can be useful if using more than one linx-server instance). This option will create a config if file does not exist.\n- ```-no-cb``` -- Disable automatic insertion into clipboard\n- ```-selif``` -- Return selif url (direct url)\n\n#### Upload from stdin\n```\n$ echo \"hello there\" | linx-client -  \nhttps://linx.example.com/random.txt  \n```  \n\nNote: you can specify the ```-f``` flag to specify a filename as such:  \n\n```\n$ echo \"hello there\" | linx-client -f hello.txt -  \nhttps://linx.example.com/hello.txt  \n```  \n\n\n#### Overwrite file\nAssuming you have previously uploaded ```file.ext``` using linx-client (so that you have its deletion key), you can replace the file as such:\n\n```\n$ linx-client -o file.ext  \nhttps://linx.example.com/file.ext  \n```  \n\n#### Delete file(s)\n\n```\n$ linx-client -d https://linx.example.com/file.ext  \nDeleted https://linx.example.com/file.ext  \n```\n\nLicense\n-------\nCopyright (C) 2015 Andrei Marcu\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n\nAuthor\n-------\nAndrei Marcu, http://andreim.net/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreimarcu%2Flinx-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreimarcu%2Flinx-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreimarcu%2Flinx-client/lists"}