wayver's git archive


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

TODO.md@a5fbdd41e56dc312103006ed0c7058b275594a83

raw
Date Commit Message Author Files + -
2026-02-24 01:17 use mime_guess to actually guess the file type wayverd 5 77 3
...

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## gitweb style project listing
27
28support something like gitwebs project listing config to allow for a custom repo listing layout
29
30might use the current config for it
31
32maybe something like this?
33
34```toml
35[[repo]]
36name = "bile"
37section = "web services"
38```
39
40could even have it be part of the repo config
41
42```ini
43[bile]
44    section = "web services"
45```
46
47## html sanitization for code view and readme
48
49looking into using https://crates.io/crates/ammonia for this as there might be an injection possiblity with code and readme views
50
51## use gix instead of git2 and/or caching repo data
52
53see https://codeberg.org/kallisti5/gitore for this
54