wayver's git archive


a simple self-hosted git server
git clone https://git.wayver.dev/bile

TODO.md@main

raw
Date Commit Message Author Files + -
2026-02-26 12:41 simple gitweb project listing-like implementation wayverd 5 56 40
...

1# TODO
2
3## code stats
4
5might be interesting to try and add github style code stats
6
7look into these libraries
8
9  - https://crates.io/crates/gengo
10    - this one actually supports reading from a bare git repo
11  - https://crates.io/crates/hyperpolyglot
12    - this one does not support bare git repos
13
14## default file handling
15
16other than specific routes all files are handled as 'raw'
17
18should svg be rendered as source code or as an image
19
20should markdown documents be rendered like README routes or should they be handled like all other code
21
22maybe add a way to switch between rendered and 'raw' views
23
24`?raw` query maybe?
25
26## html sanitization for code view and readme
27
28looking into using https://crates.io/crates/ammonia for this as there might be an injection possiblity with code and readme views
29
30## use gix instead of git2 and/or caching repo data
31
32see https://codeberg.org/kallisti5/gitore for this
33