Source code of manned.org https://manned.org/
Find a file
Yorhel 7648603685 Recognize .zst-compressed man pages + fix SQL basename_from_filename() to recognize .xz
Also greatly simplified basename_from_filename() because apparently I
couldn't write regexes back then.

(And the removed REFERENCES line is to sync schema.sql with the actual
state of the DB, which doesn't have that constraint for some reason.
I'll prolly fix that later)
2021-12-13 18:16:16 +01:00
indexer Recognize .zst-compressed man pages + fix SQL basename_from_filename() to recognize .xz 2021-12-13 18:16:16 +01:00
lib/ManUtils Add Ubuntu 21.10 2021-10-17 09:56:28 +02:00
sql Recognize .zst-compressed man pages + fix SQL basename_from_filename() to recognize .xz 2021-12-13 18:16:16 +01:00
util Index available Alpine Linux repositories 2021-12-11 18:08:46 +01:00
web Make the Rust garbage compile again 2021-12-11 11:53:26 +01:00
www Arch: Mark deleted packages as dead and hide them from listings 2021-12-13 08:18:17 +01:00
.gitignore Experimental rewrite of grotty to html conversion in Rust 2017-01-15 12:17:34 +01:00
COPYING Switch to AGPL license 2021-12-13 17:56:29 +01:00
Makefile A few more HTML conversion improvements 2017-01-15 20:27:16 +01:00
README.md Make the Rust garbage compile again 2021-12-11 11:53:26 +01:00

The Manned.org Source Code

This repository holds the source code of Manned.org. For a description of the site, check out https://manned.org/info/about.

Ironically, documentation about how things work is completely lacking.

Requirements

  • perl: A somewhat recent version (no idea which, due to my XS usage)
  • postgresql: Also a somewhat recent version
  • rust: Version who-knows-which

Web front-end

  • AnyEvent
  • DBD::Pg
  • DBI
  • JSON::XS
  • SQL::Interp
  • TUWF

Man page indexer

  • curl
  • psql

File structure

  • indexer/ -> The Rust program that scans package repositories for updates, fetches new packages and extracts the man pages.
  • lib/ManUtils/ -> Perl/XS helper module to format man pages into HTML (uses web/).
  • sql/ -> Database schema & updates.
  • util/ -> Cron job and scripts to run indexer/ on the right repositories.
  • web/ -> Badly named Rust library to convert man pages into HTML.
  • www/ -> The web front-end.