Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Gopher support #273

Open
wants to merge 1 commit into
base: develop
from
Open

Add Gopher support #273

wants to merge 1 commit into from

Conversation

@thebaer
Copy link
Member

thebaer commented Mar 2, 2020

This adds Gopher support to WriteFreely, thanks to @prologic's excellent go-gopher library. (This feature is tracked here: T559.)

This works on 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 -- set it to the port you want to run the gopher server on. Then you'll want to expose that port to the internet or proxy connections to it.

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

On single-user instances, you can access the blog via gopher://[host]:[gopher_port]/ and posts via gopher://[host]:[gopher_port]/[slug]

This is just a proof of concept for now. We still need to handle some edge cases and different configurations, like private = true. But this should be a good start.

What do you think? Any improvements you'd suggest?

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
@thebaer thebaer added the experimental label Mar 2, 2020
@prologic

This comment has been minimized.

Copy link

prologic commented Mar 6, 2020

This adds Gopher support to WriteFreely, thanks to @prologic's excellent go-gopher library. (This feature is tracked here: T559.)

😲 seriously? Something I wrote is getting serious use? :) WOW!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.