Source code of manned.org https://manned.org/
Find a file
Yorhel 212fc725ba Update man page selection algortihm to bias Ubuntu
Should really be Debian, but we only index Debian stable at the moment
and it tends to lag behind Ubuntu a bit. This extra bias is intended to
solve (part of) the issue with distro-specific tooling like 'ifup'.

This really should be updated to have a generic preference order for all
distros, but that's not as easy to implement.

Fixes #1.
2021-04-19 07:39:27 +02:00
indexer indexer: Don't overwrite man page contents when hash already exist 2019-05-25 08:47:21 +02:00
lib/ManUtils Workaround grog using -ms for pod2man generated sources 2020-10-16 12:23:41 +02:00
sql Add FreeBSD 12.2 & 13.0 2021-04-17 19:52:04 +02:00
util Add FreeBSD 12.2 & 13.0 2021-04-17 19:52:04 +02:00
web Rust dep updates 2019-05-25 08:27:23 +02:00
www Update man page selection algortihm to bias Ubuntu 2021-04-19 07:39:27 +02: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.