Source code of manned.org https://manned.org/
Find a file
Yorhel 2f33e7f4b5 FU: Initial transition from TUWF
Seems to be working alright, and it does clean up a few things. The
biggest missing thing right now is schema-based validation for some
query parameters. I'm also seeing opportunities for FU::Pg to act as a
hash/shorthash codec, simplifying some error-prone manual conversions.
2025-02-24 16:05:51 +01:00
indexer indexer: Turn error into warning 2025-02-23 16:23:21 +01:00
lib/ManUtils Unbreak groff single quotes and backticks character replacements 2024-07-30 13:10:58 +02:00
util *BSD repo updates 2025-01-09 13:24:00 +01:00
web Make the Rust garbage compile again 2021-12-11 11:53:26 +01:00
www FU: Initial transition from TUWF 2025-02-24 16:05:51 +01:00
.gitignore Index NetBSD 2024-04-14 11:35:04 +02: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 FU: Initial transition from TUWF 2025-02-24 16:05:51 +01:00
schema.sql SQL: Add packages.c_hasman cache to speed up package listings 2024-04-29 21:15:40 +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
  • AnyEvent

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.