Want to do this?
pdb create app.py
β¦and have your file uploaded online with a shareable PasteDB link returned instantly?
Now it's possible. π
I built PasteDB CLI in just 1 day β a lightweight command-line tool for developers to upload files, retrieve pastes, update them, delete them, explore public pastes, and manage API keys without leaving the terminal.
The CLI is built with JavaScript / Node.js and connects directly to the PasteDB API.
β‘ What it can do
pdb create app.py
Upload a local file and get a PasteDB link.
pdb get abc123
Fetch a paste directly from the terminal.
pdb update abc123 app.py
Update an existing paste.
pdb delete abc123
Delete a paste.
It also includes API-key authentication, public paste exploration, code execution support, and other developer-focused commands.
π Tech Stack
JavaScript / Node.js
The goal was to keep the CLI simple, fast, and easy to use while making PasteDB accessible directly from the terminal.
π Check it out
Source code: https://github.com/sorathiya903/pastedb-cliβ
CLI documentation: https://pastedb.netlify.app/cli
This was a one-day build, and I'm planning to keep improving the CLI with more developer-friendly features.
What would you want to see added to a my pastebin CLI? π
Top comments (0)