• Stars
    star
    230
  • Rank 167,788 (Top 4 %)
  • Language
    TypeScript
  • Created about 7 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The official Mastodon project homepage

joinmastodon.org

Informational site for the Mastodon project

Submit translations here: https://crowdin.com/project/joinmastodon

Development

To build the site, you'll need to have Node.js version 16 installed, which you can download from their website or install via tools like fnm or nvm. For dependency management, yarn is used, it should be automatically be installed when you install Node.js, if it's not available you can use corepack enable and corepack prepare yarn@1 to install it.

Installation

yarn
yarn run dev

See /package.json for more scripts.

Contributing

See CONTRIBUTING for more information. All interactions with this and other repositories that are part of the Mastodon project are subject to the Mastodon Code of Conduct.

Built with

Translations

Submit translations at Crowdin.

Translations are managed via Crowdin and distributed with react-intl. The basic translation workflow is:

  1. Messages are declared using the <FormattedMessage> component
  2. Default messages are extracted to locales/en.json by running yarn extract
  3. The locale files are synced with the Crowdin project. Any new messages in the source file(locales/en.json) are made available for translation for other languages. Any new translated messages are downloaded back to the repo into corresponding locale files (e.g. locales/es.json).
  4. On build, each locale loads its corresponding messages from getStaticProps() (example).

Internationalized Routing

Localized versions of each page are hosted at dedicated URLs, making it easier for web crawling in users' preferred language. (docs)

Image optimization

Raster images should be added at the maximum resolution they'll be displayed at. If art direction is not required, mobile images will be generated automatically. (docs)

Deployment

Next.js should be hosted using a Node.js server. (see instructions). While it absolutely can exported to static HTML,

are the primary benefits of a Node.js server for this project.

For now, Node 16 LTS is recommended for building the site until support for Node 18 is provided by Squoosh.

More Repositories

1

mastodon

Your self-hosted, globally interconnected microblogging community
Ruby
45,816
star
2

mastodon-ios

Official iOS app for Mastodon
Swift
1,965
star
3

documentation

Mastodon documentation
SCSS
1,688
star
4

mastodon-android

Official Android app for Mastodon
Java
1,583
star
5

mastodon-api

A ruby interface for the Mastodon API
Ruby
167
star
6

mastodon-ansible

Ansible playbook for installing Mastodon
Jinja
158
star
7

chart

Helm chart for Mastodon deployment in Kubernetes
Mustache
142
star
8

mastodon-native

Mobile Mastodon app using React Native
JavaScript
97
star
9

flodgatt

A blazingly fast drop-in replacement for the Mastodon streaming API server
Rust
86
star
10

mastodon-bridge

Moved to https://source.joinmastodon.org/mastodon/bridge
Ruby
62
star
11

blog

The official Mastodon blog
HTML
35
star
12

omniauth-mastodon

OmniAuth strategy for Mastodon
Ruby
34
star
13

ostatus2

A Ruby toolset for interacting with the OStatus suite of protocols
Ruby
32
star
14

goldfinger

A Webfinger utility for Ruby
Ruby
31
star
15

gamo

An image proxy and optimization server
Go
26
star
16

mastodon-vagrant-box

A Vagrant base box for Mastodon
Shell
19
star
17

webpush-fcm-relay

Relay encrypted WebPush notifications to Firebase Cloud Messaging.
Go
11
star
18

packer

Build automation for DigitalOcean 1-click Install Image
Shell
8
star
19

terraform-fastly-service

Terraform module for more easily defining a Fastly service, following Mastodon common use cases.
VCL
4
star
20

terraform-hetzner-k8s-kubeone

Terraform module for deploying kubernetes clusters in Hetzner Cloud.
HCL
4
star
21

terraform-fastly-files-service

Terraform module for creating a fastly service for Mastodon's files backend
HCL
3
star
22

terraform-fastly-joinmastodon

Terraform module for setting up fastly services that make up the joinmastodon.org domain
HCL
2
star
23

.github

Mastodon org-level files
2
star
24

fastly-globeviz-data

Backend server for Fastly Globeviz app (https://dev.to/fastly/visualize-your-fastly-traffic-on-a-real-time-globe-using-glitch-9di)
Go
2
star
25

helm-charts

Smarty
2
star
26

terraform-hetzner-ssh

Terraform module for managing SSH keys in Hetzner Cloud
HCL
1
star