Make "man2html" more readable
I forgot to show some examples of how it looks. so here they are:
For comparison you can see here how the original design looks (to me it was really ugly):
I forgot to show some examples of how it looks. so here they are:
For comparison you can see here how the original design looks (to me it was really ugly):
Hi,
I wrote a simple script to make "man2html" more readable.
If you're a Linux user (Debian / Ubuntu / Whatever) and it's hard for you to understand man pages in terminal, You might tried to view them with man2html. However, the design of these pages was a bit ugly to me, So I made the following JS code, that makes it more readable - With dark mode, proper font (monospaced), and the ability to remember your preferences with a dark-mode cookie (if set to 1, It will always be in dark mode. If set to 0, it will turn off).
I'll add two versions of the code, so you can see- One is the "original" (long, ugly code) and the second one is a minified version of the same code, so you can simply paste and use.
Have fun & feel free to give me your feedback. License: Public (you don't need to attribute me for the use, and you can use it for any purpose, including on commercial machines).
You can host your man2html on a virtual machine, or on your localhost, or on any other device, and when your browser will be searching for /cgi-bin/man/man*, It will treat it as man2html website and make it a bit prettier. As I mentioned, it saves one cookie - to remember your dark mode preferences. You can undo it by changing the code.
The long one:
The short one (compressed):