2 releases

0.1.1 Oct 13, 2024
0.1.0 Oct 2, 2024

#150 in Text editors

Download history 187/week @ 2024-09-30 84/week @ 2024-10-07 138/week @ 2024-10-14

409 downloads per month
Used in ad-editor

MIT license

10KB
224 lines

ad_event :: a shared event format for ad and client programs

Example Format

M L 160 173 14 | screenshot.png
#!/usr/bin/env sh

9p read ad/buffers/1/event | while read -r line; do
    echo "got event: $line"
    txt=$(echo "$line" | sed 's/.*| //')
    if [ "$txt" = "README.md" ]; then
        echo "  > allowing event"
        echo "$line" | 9p write ad/buffers/1/event
    else
        echo "  > suppressing event"
    fi
done

lib.rs:

A shared event message format between ad and clients

No runtime deps