shithub: shithub

Download patch

ref: a3ec4dd480887354ff63494311f21db5c507dc01
parent: d7e385eef358e675d0d945620df9069a9d0d2dd4
author: Ori Bernstein <ori@eigenstate.org>
date: Tue Feb 3 06:13:11 EST 2026

repos.txt: add a url to list all public repos for easy archiving

--- a/gitrules
+++ b/gitrules
@@ -1,4 +1,5 @@
 /index.html					/bin/shithub/list	/usr/git
+/repos.txt					/bin/shithub/repos	/usr/git
 ([^'/]+)/usr.html				/bin/shithub/usr	/usr/git '\1'
 (/.well-known/acme-challenge/([^'/]+))		/bin/cat		'/usr/web/\1'
 ([^'/]+)/([^'/]+)/([^'/]+)/info.html		/bin/shithub/info	/usr/git '\1' '\2' '\3'
--- a/mkfile
+++ b/mkfile
@@ -3,6 +3,7 @@
 
 PAGEFILES=\
 	list\
+	repos\
 	info\
 	files\
 	branches\
--- /dev/null
+++ b/repos
@@ -1,0 +1,6 @@
+#!/bin/rc -e
+
+. /sys/lib/shithub/common.rc
+
+cd $1
+ls -d */*/.git/webpublish | sed 's/.git\/webpublish$//g'
--