{"id":17949361,"url":"https://github.com/gnikyt/cloudapp-bash","last_synced_at":"2025-07-19T08:13:04.539Z","repository":{"id":138017739,"uuid":"165909875","full_name":"gnikyt/CloudApp-Bash","owner":"gnikyt","description":"Basic CloudApp implementation for Linux written in Bash","archived":false,"fork":false,"pushed_at":"2019-02-04T14:50:11.000Z","size":350,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-09T04:26:16.631Z","etag":null,"topics":["bash","bash-script","cloudapp"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gnikyt.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":"2019-01-15T19:23:06.000Z","updated_at":"2019-05-16T15:27:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"51e1b620-4e4e-46c1-809f-47bf3e4b89ef","html_url":"https://github.com/gnikyt/CloudApp-Bash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnikyt%2FCloudApp-Bash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnikyt%2FCloudApp-Bash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnikyt%2FCloudApp-Bash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnikyt%2FCloudApp-Bash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gnikyt","download_url":"https://codeload.github.com/gnikyt/CloudApp-Bash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247029724,"owners_count":20871951,"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","bash-script","cloudapp"],"created_at":"2024-10-29T09:16:23.474Z","updated_at":"2025-04-03T15:40:48.552Z","avatar_url":"https://github.com/gnikyt.png","language":"Shell","readme":"# CloudApp Bash\n\nBasic CloudApp implementation for Linux written in Bash.\n\nThis script will watch a set directory for new files (created or moved into the directory). It will then upload to your CloudApp account and copy the share URL to your clipboard.\n\nCurrently, CloudApp has no native Linux client. The advantage of this script is its completely agnostic; you can use any screenshot software, recording software, or simply drop files into the watched directory and it will process them for you.\n\n![Sample](sample.gif?raw=true \"Sample\")\n\n## Installation\n\nFirst, you'll need the following libraries:\n\n+ `jq` (required) To handle JSON\n+ `inotify-tools` (required) For watching the directory\n+ `curl` (required) For sending cURL commands\n+ `ffmpeg` (optional) If you plan on having videos converted for you\n+ `notify-send` (optional) To send notification to desktop\n\nOn Debian-based systems the following will work:\n\n`sudo apt install jq inotify-tools curl ffmpeg libnotify-bin`\n\nNext, create a file in your `$XDG_CONFIG_HOME/cloudapp-bash/config` (ex: `~/.config/cloudapp-bash/config`) directory named `.cloudapp` with the following contents:\n\n```conf\nwatch_dir=/home/(yourname)/CloudApp # Directory to watch\nusername=\"your-email\"\npassword=\"yout-password\"\nconvert_video=1 # 1 = Convert videos to MP4, 0 = Leave them as-is\nnotify=1 # 1 = Use notify-send to notify when available in the clipboard, 0 = Ignore clipboard action\n```\n\n## Usage\n\n`chmod +X (path to cloudapp script)`. Then simply add a start script pointing to `cloudapp watch` script or run directly to start watching.\n\n```bash\n$ ./cloudapp \nUsage: ./cloudapp {watch|recent|copy-recent}\n  watch - Watches files in the configured directory to upload\n  recent - Lists your most recent uploads in table format\n  copy-recent - Copy the most recent upload to the clipboard\n```\n\n## Tips\n\n### GNOME Screenshot\n\nChange the default directory to your CloudApp configured directory:\n\n`gsettings set org.gnome.gnome-screenshot auto-save-directory 'file:///home/(your-name)/(path to your folder in .cloudapp config)'`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnikyt%2Fcloudapp-bash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgnikyt%2Fcloudapp-bash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnikyt%2Fcloudapp-bash/lists"}