{"id":21515431,"url":"https://github.com/danielfgray/tekup","last_synced_at":"2025-04-09T20:12:16.667Z","repository":{"id":148820920,"uuid":"71839040","full_name":"DanielFGray/tekup","owner":"DanielFGray","description":"Command line script to upload files to https://teknik.io","archived":false,"fork":false,"pushed_at":"2021-12-07T15:20:11.000Z","size":37,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-09T20:12:11.317Z","etag":null,"topics":["bash","image-host","teknik","upload"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"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/DanielFGray.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":"2016-10-24T22:59:07.000Z","updated_at":"2024-02-24T18:57:42.000Z","dependencies_parsed_at":"2023-04-12T11:04:15.729Z","dependency_job_id":null,"html_url":"https://github.com/DanielFGray/tekup","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielFGray%2Ftekup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielFGray%2Ftekup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielFGray%2Ftekup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielFGray%2Ftekup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanielFGray","download_url":"https://codeload.github.com/DanielFGray/tekup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103872,"owners_count":21048245,"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":["bash","image-host","teknik","upload"],"created_at":"2024-11-23T23:55:18.534Z","updated_at":"2025-04-09T20:12:16.659Z","avatar_url":"https://github.com/DanielFGray.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tekup\nCommand line script to upload files to https://teknik.io\n\n## Dependencies\n\n* [curl](https://github.com/curl/curl) - for network I/O\n* [jq](https://github.com/stedolan/jq) - for parsing JSON response\n\n## Usage\n\n```\nUsage: tekup [OPTIONS] [FILES...]\n  -d           request a deletion key for images\n  -e \u003cSTRING\u003e  expiration time. only has an effect on text pastes.\n               must be in the form of 'N UNIT' where N is a number\n               and UNIT is one of the following:\n               view minute hour day month year\n  -N           disables expiring pastes (if enabled in config file, for example)\n  -c           save the url to the clipboard\n  -h           print this help\n  -v           print verbose output. can be stacked. there are three levels of\n               verbosity\n               first will show progress from curl\n               second will print the json response\n               third will show verbose output from curl\n```\n\n## Configuration\nA configuration file can be defined at `$XDG_CONFIG_DIR/tekup/conf` (defaults to `~/.config/tekup`)  \nIf a line begins with `#` it is treated as a comment and ignored  \nA configuration file has the following options:\n\n```\napi_key        teknik.io api key\nexpire_length  same as -e flag above\ndo_not_track   boolean, asks teknik.io not to log the upload\nverbose_level  must be a number\nclipboard      boolean\n```\n\nIf `~/.config/tekup/log` is a writeable file tekup will always ask for a deletion key and log it in that file.\n\n## Example:\n\n``` bash\ntekup -e '5 minutes' -d some.txt some.png\n```\n\nThis will upload two files, `some.txt` will self-destruct after 5 minutes, and will also print a url that will delete `some.png`.\n\n## See also\n\n* [yaxg](https://github.com/DanielFGray/yaxg) - for recording screenshots\n\n## Legal\nCopyright (C) 2016 Daniel F Gray \u003cDanielFGray@gmail.com\u003e\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielfgray%2Ftekup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielfgray%2Ftekup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielfgray%2Ftekup/lists"}