krz/skunky-art

Alternative privacy frontend for DeviantArt.

clone: git clone https://gitbay.org/krz/skunky-art.git

v1.3.2:

100644 .gitignore52
100644 INSTANCES.md715
100644 LICENSE1338
100644 README.md4599
100644 REDIRECTS.md659
100644 SETUP-RU.md2774
100644 SETUP.md1694
100644 TODO.md1786
040000 app/
100644 config.example.json447
100644 go.mod133
100644 go.sum390
100644 instances.json1536
100644 main.go508
040000 services/
040000 static/

Matrix room

Instances: INSTANCES.md

EN 🇺🇸

Description

SkunkyArt 🦨 — alternative frontend for DevianArt, which works without JS.

Build (translated via DeepL)

It is recommended to build with the 'embed' tag because it embeds the presets in the binary. If you plan to modify the templates, then do not use this tag. You can also add the -ldflags "-w -s" argument (GCCGO has a different name for it — gccgoflags) to reduce the size of the output file. Here is an example:

go build -tags embed -ldflags "-w -s"

Pre-compiled binaries can be found in the Releases tab.

Setup

The sample config is in the config.example.json file. For custom config, use --config option. See the SETUP.md file for more info about directives.

Adding instance to the list

To do this, you must either make a PR by adding your instance to the instances.json and INSTANCES.md files (you can use --add-instance cli-argument to automatically add the instance to these files), or create an Issue, or report it to the room in Matrix. Keep in mind that your instance must comply with the following rules:

  1. the Instance must not use Cloudflare.
  2. If your instance has modified source code, you need to publish it to any free platform. For example, Github and Gitlab are not.

Acknowledgements

RU 🇷🇺

Описание

SkunkyArt 🦨 — альтернативный фронтенд к DeviantArt, который полностью работает без JS (JavaScript).

Сборка

Рекомендуется производить сборку с тегом 'embed', поскольку он встраивает заготовки в бинарный файл. Если вы планируете изменять заготовки, то не используйте этот тег. Также вы можете добавить аргумент -ldflags "-w -s" (у GCCGO он называется по-другому — gccgoflags) для уменьшения размера выходного файла. Вот пример:

go build -tags embed -ldflags "-w -s"

Готовые бинари находятся во вкладке Releases.

Настройка

Пример конфига находится в файле config.example.json. Чтобы указать свой конфиг, используйте cli-аргумент --config. См. SETUP-RU.md для информации о настройки фронтенда.

Добавление инстанса в список

Чтобы это сделать, вы должны либо сделать PR, добавив в файлы instances.json и INSTANCES.md свой инстанс (можете воспользоваться cli-аргументом --add-instance, который автоматически это сделает), либо создать Issue, или сообщить о нём в комнате в Matrix. Учтите, что ваш инстанс должен соблюсти следущие правила:

  1. Инстанс не должен использовать Cloudflare итп.
  2. Если ваш инстанс имеет модифицированный исходный код, то вам нужно опубликовать его на любую свободную площадку. Например, Github и Gitlab таковыми не являются.

Благодарности