~strahinja/slw2gmi

slweb to Gemini converter

48e63b0 Bugfix: added checks for NULL get_value

a day ago

cd9a548 Added GCC check to avoid problems with #pragma GCC

5 days ago
                                    slw2gmi
                                    =======

slw2gmi is a converter from slweb[1] to Gemini[2] format. Although both are
similar to Markdown, the two formats differ enough to warrant a full converter.

[1]: https://strahinja.srht.site/slweb/index.html
[2]: https://gemini.circumlunar.space

                                 Prerequisites
                                 -------------

Aside from the obvious (a C compiler, by default GNU C), slw2gmi requires GNU
libunistring[3], realpath(1) to determine paths in local links and groff(1) and
gzip(1) to create and compress documentation.  git(1) is, aside from cloning the
repository, required to use the directive {git-log}.

[3]: https://www.gnu.org/software/libunistring/


                                    Install
                                    -------

$ 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


                                    License
                                    -------

    slw2gmi - slweb to Gemini converter
    Copyright (C) 2021  Страхиња Радић

    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/>.