Source code of manned.org https://manned.org/
Find a file
Yorhel 902048e282 Change database dump format + add import & export scripts
The new format allows for downloading and importing only a part of the
database - useful when only the metadata is required - and doesn't
include the wasteful preformatted HTML cache.

This also ensures that the new import.sql script is actually usable and
in sync with the actual database. The old schema.sql was neither.

(And this simplifies my backup scripts)
2025-10-08 09:40:53 +02:00
indexer Add FreeBSD 14.3 2025-06-11 15:56:31 +02:00
ManUtils Only resolve .so includes when it's the only thing in a man page 2025-05-25 14:02:10 +02:00
util Change database dump format + add import & export scripts 2025-10-08 09:40:53 +02:00
web Make the Rust garbage compile again 2021-12-11 11:53:26 +01:00
www Change database dump format + add import & export scripts 2025-10-08 09:40:53 +02:00
.gitignore Change database dump format + add import & export scripts 2025-10-08 09:40:53 +02:00
COPYING Switch to AGPL license 2021-12-13 17:56:29 +01:00
import.sql Change database dump format + add import & export scripts 2025-10-08 09:40:53 +02:00
Makefile ManUtils: Move, use ExtUtils::MakeMaker and get rid of AnyEvent 2025-02-24 19:00:09 +01:00
README.md Change database dump format + add import & export scripts 2025-10-08 09:40:53 +02: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: 5.36+
  • postgresql: A somewhat recent version
  • rust: Version who-knows-which

Web front-end

  • FU

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.
  • ManUtils/ -> Perl/XS helper module to format man pages into HTML (uses web/).
  • 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.