SNot/README.md

23 lines
1.3 KiB
Markdown
Raw Normal View History

2024-09-21 19:35:44 +00:00
# SNot: Simple NOTification
2024-08-09 14:21:29 +00:00
2024-09-21 19:35:44 +00:00
A simple [desktop notification](https://wiki.archlinux.org/title/Desktop_notifications) server/daemon using the [`dbus`](https://dbus.freedesktop.org/doc/dbus-tutorial.html) protocol. SNot listens for notifications on the [`org.freedesktop.Notifications`](https://specifications.freedesktop.org/notification-spec/latest/basic-design.html) interface, and prints them to the console.
Inspired by [`tiramisu`](https://github.com/Sweets/tiramisu)
## Features
- Prints desktop notifications to the console(or a file, if you redirect it) as text
- Do one thing and do it well([DOTADIW](https://en.wikipedia.org/w/index.php?title=Unix_philosophy&useskin=vector#Do_One_Thing_and_Do_It_Well)) & [KISS](https://en.wikipedia.org/wiki/KISS_Principle) principle: no extra complicated features
- (Not really a feature) Written in [`rust`](https://www.rust-lang.org/) using the [`zbus`](https://docs.rs/zbus/latest/zbus/) crate
## Upcoming feature
- Better ways to work with other programs
## Currently supported formats
- Plain text - Print the output text. (✓ Just print it)
- [`json`](https://json.org) - This output can be parsed by other programs
## Upcoming format(s)
- [`rson`](https://github.com/rson-rs/rson) - A more sensible alternative to json