aboutsummaryrefslogtreecommitdiff
path: root/matrix-mcnt.py
diff options
context:
space:
mode:
authorben <ben@nagy.contact>2025-05-04 12:57:54 -0700
committerben <ben@nagy.contact>2025-05-04 12:57:54 -0700
commitbf69b52666b3cbbcba378d6296f1620832df7e65 (patch)
treef9c70eb2fe8cbf45df3c34f56763ea3727b42f1a /matrix-mcnt.py
parent47fdc5f7f5965079078835249968ee588958a421 (diff)
LICENSE, Acknowledgements, and Dependencies
Diffstat (limited to 'matrix-mcnt.py')
-rw-r--r--matrix-mcnt.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/matrix-mcnt.py b/matrix-mcnt.py
new file mode 100644
index 0000000..5fd1800
--- /dev/null
+++ b/matrix-mcnt.py
@@ -0,0 +1,16 @@
+#!/usr/bin/env python3
+
+"""matrix-mcnt
+Matrix message count outputs the number of unread messages to stdout.
+
+Run:
+ ./matrix-mcnt --all-rooms (default)
+
+ ./matrix-mcnt --room '!Idstring:matrix.org'
+
+ ./matrix-mcnt --room '!Idstring1:matrix.org' '!Idstring2:matrix.org' '!Idstringn:matrix.org'
+
+"""
+
+if __name__ == "__main__":
+ main()