{"id":16649955,"url":"https://github.com/datamine/screenpaste","last_synced_at":"2025-12-28T07:01:36.450Z","repository":{"id":226926683,"uuid":"769966418","full_name":"Datamine/screenpaste","owner":"Datamine","description":"Screenshot Pasting Utility for the Terminal","archived":false,"fork":false,"pushed_at":"2024-03-10T18:57:10.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-19T06:46:27.332Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/Datamine.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-10T15:03:36.000Z","updated_at":"2024-03-10T15:48:15.000Z","dependencies_parsed_at":"2024-03-10T16:52:09.128Z","dependency_job_id":"390aadba-f432-4a82-9562-45cfdce67a90","html_url":"https://github.com/Datamine/screenpaste","commit_stats":null,"previous_names":["datamine/screenpaste"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Datamine%2Fscreenpaste","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Datamine%2Fscreenpaste/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Datamine%2Fscreenpaste/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Datamine%2Fscreenpaste/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Datamine","download_url":"https://codeload.github.com/Datamine/screenpaste/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243224589,"owners_count":20256731,"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":[],"created_at":"2024-10-12T09:14:24.506Z","updated_at":"2025-12-28T07:01:31.413Z","avatar_url":"https://github.com/Datamine.png","language":"Python","readme":"# screenpaste\nScreenshot Pasting Utility for the Terminal\n\n## What is the Motivation for Screenpaste?\n\nWhen taking screenshots, most operating systems have two modes:\n\n1. Take a screenshot and auto-save it under a timestamped name to a predetermined folder, like `Desktop/Screenshot 2024-01-30 at 9.02.51 PM.png`.\n2. Take a screenshot and copy it to the clipboard, so you can open up a simple image editor and then save it to a place you like.\n\nBoth of these are inconvenient. If I want to take a quick screenshot for a project, I probably want it saved to a specific folder under a specific name.\nI don't want to have to find it and move it, or wait ten seconds for an image editing program to open.\n\n## What is Screenpaste?\n\nThe solution is screenpaste. Screenpaste is a command-line utility that will take the content from your image clipboard, and then save it to a name you specified, like this:\n\n```\nscreenpaste foo\n```\n\nWill take the image in your clipboard, and then save it in your current directory as `foo.png`. Amazing!\n\n(Instead of the current directory, you can also specify a path, like `screenpaste ~/Desktop/quux`.)\n\n## Setup\n\n1. Don't make a virtualenv or pipenv for this. You want a global installation.\n2. `pip install -r requirements.txt`\n3. Edit your terminal profile (in my case, `~/.bashrc`) to include a function to run this script:\n```\n    scrp() {\n        python3 ~/.screenpaste/script.py \"$1\";\n    }\n```\n4. Reload your bash profile (e.g. `source ~/.bashrc`).\n\n## Supported Environments\n\nI've only tested this on OS X so far. I'll update the script as necessary for other operating systems.\n\n## TODO\n\nMake it take images off the cross-platform pasteboard as well. If I click \"copy\" on a photo on my iPhone\nand then use screenpaste, OS X will show me a copying dialog, but then won't successfully paste the image.\nI probably need to integrate with some OS X utility to grab the temporary file.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatamine%2Fscreenpaste","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatamine%2Fscreenpaste","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatamine%2Fscreenpaste/lists"}