summaryrefslogtreecommitdiff
path: root/cgit/cgitrc
diff options
context:
space:
mode:
Diffstat (limited to 'cgit/cgitrc')
-rw-r--r--cgit/cgitrc103
1 files changed, 103 insertions, 0 deletions
diff --git a/cgit/cgitrc b/cgit/cgitrc
new file mode 100644
index 0000000..916a96c
--- /dev/null
+++ b/cgit/cgitrc
@@ -0,0 +1,103 @@
+######################
+# cgit configuration #
+######################
+
+# cgit's root is at https://prefetch.eu/code/
+virtual-root=/code/
+
+# Links to external resources
+css=/infra/css/cgit.css
+favicon=/infra/image/icon/favicon.ico?v=20221106
+logo=/infra/image/logo-cgit.png
+logo-link=/
+head-include=/etc/cgit/head.html
+
+# Internet exposure settings
+enable-http-clone=1
+robots=index,nofollow,noarchive,noimageindex
+noplainemail=1
+
+# Enable caching of up to 9000 pages (disabled by default).
+cache-size=9000
+# Default cache directory must be writeable by nginx
+cache-root=/var/cache/cgit
+# Only this TTL is set to forever by default, let's change that
+cache-static-ttl=15
+
+# Copied from the original .sh: BusyBox doesn't work but dash does
+source-filter=/etc/cgit/syntax-highlighting.dash
+#about-filter=
+
+# General flavor text for site
+root-title=Prefetch's software
+root-desc=The software is provided "as is", without warranty of any kind, because I don't want to get sued into oblivion.
+#root-readme=
+#header=
+#footer=
+
+
+#######################
+# Public repositories #
+#######################
+
+# Keep order of sections and repositories
+section-sort=0
+# Allow longer repository descriptions
+max-repodesc-length=120
+
+section=Web development
+
+repo.url=prefetch-jekyll
+repo.path=/home/git/prefetch-jekyll.git/
+repo.desc=My website's source code for Jekyll (a static site generator).
+repo.owner=Prefetch
+
+repo.url=prefetch-hugo
+repo.path=/home/git/prefetch-hugo.git/
+repo.desc=(OLD) My website's Hugo source code before I migrated to Jekyll. Please excuse the mess.
+repo.owner=Prefetch
+
+repo.url=prefetch-zola
+repo.path=/home/git/prefetch-zola.git/
+repo.desc=(OLD) My website's Zola source code before I migrated to Hugo. Please excuse the mess.
+repo.owner=Prefetch
+
+
+section=Basic programming exercises
+
+repo.url=aoc2015
+repo.path=/home/git/aoc2015.git/
+repo.desc=Advent of Code 2015 solutions in Python 3 (made in 2022, not 2015)
+repo.owner=Prefetch
+
+repo.url=aoc2016
+repo.path=/home/git/aoc2016.git/
+repo.desc=Advent of Code 2016 solutions in Rust (made in 2023, not 2016)
+repo.owner=Prefetch
+
+
+section=More advanced programming projects
+
+repo.url=deft-bs
+repo.path=/home/git/deft-bs.git/
+repo.desc=Band structure (BS) calculations for non-metals by density functional theory (DFT) in Python. Currently bugged!
+repo.owner=Prefetch
+
+repo.url=linen
+repo.path=/home/git/linen.git/
+repo.desc=Linux multithreading library written in x86_64 assembly
+repo.owner=Prefetch
+
+
+section=Configurations and scripts
+
+repo.url=configs-public
+repo.path=/home/git/configs-public.git/
+repo.desc=My dotfiles and other configs I use on various systems
+repo.owner=Prefetch
+
+repo.url=winvm-v1
+repo.path=/home/git/winvm-v1.git/
+repo.desc=(OLD) Script to start a Windows VM with GPU passthrough.
+repo.owner=Prefetch
+