1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gotosocial_ynh.git synced 2024-09-03 19:16:06 +02:00
GoToSocial package for YunoHost: an ActivityPub social network server, written in Golang.
Find a file
2022-05-12 19:36:06 +02:00
.github some linter errors improvments 2022-04-13 23:31:35 +02:00
conf Upgrade to version 0.3.1 (#19) 2022-04-26 23:00:35 +02:00
doc added instructions for administration 2022-05-12 19:36:06 +02:00
scripts Revert "Revert "quoting all variables"" 2022-03-28 20:00:13 +02:00
sources Initial commit 2021-08-15 21:48:06 +02:00
.gitignore Initial commit 2021-08-15 21:48:06 +02:00
check_process fixed file 2022-03-21 05:30:44 +01:00
config_panel.toml trying to fix for "true/false" instead of "1/0" 2022-03-28 19:15:12 +02:00
LICENSE add wtfpl licence 2022-03-13 21:39:05 +01:00
manifest.json Upgrade to version 0.3.1 (#19) 2022-04-26 23:00:35 +02:00
README.md added instructions for administration 2022-05-12 19:36:06 +02:00
README_fr.md added instructions for administration 2022-05-12 19:36:06 +02:00

GoToSocial for YunoHost

Integration level
Install GoToSocial with YunoHost

Lire ce readme en français.

This package allows you to install GoToSocial quickly and simply on a YunoHost server. If you don't have YunoHost, please consult the guide to learn how to install it.

Overview

GoToSocial is an ActivityPub social network server, written in Golang.

With GoToSocial, you can keep in touch with your friends, post, read, and share images and articles. All without being tracked or advertised to!

Documentation is at docs.gotosocial.org.

Shipped version: 0.3.1~ynh1

Screenshots

Disclaimers / important information

GoToSocial is still in alpha and may be unstable. You can read the roadmap to check the progress of GoToSocial's features.

GoToSocial require a dedicated root domain, for example: gotosocial.domain.tld.

This package is not-working SSO (single-sign on) or LDAP integration.
You will have a separate account from the rest of your Yunohost server, potentially with a different username and password.

GoToSocial does not provide a user interface.
You will need to use a Mastodon-compatible client such as Tusky on Android or an instance of Pinafore on the Web.

Things to know

Administration

You can login to gts.superseriousbusiness.org/admin to administrate your GoToSocial instance. The source code of this administration panel is available on github. The GTS admin panel documentation.

In this administration interface, you can configure the following things:

  • The name of your instance
  • Its description
  • Your contact e-mail address
  • The referring user
  • Blocked domains (not to federate with)

Configuration

You can configure your instance using the config panel integrated in Yunohost, you will find it in the admin interface of your Yunohost by following these steps: Applications > gotosocial > Configure this app (Config Panel)

In this control panel you can configure the following things:

  • Account configuration :
    • Are registrations open?
    • Manual validation of registrations?
    • Required reason for registration?
  • Media configuration
    • Maximum image size
    • Maximum video size
    • Minimum number of characters for media descriptions
    • Maximum number of characters for media descriptions
    • Number of days media can be cached
  • Post configuration
    • Maximum number of characters for a new post
    • Maximum number of characters in a Content Warning / subject of a new post
    • Maximum number of options for a poll
    • Maximum number of characters for a poll option
    • Maximum number of media that can be added to a post

Note: Do not edit the config.yaml file by hand. Always use this control panel instead.

Command line (CLI)

To use the GoToSocial command line, you first need to place yourself in the folder of your instance: cd /var/www/gotosocial/ or cd /var/www/gotosocial__x/ (where x is the installation number of your instance, in the case of multi-installation) Feel free to refer to the [https://docs.gotosocial.org/en/latest/admin/cli/](GoToSocial command line documentation).

User creation

To create a new user, proceed as follows:

gotosocial admin account create --username some_username  --email someuser@example.org --password 'somelongandcomplicatedpassword'

gotosocial admin account confirm --username some_username

And to promote them as an administrator of your instance:

gotosocial admin account promote --username some_username

Documentation and resources

Developer info

Please send your pull request to the testing branch.

To try the testing branch, please proceed like that.

sudo yunohost app install https://github.com/YunoHost-Apps/gotosocial_ynh/tree/testing --debug
or
sudo yunohost app upgrade gotosocial -u https://github.com/YunoHost-Apps/gotosocial_ynh/tree/testing --debug

More info regarding app packaging: https://yunohost.org/packaging_apps