This adds very basic capability[0] and message tag[1] support to rcirc which is used to implement support for the IRCv3 server-time[2] spec. During connection setup, the server is asked to list its capabilities and the `server-time` capability is then blindly requested from it (the CAP handler code does not check whether server-time is actually part of the listed capabilities). rcirc does not need to know whether this negotiation succeeded, because server time tags will either be sent or not. By default rcirc prints all timestamps at current-time. A new variable `rcirc-last-message-time` has been added which, if set, overrides this timestamp. It is set by the message handler after parsing IRCv3 tags. Thanks to William Cummings for nudging me in the direction of his post about adding ZNC playback support to rcirc[4], from which some parts of this code were taken. This has been tested with IRCCloud's bouncers. [0]: https://ircv3.net/specs/core/capability-negotiation [1]: https://ircv3.net/specs/extensions/message-tags [2]: https://ircv3.net/specs/extensions/server-time-3.2.html |
||
|---|---|---|
| bin | ||
| docs | ||
| fun | ||
| lisp/dns | ||
| net | ||
| nix | ||
| ops | ||
| overrides | ||
| presentations | ||
| third_party | ||
| tools | ||
| web | ||
| .envrc | ||
| .gitignore | ||
| .rgignore | ||
| ci-builds.nix | ||
| default.nix | ||
| LICENSE | ||
| README.md | ||
depot
This repository is the monorepo for my personal tools and infrastructure. Everything in here is built using Nix with an automatic attribute-set layout that mirrors the filesystem layout of the repository (this might feel familiar to users of Bazel).
This repository used to be hosted on GitHub, but for a variety of reasons I have decided to take over the management of personal infrastructure - of which this repository is a core component.
If you've ended up here and have no idea who I am, feel free to follow me on Twitter.
Highlights
Tools
tools/emacscontains my personal Emacs configuration (packages & config)fun/aoc2019contains solutions for a handful of Advent of Code 2019 challenges, before I ran out of interesttools/blog_clicontains my tool for writing new blog posts and storing them in the DNS zonetools/cheddarcontains a source code and Markdown rendering tool that is integrated with my cgit instance to render files in various viewsops/kms_pass.nixis a tiny tool that emulates the user-interface ofpass, but actually uses Google Cloud KMS for secret decryptionops/kontemplatecontains my Kubernetes resource templating tool (with which the services in this repository are deployed!)ops/besadiicontains a tool that runs as the gitpost-receive-hook on my git server to trigger builds on sourcehut.
Packages / Libraries
nix/buildGoimplements a Nix library that can build Go software in the style of Bazel'srules_go. Go programs in this repository are built using this library.nix/buildLispimplements a Nix library that can build Common Lisp software. Currently only SBCL is supported. Lisp programs in this repository are built using this library.tools/emacs-pkgscontains various Emacs libraries that my Emacs setup uses, for example:dottime.elprovides dottime in the Emacs modelinenix-util.elprovides editing utilities for Nix filesterm-switcher.elis an ivy-function for switching between vterm buffers
net/alcoholic_jwtcontains an easy-to-use JWT-validation library for Rustnet/crimpcontains a high-level HTTP client using cURL for Rust
Services
Services in this repository are deployed on a Google Kubernetes Engine cluster using Nixery.
web/blogandweb/homepagecontain my blog and website setup (serving at tazj.in)web/cgit-tazcontains a slightly patched version ofcgitthat serves my git web interface at git.tazj.inops/journaldrivercontains a small Rust daemon that can forward logs from journald to Stackdriver Logging
Miscellaneous
Presentations I've given in the past are in the presentations folder, these
cover a variety of topics and some of them have links to recordings.
There's a few fun things in the fun/ folder, often with context given in the
README. Check out my list of the best tools for example.
Contributing
If you'd like to contribute to any of the tools in here, please check out the contribution guidelines.