2021-08-15 21:48:06 +02:00
<!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
It shall NOT be edited by hand.
-->
2022-03-07 20:54:00 +01:00
# GoToSocial for YunoHost
2021-08-15 21:48:06 +02:00
2022-05-28 06:17:23 +02:00
[![Integration level ](https://dash.yunohost.org/integration/gotosocial.svg )](https://dash.yunohost.org/appci/app/gotosocial) ![Working status ](https://ci-apps.yunohost.org/ci/badges/gotosocial.status.svg ) ![Maintenance status ](https://ci-apps.yunohost.org/ci/badges/gotosocial.maintain.svg )
2022-03-07 20:54:00 +01:00
[![Install GoToSocial with YunoHost ](https://install-app.yunohost.org/install-with-yunohost.svg )](https://install-app.yunohost.org/?app=gotosocial)
2021-08-15 21:48:06 +02:00
*[Lire ce readme en français.](./README_fr.md)*
2022-03-07 20:54:00 +01:00
> *This package allows you to install GoToSocial quickly and simply on a YunoHost server.
2021-08-15 21:48:06 +02:00
If you don't have YunoHost, please consult [the guide ](https://yunohost.org/#/install ) to learn how to install it.*
## Overview
2022-03-14 03:14:34 +01:00
GoToSocial is an [ActivityPub ](https://activitypub.rocks/ ) 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!
2022-05-13 00:22:49 +02:00
![GoToSocial's logo, a stylized sloth head ](./doc/logo_sloth.png )
2022-03-14 03:14:34 +01:00
2022-03-14 03:32:34 +01:00
Documentation is at [docs.gotosocial.org ](https://docs.gotosocial.org ).
2022-03-14 03:14:34 +01:00
2022-08-12 01:15:57 +02:00
2022-10-05 00:00:03 +02:00
**Shipped version:** 0.5.2~ynh1 *(:warning: This is the `ci-auto-update-v0.5.2` branch. The [`master` branch](https://github.com/YunoHost-Apps/gotosocial_ynh/tree/master) used in the catalog is currently on version 0.5.1\~ynh1.)*
2022-05-13 17:18:45 +02:00
2022-08-12 01:15:57 +02:00
2021-08-15 21:48:06 +02:00
## Screenshots
2022-05-28 06:17:23 +02:00
![Screenshot of GoToSocial ](./doc/screenshots/screenshot.jpg )
2021-08-15 21:48:06 +02:00
## Disclaimers / important information
2022-05-12 19:36:06 +02:00
GoToSocial is still in alpha and **may be unstable** . You can read [the roadmap ](https://github.com/superseriousbusiness/gotosocial/blob/main/ROADMAP.md ) to check the progress of GoToSocial's features.
2022-03-18 18:44:18 +01:00
2022-03-20 00:48:45 +01:00
GoToSocial require a **dedicated root domain** , for example: gotosocial.domain.tld.
2022-03-14 03:32:34 +01:00
2022-05-12 19:36:06 +02:00
This package is not-working SSO (single-sign on) or LDAP integration.
2022-03-14 03:32:34 +01:00
You will have a separate account from the rest of your Yunohost server, potentially with a different username and password.
2022-03-17 05:57:19 +01:00
GoToSocial **does not provide a user interface** .
2022-03-20 17:57:38 +01:00
You will need to use a Mastodon-compatible client such as [Tusky ](https://tusky.app/ ) on Android or an instance of [Pinafore ](https://pinafore.social/ ) on the Web.
2022-03-17 05:57:19 +01:00
2022-05-12 19:36:06 +02:00
### Things to know
#### Administration
2022-06-15 16:49:58 +02:00
You can login with your admin user (the one automatically created at the instalaltion) to your-instance.com/**admin** or using the public instance [gts.superseriousbusiness.org/admin ](https://gts.superseriousbusiness.org/admin/ ) to administrate your GoToSocial instance.
2022-05-12 19:41:59 +02:00
[The source code of this administration panel ](https://github.com/superseriousbusiness/gotosocial-admin ) is available on github.
2022-05-12 19:36:06 +02:00
[The GTS admin panel documentation ](https://docs.gotosocial.org/en/latest/admin/admin_panel/ ).
In this administration interface, you can configure the following things:
2022-05-12 20:33:33 +02:00
* The name of your instance
* Its description
* Your contact e-mail address
* The referring user
* Blocked domains (not to federate with)
2022-05-12 19:36:06 +02:00
#### Configuration
2022-05-12 19:41:59 +02:00
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:
2022-05-12 19:36:06 +02:00
`Applications > gotosocial > Configure this app (Config Panel)`
In this control panel you can configure the following things:
2022-05-12 20:33:33 +02:00
* 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
2022-05-14 09:03:23 +02:00
Note: **Do not edit** the `config.yaml` file by hand. Always use this config panel instead. Otherwise your changes will be deleted at each update!
2022-05-12 19:36:06 +02:00
#### Command line (CLI)
2022-05-12 19:41:59 +02:00
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)
2022-05-13 17:18:41 +02:00
Feel free to refer to the [GoToSocial command line documentation ](https://docs.gotosocial.org/en/latest/admin/cli/ ).
2022-05-12 19:36:06 +02:00
#### User creation
To create a new user, proceed as follows:
``` bash
2022-05-14 20:48:11 +02:00
./gotosocial --config-path config.yaml admin account create --username some_username --email someuser@example.org --password 'SomeLongAndComplicatedPassword'
2022-05-12 19:36:06 +02:00
2022-05-14 20:48:11 +02:00
./gotosocial --config-path config.yaml admin account confirm --username some_username
2022-05-12 19:36:06 +02:00
```
And to promote them as an administrator of your instance:
``` bash
2022-05-14 20:48:11 +02:00
./gotosocial --config-path config.yaml admin account promote --username some_username
2022-05-12 19:36:06 +02:00
```
2022-03-15 17:59:40 +01:00
2022-10-05 00:00:03 +02:00
## :red_circle: Antifeatures
- **Alpha software**: Early development stage. May contain changing or unstable features, bugs, and security vulnerability.
2021-08-15 21:48:06 +02:00
## Documentation and resources
2022-05-28 06:17:23 +02:00
* Official app website: < https: // docs . gotosocial . org />
* Official user documentation: < https: // docs . gotosocial . org / en / latest />
* Official admin documentation: < https: // docs . gotosocial . org / en / latest />
* Upstream app code repository: < https: // github . com / superseriousbusiness / gotosocial >
* YunoHost documentation for this app: < https: // yunohost . org / app_gotosocial >
* Report a bug: < https: // github . com / YunoHost-Apps / gotosocial_ynh / issues >
2021-08-15 21:48:06 +02:00
## Developer info
2022-03-07 20:54:00 +01:00
Please send your pull request to the [testing branch ](https://github.com/YunoHost-Apps/gotosocial_ynh/tree/testing ).
2021-08-15 21:48:06 +02:00
To try the testing branch, please proceed like that.
2022-05-28 06:17:23 +02:00
``` bash
2022-03-07 20:54:00 +01:00
sudo yunohost app install https://github.com/YunoHost-Apps/gotosocial_ynh/tree/testing --debug
2021-08-15 21:48:06 +02:00
or
2022-03-07 20:54:00 +01:00
sudo yunohost app upgrade gotosocial -u https://github.com/YunoHost-Apps/gotosocial_ynh/tree/testing --debug
2021-08-15 21:48:06 +02:00
```
2022-05-28 06:17:23 +02:00
**More info regarding app packaging:** < https: / / yunohost . org / packaging_apps >