blueb-Chuckya-fe-standalone/README.md

29 lines
1.1 KiB
Markdown
Raw Normal View History

# Chuckya (standalone frontend)
2023-08-08 14:25:02 -05:00
This is a somewhat hacky fork of Chuckya that adds standalone support (based on https://iceshrimp.dev/iceshrimp/masto-fe-standalone) (meaning your browser can OAuth against an arbitrary instance). It's currently tested to work (for the most part) with Iceshrimp and Iceshrimp.NET.
2023-08-08 14:25:02 -05:00
2023-10-12 20:26:48 +02:00
To set this up yourself, clone the repo into e.g. `/home/user/masto-fe-standalone` and run `yarn && yarn build:production`.
2023-08-08 14:25:02 -05:00
2023-10-12 20:13:42 +02:00
Then configure nginx for a subdomain like this:
2023-08-08 14:25:02 -05:00
2023-10-12 20:13:42 +02:00
```
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
2024-01-11 20:52:24 -06:00
2023-10-12 20:13:42 +02:00
server {
include sites/example.com/inc/ssl.conf;
server_name masto.example.com;
2024-01-11 20:52:24 -06:00
2023-10-12 20:13:42 +02:00
location / {
root /home/user/masto-fe-standalone/public/;
index index.html;
try_files $uri /index.html;
}
}
```
2024-01-03 17:26:25 -06:00
2023-10-12 20:13:42 +02:00
And open `https://masto.example.com` in your browser, type in your instance domain, press the button & follow the OAuth flow.
2023-08-08 14:25:02 -05:00
2023-10-12 20:13:42 +02:00
Should anything break, open `https://masto.example.com/logout.html` or clear local storage manually.