Commit graph

8 commits

Author SHA1 Message Date
Matt Baer
d08f067e9c Change copyright notices to Musing Studio LLC
A Bunch Tell is now Musing Studio.
2022-11-10 23:49:16 -05:00
Matt Baer
face603a0e Move to go-gopher library on GitHub 2022-04-29 14:21:22 -04:00
Matt Baer
9a45030911 Change to code.as/wf/go-gopher library
This fixes build issues we're having due to the SSL certificate
on git.mills.io. It also updates to the latest version of the
go-gopher library.
2022-04-29 13:13:25 -04:00
Matt Baer
adb4fdc5fe Update go-gopher import path to new location
Fixes #496
2021-07-21 17:28:48 -04:00
Matt Baer
02bb5013a7 Show blog title and description via Gopher 2021-04-27 11:39:28 -04:00
Matt Baer
7257af2905 Strip HTTP port from Gopher links
Previously, if running an instance on e.g. http://localhost:8080, the port
would show up in the Gopher links and potentially cause rendering to fail.
This fixes that.
2021-04-27 11:30:04 -04:00
funkyduck
6c1ab93717 The gopher integration was not setting host or port, causing all links to break.
This will derive the host from the configured host by stripping the protocol from the URI
2021-01-14 09:46:20 -05:00
Matt Baer
6aa8de3a4b Add Gopher support
This adds gopher support to WriteFreely -- both single- and multi-user
instances. It is off by default, but can be enabled with the new
`gopher_port` config value in the `[server]` section.

When enabled, multi-user instances will show all public blogs at
gopher://[host]:[gopher_port]/ -- otherwise, blogs are accessible at
gopher://[host]:[gopher_port]/[blog]/

This is just a proof of concept for now. We still need to handle some
edge cases and different configurations, like private instances.

Ref T559
2020-03-01 20:12:47 -05:00