Announcing restlib - a utility library for building Emacs REST clients
21 Sep 2026 Charles Choi
In keeping with this blog’s recent interest in building REST clients in Emacs Lisp (Elisp), here’s a utility library I’ve assembled that covers some common tasks in doing so. I’ve named this package restlib (https://github.com/kickingvegas/restlib) and it is now available on MELPA. restlib is organized into the following three sections:
- Network (HTTP) requests
- URL components
- JSON processing
Further reading about these sections can be found in the restlib API Reference.
To get an idea of what you can do with restlib, explore the source code for a lightweight weather lookup client using https://wttr.in called wttr.el.
Anecdotally, I’ve already created a number of internal REST clients using restlib, some of which I plan to publish on MELPA in the near future. As restlib is early in its development, there is always room for improvement. If you have any suggestions for improving restlib, feel free to submit an issue.