Dev.to WebDev πŸ›  Dev πŸ‘ 0 πŸ“– 1 min read

I Built PasteDB CLI in 1 Day β€” Upload Files to the Web with pdb create πŸš€

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 to

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? πŸ‘€

πŸ“° Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.