A lightweight command-line utility for instantly uploading text snippets, logs, source code, and file contents to paste.c-net.org directly from your terminal.
autopaste is designed for situations where you need to share something quickly without creating a Git repository, uploading a file manually, or opening a browser.
Install the latest version from PyPI:
pip install --upgrade autopasteVerify the installation:
autopaste --versionUpload a file
autopaste main.pyUpload piped input
echo "Hello from terminal!" | autopaste
cat application.log | autopaste
python script.py 2>&1 | autopasteInteractive mode
Run without arguments to enter interactive mode:
autopastePrompt:
Paste or Write:
After submitting your content, autopaste returns a shareable paste URL.
usage: autopaste [-h] [-v] [file]
positional arguments:
file File to upload
options:
-h, --help Show this help message and exit
-v, --version Show the program version and exit
Upload a Python script:
autopaste bot.pyUpload program output:
python main.py | autopasteUpload logs:
autopaste latest.logUpload package information:
pip list | autopasteUpload error output:
journalctl -xe | autopasteautopaste sends content directly to paste.c-net.org.
The tool does not store uploads locally or maintain user accounts. Any data retention, logging, moderation, or privacy policies are controlled by the paste service itself.
Warning: Avoid uploading secrets, passwords, API keys, or other sensitive information.
Sometimes you just need to quickly share:
- Error logs
- Stack traces
- Configuration files
- Terminal output
- Source code snippets
- Debugging information
Instead of creating a repository, committing files, and pushing changes, simply run:
autopaste your_file.logand share the generated link.
- Instant Uploads — Share text, code, logs, and file contents in seconds.
- File Support — Upload content directly from a file path.
- Pipe Support — Works seamlessly with Unix pipelines.
- Interactive Mode — Paste or type content directly into your terminal.
- Zero Configuration — No setup required after installation.
- Lightweight — Fast startup and minimal dependencies.
- Terminal First — Built for developers who live in the command line.
Contributions are welcome.
If you'd like to improve the project, feel free to:
- Fork the repository
- Create a feature branch
- Submit a pull request
Bug reports, feature requests, and documentation improvements are greatly appreciated.
This project is licensed under the MIT License.
If autopaste saves you time, consider giving the repository a star. It helps others discover the project and supports future development.