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

Gopher Support #1756

Open
mnw700x opened this issue Jun 12, 2023 · 1 comment
Open

Gopher Support #1756

mnw700x opened this issue Jun 12, 2023 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@mnw700x
Copy link

mnw700x commented Jun 12, 2023

Use Case/Motivation

I have a gopher blog (phlog) that is out of date because of the hassle of updating the gopher file and fixing up the formatting of the output for Gopher. I think that jrnl is pretty awesome and would do gopher pretty well. What I think would be cool is if there was a format gopher that would wrap the text at 70 characters wide and provide a gopher style link back to the parent directory at the bottom. If a user provides an output that points to a directory the file should be created with the file name being the date but we should also get a file called .gophermap that is a gopher map of the directory. This mimics the yaml output behavior a little bit.

Gophermap format - https://github.com/gophernicus/gophernicus/blob/da3390089c2a856db1ab2e3bd9751b9a9101a33a/README.gophermap

Example Usage

jrnl --format gopher
jrnl --format gopher --output --file 'my_directory/'

Other Information

I know gopher isn't super popular but I think this would be a cool feature to have.

@mnw700x mnw700x added 🆕 New! enhancement New feature or request labels Jun 12, 2023
@wren wren added this to the Unplanned milestone Jun 20, 2023
@wren wren removed the 🆕 New! label Jun 20, 2023
@wren
Copy link
Member

wren commented Jun 20, 2023

Hi, and thanks for filing this issue.

As you mentioned, Gopher doesn't look like it has a very large user base, but we're not necessarily against adding a new format. All of the formats are currently implemented as separate plugins (in this directory). So, a new Gopher one would do the same (and could use one of the current plugins as a base).

Support for fhis feature isn't a currently priority for us, but if it gets enough support and/or someone to volunteer to develop the plugin, we can definitely talk about including it in the default jrnl distribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants