A 0x0.st client for Emacs
Add note about MELPA package
Update README to reflect that it will not be released on ELPA
Fix typo in 0x0-tests.el


browse  log 



You can also use your local clone with git send-email.

#0x0 for Emacs

Find here the source code for 0x0.el, a pastebin client for 0x0.st and related web services.

See https://github.com/mia-0/0x0 for more details on the service, and consider donating to https://liberapay.com/mia/donate or whatever other server you prefer using.


0x0.el is not available from any particular archive. You can install it by placing 0x0.el in your load path or by using a from-source package manger like the package-vc extension.

Note that this package is not to be confused with the fork on MELPA, of the same name and with similar functionality.


The package defines a number of user-facing commands, which are all autoloaded:

  • 0x0-upload will upload the active region or if not existent the entire buffer
  • 0x0-upload-file will upload a selected file
  • 0x0-upload-string will upload a string
  • 0x0-upload-kill-ring uploads the content of the kill ring.
  • 0x0-upload-screenshot upload a PDF-screenshot of the current Emacs frame
  • 0x0-popup creates and displays a buffer and lets you uploads it contents later.

By default, all these functions default to https://0x0.st as their server of choice, but by customising the user option 0x0-default-host. A list of servers is to be found in 0x0-services.

Curl will be used to accelerate defaults, if installed. The specific behaviour can be configured using 0x0-use-curl.


All contributions are welcome, but it is preferred if all significant contributions can be covered by the copyright assignment to the FSF.

#Source code

0x0 is developed on SourceHut.

#Bugs and Patches

Bugs, patches, comments or questions can be submitted to my public inbox.


0x0.el and all other source files in this directory are distributed under the GNU Public License, Version 3 (like Emacs itself).