A 0x0.st client for Emacs
added support for uploading via curl
fixed mistake in readme
updated header tags

refs

master
browse log
0.1.1
browse .tar.gz

clone

read-only
https://git.sr.ht/~zge/nullpointer-emacs
read/write
git@git.sr.ht:~zge/nullpointer-emacs

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

0x0 for Emacs

0x0 for Emacs defines three interactive functions:

  • 0x0-upload will upload the active region or if not existent the entire buffer to a 0x0.st compatible server.
  • 0x0-upload-file will upload a selected file to a 0x0.st compatible server.
  • 0x0-upload-string will upload a string to a 0x0.st compatible server, that has been read in from the minibuffer.

By default, all these functions default to https://0x0.st as their server of choice, but by customising the variable 0x0-url, this can be changed.

See https://github.com/lachs0r/0x0 for more details, and consider donating to https://liberapay.com/lachs0r/donate if you like the service.

How to use

Using MELPA and use-package, a minimal setup might look something like this:

(use-package 0x0
  :bind ("F8" . 0x0-upload))

Bug reports and patches should be sent to my public inbox.

Copying

0x0.el is distributed under the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication license.