about summary refs log tree commit diff
path: root/bundles/golink/files/snapshot.json
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2026-02-23 14:28:01 +0100
committerRobert Günzler <r@gnzler.io>2026-02-23 14:28:01 +0100
commit2d69761436a384a69889120258616dd644c86e7b (patch)
treed4f5440cc60e621f81a5d4ab209da85ca91626b5 /bundles/golink/files/snapshot.json
parentfe77c8fb1e8edfd802485dba0c1ffdc8e2005ea5 (diff)
golink: generate snapshot from metadata
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to 'bundles/golink/files/snapshot.json')
-rw-r--r--bundles/golink/files/snapshot.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/bundles/golink/files/snapshot.json b/bundles/golink/files/snapshot.json
new file mode 100644
index 0000000..b6757c6
--- /dev/null
+++ b/bundles/golink/files/snapshot.json
@@ -0,0 +1,5 @@
+## vim: ft=python
+<%! from time import strftime as time %>
+% for short, long in links.items():
+{"Short":"${short}","Long":"${long}","Owner":"robertgzr@github","Created":"${"%Y-%m-%dT%H:%M:%SZ" | time}","LastEdit":"${"%Y-%m-%dT%H:%M:%SZ" | time}"}
+% endfor