💾 Archived View for gemini.strahinja.org › slw2gmi captured on 2024-03-21 at 15:06:34. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-02-05)
-=-=-=-=-=-=-
slw2gmi is a converter from slweb to Gemini format. Although both are similar to Markdown, the two formats differ enough to warrant a full converter.
$ git clone https://git.sr.ht/~strahinja/slw2gmi $ cd slw2gmi $ su
Then, if you have djb redo:
# redo install
if you don't:
# ./do install
The file config.redo will be sourced when building targets which also accept configuration through environment variables. For example, CC and PREFIX are specified in config.redo.
Replace gcc in CC with cc and add -D_BSD_SOURCE, eg:
# CC='cc -g -Wall -pedantic -std=c99 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE}' \ ./do install
and change MANPREFIX to
MANPREFIX=$PREFIX/man
See the file TODO for more information.
Bugs can be reported using the ticket tracker. See the manpage (man slw2gmi) after installing slw2gmi for more information.
slw2gmi - slweb to Gemini converter Copyright (C) 2021, 2022, 2023 Страхиња Радић
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
Previous commit: index.slw 07fe6ed 2024-03-16 22:27:55 +0100 (Страхиња Радић) (HEAD -> master, origin/master, origin/HEAD)
Generated by slw2gmi © 2021-2023 Strahinya Radich.