Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chaitya62/notepadpw-cli
A notepad.pw magician in your command line
https://github.com/chaitya62/notepadpw-cli
cli commandline notepadpw pastebin pip python3 tool
Last synced: 16 days ago
JSON representation
A notepad.pw magician in your command line
- Host: GitHub
- URL: https://github.com/chaitya62/notepadpw-cli
- Owner: Chaitya62
- License: gpl-3.0
- Created: 2018-03-17T08:33:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T00:54:15.000Z (almost 2 years ago)
- Last Synced: 2024-10-16T09:32:54.452Z (27 days ago)
- Topics: cli, commandline, notepadpw, pastebin, pip, python3, tool
- Language: Python
- Homepage:
- Size: 238 KB
- Stars: 24
- Watchers: 2
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGE.txt
- License: LICENSE
Awesome Lists containing this project
README
# Notepadpw CLI
[![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/)
A [notepad.pw](https://notepad.pw/about) magician in your command line
### Installing
To install the tool from pip
```sh
pip install npw```
To install from source
first clone the repo```
git clone https://github.com/Chaitya62/notepadpw-cli.git
cd notepadpw-cli
```
Than install the `requirements````sh
pip install -r requirements.txt
```
Now install the package by running the following commands```
python setup.py build
python setup.py install```
# Usage
To save contents of a file to https://notepad.pw/urlpath
```bash
npw -lo file_path urlpath
```
To watch the file for changes add `--watch` or `-w` flag
Example
```bash
npw -low file_path urlpath
```
To get the contents of a `urlpath` to a local file run the following command
```
npw -g file_path urlpath```
Note: Using other flags with g flag is redundant
![Usage](./usage.gif)
## Known Issues
Windows doesn't support live reload - possible reason socketio is not supported
## Contributing
Please reach out to me if you wish to contribute to this project
## Authors
* **Chaitya Shah** - [Chaitya62](https://github.com/Chaitya62)
See also the list of [contributors](https://github.com/Chaitya62/notepadpw-cli/contributors) who participated in this project.
## License
This project is licensed under the GNU GENERAL PUBLIC LICENSE Version 3 - see the [LICENSE](./LICENSE) file for details
.