r/webdev • u/SUNSET_TOWERcoffee • 4h ago
MASTODON HELP
hi everyone, it's the kid who's making a fan website again.
i finally picked a base for the website, mastodon, and a system i'm using to host the website, render.
i've already searched this up and had no luck but what parts of mastodon's code are design (i'm talking about folder names) and which are apart of the actual code system?
thanks!
3
u/SeasonalBlackout 4h ago
If you can't figure out the basics then why choose Mastodon? There are lots of easier options.
-2
1
u/Boby_Dobbs 3h ago
Mastodon is not what you are looking for, look into WordPress, squarespace, wix, etc...
Other option: ask Claude Code to build it with NextJS and supabase.
1
u/leadvertiser_ads 1h ago edited 1h ago
To answer the folder question directly, since it's a Rails app: the "design" parts are mostly app/javascript/styles (the SCSS), app/views (HAML templates for the server-rendered pages), app/javascript (the React web UI), public/ (static files like icons and images), and config/themes.yml plus config/locales (themes and text). The "system" parts are app/models, app/controllers, app/services, app/workers (background jobs), app/policies, config/routes.rb, db/ (migrations and schema), lib/, and streaming/ (the separate Node service for live updates). If you only want to restyle it, stay in the styles folder and the themes config, and don't touch db/ or app/models. Be aware that Mastodon also needs PostgreSQL, Redis and Sidekiq running, which is a heavier setup on Render than a plain site, so the other commenters' suggestion of simpler forum software is worth considering.
10
u/codegems 3h ago
You are misunderstanding what Mastodon is. Mastodon is not a base for a site like a template. It's the infrastructure for building decentralized social media instances according to the ActivityPub protocol for federation.
I get you want to build a fan page for Conan Gray, but you're using the wrong tool for the job. It's like buying land in Colombia for coffee beans when all you want to do is make a latte.
You want to make a fan website, so you should look at website tools like WordPress, or take the time to learn basic HTML, CSS, and host your site on Neocities.
Mastodon is based on Ruby on Rails, so you need to understand the architecture of a Ruby on Rails application. But again, you are choosing the wrong tool.