.husky | ||
app/javascript | ||
bin | ||
config | ||
lib/assets | ||
public | ||
streaming | ||
.browserslistrc | ||
.buildpacks | ||
.dockerignore | ||
.env.test | ||
.eslintignore | ||
.eslintrc.js | ||
.foreman | ||
.gitattributes | ||
.gitignore | ||
.nvmrc | ||
.prettierignore | ||
.prettierrc.js | ||
.profile | ||
.rspec | ||
.slugignore | ||
.yarnclean | ||
app.json | ||
AUTHORS.md | ||
babel.config.js | ||
CHANGELOG.md | ||
Dockerfile | ||
ide-helper.js | ||
jest.config.js | ||
jsconfig.json | ||
LICENSE | ||
nginx.conf | ||
package.json | ||
postcss.config.js | ||
README.md | ||
stylelint.config.js | ||
tsconfig.json | ||
yarn.lock |
Mastodon Glitch Edition (standalone frontend)
This is a somewhat hacky fork of glitch-soc that adds standalone support (meaning your browser can OAuth against an arbitrary instance). It's currently tested to work (for the most part) with Iceshrimp and GoToSocial (and obviously Mastodon).
To try this out, go to masto-fe.iceshrimp.dev, type in your instance domain name (for split domain setups, use the web domain) & press the button.
To set this up yourself, clone the repo into e.g. /home/user/masto-fe-standalone
and run yarn && yarn build:production
.
Then configure nginx for a subdomain like this:
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
server {
include sites/example.com/inc/ssl.conf;
server_name masto.example.com;
location / {
root /home/user/masto-fe-standalone/public/;
index index.html;
try_files $uri /index.html;
}
}
And open https://masto.example.com
in your browser, type in your instance domain, press the button & follow the OAuth flow.
Should anything break, open https://masto.example.com/logout.html
or clear local storage manually.