Source code of manned.org https://manned.org/
website
Yorhel 577e519e7d Fedora 26 is EOL 3 months ago
indexer indexer: Re-use memory buffer when reading RPM repo data 5 months ago
lib/ManUtils www: Include .so mans if found in the same package 1 year ago
sql Add CentOS 6.10 and FreeBSD 11.2 3 months ago
util Fedora 26 is EOL 3 months ago
web web: Updating Cargo deps + fixes for stable 7 months ago
www Convert README to markdown + update git URLs 4 months ago
.gitignore Experimental rewrite of grotty to html conversion in Rust 1 year ago
COPYING Add COPYING, README and link to the public git repo 6 years ago
Makefile A few more HTML conversion improvements 1 year ago
README.md Convert README to markdown + update git URLs 4 months ago

README.md

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 + cargo (1.13+)

Web front-end

  • DBI
  • DBD::Pg
  • TUWF
  • JSON::XS
  • 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.