Source code of manned.org https://manned.org/
Find a file
Yorhel ce38ff885f indexer: Don't overwrite man page contents when hash already exist
Performance improvement. The ON CONFLICT DO UPDATE was primarily to make
sure that old man pages would get fixed when the indexer did a better
job at detecting the encoding, but there haven't been any relevant fixes
to the indexer lately so this forced-update won't do much now.
2019-05-25 08:47:21 +02:00
indexer indexer: Don't overwrite man page contents when hash already exist 2019-05-25 08:47:21 +02:00
lib/ManUtils Rust dep updates 2019-05-25 08:27:23 +02:00
sql Add Ubuntu 19.04 2019-04-18 18:54:20 +02:00
util Only update SQL caches on Mondays 2019-05-09 13:11:15 +02:00
web Rust dep updates 2019-05-25 08:27:23 +02:00
www Add link to mankier.com 2019-03-27 10:50:19 +01:00
.gitignore Experimental rewrite of grotty to html conversion in Rust 2017-01-15 12:17:34 +01:00
COPYING Add COPYING, README and link to the public git repo 2012-08-15 18:22:49 +02:00
Makefile A few more HTML conversion improvements 2017-01-15 20:27:16 +01:00
README.md Convert README to markdown + update git URLs 2018-06-15 10:52:21 +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: 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.