An open API service indexing awesome lists of open source software.

https://github.com/rohankishore/pastecmd

CLI for Pastebin
https://github.com/rohankishore/pastecmd

pastebin pastebin-cli pastebin-client pastebin-scraper pastebin-service

Last synced: 6 months ago
JSON representation

CLI for Pastebin

Awesome Lists containing this project

README

          



![icon](https://github.com/user-attachments/assets/7b5e0d0f-2f08-4d4e-9ea7-1c515993e53e)

# PasteCMD 📋
✨ CLI app for Pastebin. ✨

![image](https://github.com/user-attachments/assets/6623202b-0b8e-4ad3-9485-773b496b3121)


# Table of Contents

- [📊 What can PasteCMD do?](#-what-can-plotium-do)
- [⬇️ Installation](#-installation)
- [✨ Commands](#-commands)
- [🪴 Example Snippet](#-example-snippets)


## 📊 What can PasteCMD do?
PasteCMD is a CLI app for [Pastebin](https://pastebin.com/) service ***PasteCMD can do***:
1. Upload text sentences
2. Upload File content
3. Upload clipboard content


# ⬇️ Installation

PasteCMD can be installed by following either of the following methods:

### 1. Via Python File
- Clone this repo by:
```bash
git clone https://github.com/rohankishore/PasteCMD
```
- Install all the requirements by:
```bash
pip install --r requirements.txt
```
- Run `main.py`

### 2. Via EXE
- Download the EXE from the latest [Release](https://github.com/rohankishore/PasteCMD/releases)
- Unzip the ZIP
- Run the EXE


# ✨ Commands
| Command | Use | Example Command
|----------------------------------------|-------------------------|------------------------
| `text` | Uploads the text written after the command | `>> text "hello, world!" [name (optional)]` |
| `clipboard` | Uploads the current clipboard content | `>> clipboard [name (optional)]` |
| `file` | Uploads the file mentioned after the command | `>> file main.py` |
| `add_api_key` | Add/Update your API Key | `>> add_api_key 0123456789abcdef0123456789abcdef` |
| `help` | Shows you all the available commands | `>> help` |
| `quit` | Exits the CLI | `>> quit` |

# 🪴 Example Snippets

```
Welcome to PasteCMD.
____ _ ____ __ __ ____
| _ \ __ _ ___| |_ ___ / ___| \/ | _ \
| |_) / _` / __| __/ _ \ | | |\/| | | | |
| __/ (_| \__ \ || __/ |___| | | | |_| |
|_| \__,_|___/\__\___|\____|_| |_|____/

Type 'help' to view all commands

>> text "Star PasteCMD if you like this project :)"
https://pastebin.com/WriZHqJR
Your Pastebin link has been copied to the clipboard!
```

```
Welcome to PasteCMD.
____ _ ____ __ __ ____
| _ \ __ _ ___| |_ ___ / ___| \/ | _ \
| |_) / _` / __| __/ _ \ | | |\/| | | | |
| __/ (_| \__ \ || __/ |___| | | | |_| |
|_| \__,_|___/\__\___|\____|_| |_|____/

Type 'help' to view all commands

>> file main.py
https://pastebin.com/akLQVipM
Your Pastebin link has been copied to the clipboard!
```


```bash
____ _ ____ __ __ ____
| _ \ __ _ ___| |_ ___ / ___| \/ | _ \
| |_) / _` / __| __/ _ \ | | |\/| | | | |
| __/ (_| \__ \ || __/ |___| | | | |_| |
|_| \__,_|___/\__\___|\____|_| |_|____/
```