|
1 year ago | |
---|---|---|
README.md | 1 year ago | |
main.go | 1 year ago |
Created a gopher listing of the categories and their links for a linkulator isntance (using the linkulator2 format). The output gophermaps will not list the users that posted the links and do not include comments. This is intentional, as that conversation and identification was meant for the audience on the server... not necessarily public consumption. Listing only the links lets people discover cool things, while staying away from publicizing comments and identifying information. Hopefully this is deemed to be in keeping with the style and format of linkulator.
link2goph only uses the Go standard library and should be compatible with at least 1.12 forward (possibly 1.11, I have not tested it yet).
To build, simply run: go build
or go install
in accordance with your preference from the root directory of the project.
If you used go install
then link2goph should hopefully be on your path. In which case you can run it like so:
link2goph -s -r ./ -p 70 -h agopher.hole -g /~sloum
The following options are available:
Using the -u
flag does include the user's name in the output header. I mention it here since it goes against the above statement regarding keeping user names and comment data out of the generated gopher content.