Source code of manned.org https://manned.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Yorhel 0142896a96 Add CentOS 7.6 5 days ago
indexer indexer: Re-use memory buffer when reading RPM repo data 7 months ago
lib/ManUtils Fix invocation of groff 1.22.3 to pass on -P-c 4 weeks ago
sql Add CentOS 7.6 5 days ago
util Add CentOS 7.6 5 days ago
web web: Updating Cargo deps + fixes for stable 8 months ago
www Convert README to markdown + update git URLs 5 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 5 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.