langbrain/YuNoHost - Apps.md

2.2 KiB

SearXNG

SearxNG is a fork of searx, a meta search engine

Can be used with langchain

By default, the install only allows for HTML format,

So, after install, if you run $ curl -kLX GET --data-urlencode q='langchain' -d format=json https://searxng.domain.tld

You will get this message:

<!doctype html>

<html lang=en>

<title>403 Forbidden</title>

<h1>Forbidden</h1>

<p>You don&#39;t have the permission to access the requested resource. It is either read-protected or not readable by the server.</p>

So we need to allow the JSON format.

# vim /opt/yunohost/searxng/searx/settings.yml <- old

# vim /var/www/searxng/searxng-src/searx/settings.yml <- new

By default, it's in readonly mode so you'll need to be logged in as root

On line 64:

formats:
  - html

So we'll need to change it to

formats:
  - html
  - json

Then, we can restart the service with # systemctl restart uwsgi-app@searxng.service

From your local machine you can now test with $ curl -kLX GET --data-urlencode q='langchain' -d format=json https://searxng.domain.tld

Mastodon

Mastodon is a great alternative to Twitter or Threads.

Also, by running your own instance, you will be able to create bots.

NextCloud

Gitea

Overview

Gitea is a self hosted git forge. It's a great alternative to GitHub or GitLab. Even though GitLab is also open source and installable via YuNoHost, it requires way more ressources. For most small projects, Gitea is more than enough.

Enabling git hooks on Gitea

To allow gitea create git hooks (which can be super useful for Continuous Deployment), we must add one line to /opt/gitea/custom/conf/app.ini

...

[security]

...

DISABLE_GIT_HOOKS = false

You can then restart the gitea service with $ yunohost service restart gitea

Be careful though, be sure that all the users who have access to Gitea on your YuNoHost instance are trust worthy and know what they are doing when writing git hooks

source

Using git hooks with Gitea

Vaultwarden

Vaultwarden is the Rust implementation of Bitwarden, an open source password manager that integrates with clients on Firefox, Chrome, iOS and Android.

Kanboard