https://github.com/rajiska/0x1-screenshot
Screenshot live cropper / uploader working with 0x0 and its sub derivatives
https://github.com/rajiska/0x1-screenshot
file-upload screenshot-utility
Last synced: 26 days ago
JSON representation
Screenshot live cropper / uploader working with 0x0 and its sub derivatives
- Host: GitHub
- URL: https://github.com/rajiska/0x1-screenshot
- Owner: RaJiska
- Created: 2018-08-21T13:49:21.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-01T17:20:20.000Z (over 6 years ago)
- Last Synced: 2025-02-07T15:16:20.297Z (3 months ago)
- Topics: file-upload, screenshot-utility
- Language: C
- Homepage:
- Size: 47.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# The Non-Null Pointer Screenshot
This tool is an extension of the ["The Non-Null Pointer" (0x1)](https://github.com/RaJiska/0x1) project which allows one to capture and upload a screenshot with live cropping much like Gyazo's tool. The captured screenshots can be uploaded at any [0x0](https://github.com/lachs0r/0x0) clones / sub derivatives or websites accepting direct POST uploads.
At this moment, only Linux platform is supported.## Installation
```
$ add-apt-repository ppa:rajiska/0x1-screenshot
$ apt-get update
$ apt-get install 0x1-screenshot
```## Configuration
The tool reads a simple configuration file which can be found either in `/etc/0x1-screenshot/general.cfg` or next to the binary `config.txt` (overriding the previous one). Sample configuration file:
```
uploadurl=0x0.st
screenshottool=gnome-screenshot -a -f
```
The entry `screenshottool` is enterpreted as a shell command and is followed by a temporary file name which will hold the screenshot until the upload is achieved.## Build From Sources
```
$ git clone --recursive https://github.com/RaJiska/0x1-screenshot
$ cd 0x1-screenshot
$ mkdir build && cd build
$ cmake ..
$ make
```## Credits
[libstb](https://github.com/nothings/stb) by Sean Barrett