aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorLibravatar Rutger Broekhoff2024-11-13 21:02:52 +0100
committerLibravatar Rutger Broekhoff2024-11-13 21:02:52 +0100
commit908febcfadbc937d05707a504f93ce0fe60b29e0 (patch)
tree1e61244a42940af928820110d6753df24872e583 /README
parent09af83576a877eda40512bfba30b47a1b13061fb (diff)
downloadicalproxy-908febcfadbc937d05707a504f93ce0fe60b29e0.tar.gz
icalproxy-908febcfadbc937d05707a504f93ce0fe60b29e0.zip
README ᕕ(ᐛ)ᕗ
Diffstat (limited to 'README')
-rw-r--r--README37
1 files changed, 37 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..49d66e5
--- /dev/null
+++ b/README
@@ -0,0 +1,37 @@
1icalproxy
2=========
3
4Brightspace is the system where most of the stuff I need to hand in for uni is
5registered in. It has this convenient feature where you can get an iCal feed of
6all the deadlines of your assignments. But it also contains some 'junk' (sorry
7Career Services) which I don't need to have cluttering my calendar.
8
9Basically all junk can be filtered out using two regexes (of which I'm not sure
10that the latter is still relevant). This program is a bit overengineered :)
11My configuration for the provided NixOS module looks like this:
12
13{
14 services.icalproxy = {
15 enable = true;
16 calendarUrl = "https://brightspace.ru.nl/d2l/le/calendar/feed/user/feed.ics";
17 ignore = {
18 locationRegexes = [
19 ".*Career Orientation Online \\((Dutch|International)\\).*$"
20 ];
21 summaryRegexes = [
22 "(Lecture \\d+ - )?Livestream \\d{1,2}-\\d{1,2}-\\d{4} .*- Due$"
23 ];
24 };
25 port = "8084";
26 userTokens = {
27 "<I am not going to put this here!>" = {
28 hash = "<neither this>";
29 salt = "<nor this>";
30 };
31 # Did I say how I think this was overengineered?
32 };
33 };
34}
35
36It is forgiven that this is not a 12 factor app because we have a NixOS module;
37 QED.