Commit graph

25 commits

Author SHA1 Message Date
Trevor Slocum
6c7b8ec1d3 Document ConvertImages option 2021-07-09 20:16:11 -07:00
2fdec61b41 Move config to gmitohtml namespace 2021-07-09 23:19:30 +02:00
0bec3c3eef Fix wrong package name and clean up tag-building
DRY the tag building for links and images.
2021-07-09 22:45:52 +02:00
586b293bef Convert images to images instead of links
Image links will result in a `img` tag instead of a `a` tag. This
behaviour is disabled by default and can be enabled by adding the
following line to to config file:

convertimages: true

To get access to the config in the convert file, I had to move the
config file inside the gmitohtml namespace. This is specially handy
later on if the config file contains other settings which are useful for
the rest of the codebase.
2021-06-09 01:19:26 +02:00
Trevor Slocum
cfaca6678d Add hostname option
Resolves #1.
2021-01-05 19:00:14 -08:00
Trevor Slocum
2a1abe8efe Do not display address bar when running without daemon 2020-12-03 10:42:39 -08:00
Trevor Slocum
dd70c77b18 Allow developers to reference CSS 2020-12-03 10:29:27 -08:00
Trevor Slocum
f71136c1a5 Set address bar width to screen width 2020-11-28 11:53:31 -08:00
Trevor Slocum
1c986eb018 Support bookmarks 2020-11-26 20:52:17 -08:00
Trevor Slocum
7445d6c830 Always use lowercase hostname in requests 2020-11-25 21:59:12 -08:00
Trevor Slocum
8c9f7852bb Fix link parsing 2020-11-25 09:22:06 -08:00
Paper
78b0228f49 Support dark theme using prefers-color-scheme 2020-11-25 11:20:52 +01:00
Trevor Slocum
a8700abe29 Escape page content 2020-11-24 18:42:39 -08:00
Trevor Slocum
e2232a8dc8 Add option to allow local file access 2020-11-24 18:18:16 -08:00
Trevor Slocum
11183c0c63 Fix link parsing 2020-11-24 14:31:30 -08:00
Trevor Slocum
f8ae52eb7d Display navigation bar in pages 2020-11-24 14:29:16 -08:00
Trevor Slocum
d17e5ab9cf Parse configuration file 2020-11-24 09:29:57 -08:00
Trevor Slocum
9cf58a9982 Fix link parsing 2020-11-23 21:47:50 -08:00
Trevor Slocum
26115183a9 Allow specifying client certificate 2020-11-23 21:25:18 -08:00
Trevor Slocum
fb5e7f4ea4 Add LastRequestTime 2020-11-23 18:09:27 -08:00
Trevor Slocum
72c8172ab8 Support input requests 2020-11-22 20:50:51 -08:00
Trevor Slocum
44aa04981e Add index page 2020-11-22 17:54:44 -08:00
Trevor Slocum
2dd0a77b6e Follow redirections 2020-11-21 21:13:49 -08:00
Trevor Slocum
320c52d436 Add Normalize.css 2020-11-21 21:07:20 -08:00
Trevor Slocum
260018cc9d Initial commit 2020-11-21 08:53:04 -08:00