https://github.com/hrmeetsingh/hostmacscreenshots
Python SimpleHTTPServer to host screenshots taken on a Mac on a local address and clean up the desktop
https://github.com/hrmeetsingh/hostmacscreenshots
Last synced: 3 months ago
JSON representation
Python SimpleHTTPServer to host screenshots taken on a Mac on a local address and clean up the desktop
- Host: GitHub
- URL: https://github.com/hrmeetsingh/hostmacscreenshots
- Owner: hrmeetsingh
- Created: 2018-01-24T09:57:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-24T16:34:21.000Z (over 7 years ago)
- Last Synced: 2025-01-03T08:31:30.300Z (5 months ago)
- Language: Python
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## HostMacScreenshots
Wrote this one for automating the process of using the screenshots taken on mac in my locally hosted [remarkjs](https://remarkjs.com) markdown presentations.
Additional benefits
- No need to manually copy my screenshots to locations other than desktop and refer them
- Desktop is cleaned up as soon as screenshot is taken
- Quick
- Did not change my system settings to store screenshots elsewhere### TODO
1. Can be done efficiently by binding to the system's screenshot event, no additional thread would be required
2. Currently written to work with Python 2.7, Mac OS Sierra, Python 3 might need some changes### Usage
```bash
~/Desktop$ git clone https://github.com/hrmeetsingh/HostMacScreenshots.git
~/Desktop$ cd HostMacScreenshots
~/Desktop/HostMacScreenshots$ python HostMacScreenshots.py
```Access http://localhost:8000 (default port set in code) for the screenshot links