SCut is a server to hold your screenshots and a client to post them on it
- Start server to receive and store files
- Start client to watch directory in what you create screenshots and auto upload them
- Make screenshot (cmd+shift+3)
- Share your direct short image url with friends and colleague
- No more ADs! 🎉
npm start
URL
must be with trailing slash
docker run -e "URL=http://localhost:3000/" -v `pwd`/storage:/app/storage erliz/scut
WorkDir
must be an absolute path with trailing slash
scut -w `pwd`/storage/
URL
must be with trailing slash
scut -w `pwd`/storage/ -u http://example.com/
scut -w `pwd`/storage/ -r
scut --help
- Open response url in browser after upload
scut -w `pwd`/storage/ -c open
- Create your own post script
echo '#!/bin/bash
open $1
echo $1 | pbcopy' > scut-post.sh
chmod +x scut-post.sh
scut -w `pwd`/storage/ -c scut-post.sh
- Client
workdir
must be an absolute path - Not work opening file in Docker, cause
open
file not forwarding to Docker
docker run --rm -it -v ~/Desktop:/storage:ro -v /usr/bin/open:/usr/bin/open erliz/scut-client app -u http://remote.host/ --verbose -m -c /usr/bin/open