A personal Mastodon reader and blog management tool
Project description
🐘 Mastodon is My Blog
My attempt to create an alternative Mastodon client based on a blogging interface instead of the infinite feed.
- Transform your tweet storms into a static eleventy blog.
- View your friends content in person centric way
- View your special interests in a focused way
- Write, edit, and manage your Mastodon posts in a clean, blog-style interface. (Kind of still in progress)
Installation
pipx install mastodon-is-my-blog
# initialize your accounts and API keys
mimb init
# launch webserver and website
mimb start
Documentation found here
Why?
Because I want to re-orient my mastodon usage from low value infinite doom-scrolling to high value finite activities.
I want the UI to be human centric and encourage seeing people first.
I want the UI to encourage medium length writing as much as reading, including thought out drafts, as well as short content and replies.
Implemented Features
- Eleventy blog, published via GH Actions
- Local Client, which is a Python FastAPI+Sqlite data source and an Angular Website.
- Downloads all my data to sqlite, used by blog engine
- Downloads data of people I follow, hashtags I follow
- Blog-reader like interface for people
- Content hub for special interests (pictures, videos, software links, etc)
- Discussion page (primitive, not done, shows threads my friends participated in)
- Writing Page (primitive, not done)
- Admin Page
Some design decisions
- Refresh is done by clicking a button. Content doesn't arrive in a stream.
- Doesn't feel like a mixed feed. All feeds are filtered, either by person or topic.
- The reader doesn't have any actions. Actions are done via link back to home instance.
- Client side hashtag bundles because viewing a hashtag on Mastodon is broken.
- Why? Because
#pythonand#python314and so on really should show in the same feed. This can only be achieved on vanilla Mastodon via the main feed, which is mixed with 99% unrelated content. Also, most hashtags have not much going on.
- Why? Because
- I call the friends a blogroll and group them by
- Top Friends (people who are mutuals and have ever commented on my content)
- Mutuals (they at least read my content)
- Bots (No one is there, this is just content)
- Broadcasters (Like bots, they write but never interact, at least not with me)
- Retweets are suppressed everywhere. But not quote tweets.
Roadmap
- Analytics page - show performance in one place, not on every post
Other good features
- Treat Mastodon as your personal blog engine. Done! Finally.
- Keep full control with local hosting. This would be ruinously expensive for me to host this for others.
- Beautiful, distraction-free writing interface. Partial!
- Engage with comments/replies easily. Not really!
- Your data stays on your Mastodon instance. Sort of! If you use Github pages, you got a copy of your posts in two places now. The rest of your data is local to your machine.
Local Development
See SETUP.md for detailed setup instructions.
git clone https://github.com/matthewdeanmartin/mastodon_is_my_blog.git
# 1. Install the package
uv sync
# Optional: install Datasette helpers too
uv sync --extra datasette
# 2. Run interactive account setup
uv run mastodon_is_my_blog init
# 3. Start the backend
uv run mastodon_is_my_blog start --reload
# 4. Start the frontend (in another terminal)
cd web && ng serve
Open http://localhost:4200. If you skipped the access token during init, use the web login flow to finish connecting that account.
Static Storm Export
Build the Eleventy blog export for your own long posts and self-reply threads into docs\:
npm --prefix docs-src install
npm --prefix docs-src run build
Architecture
- Backend: FastAPI + mastodon.py + SQLAlchemy
- Frontend: Angular (standalone components)
- Storage: SQLite for tokens and caching, Mastodon for content
More Roadmap
- Draft saving
- Analytics dashboard
- RSS feed links. Maybe already done? Check eleventy.
Why not a single user instance?
First off, that is really a different concept. A single user instance without massive customization is still going to be same experience as mastodon.social, both for people reading your content and for you reading other people's content.
It costs a minimum of $10 a month and requires a server to be running all the time. Administering a server is a burden.
I want this to be as burdensome as using a mastodon client and have a way to use it for free.
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mastodon_is_my_blog-0.3.0.tar.gz.
File metadata
- Download URL: mastodon_is_my_blog-0.3.0.tar.gz
- Upload date:
- Size: 46.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
110bdc01df74dd660be3b4ffc45b43d9eae5d0f02f968bbce1f4cb73783f0dec
|
|
| MD5 |
38516066b3a23007a248de16204f2f5c
|
|
| BLAKE2b-256 |
2a747686a2850e4c21adfd880a7c3960cc0bcdf235a7b757de0f792905964a81
|
Provenance
The following attestation bundles were made for mastodon_is_my_blog-0.3.0.tar.gz:
Publisher:
publish_to_pypi.yml on matthewdeanmartin/mastodon_is_my_blog
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mastodon_is_my_blog-0.3.0.tar.gz -
Subject digest:
110bdc01df74dd660be3b4ffc45b43d9eae5d0f02f968bbce1f4cb73783f0dec - Sigstore transparency entry: 1342649760
- Sigstore integration time:
-
Permalink:
matthewdeanmartin/mastodon_is_my_blog@3737963c1438f4b7ed78ef723ae4b6aa91edd04a -
Branch / Tag:
refs/heads/main - Owner: https://github.com/matthewdeanmartin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_to_pypi.yml@3737963c1438f4b7ed78ef723ae4b6aa91edd04a -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file mastodon_is_my_blog-0.3.0-py3-none-any.whl.
File metadata
- Download URL: mastodon_is_my_blog-0.3.0-py3-none-any.whl
- Upload date:
- Size: 290.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
125469d7a94b1c8a0547762e8905824ef08ff619557d5c9c88ae41022ad4d341
|
|
| MD5 |
8a1325e69e906ca57ff40f8a22e2561d
|
|
| BLAKE2b-256 |
3e2b062202ebeb6096d7e68536ab0c2abae6f72daf33c97be87330ce67199e77
|
Provenance
The following attestation bundles were made for mastodon_is_my_blog-0.3.0-py3-none-any.whl:
Publisher:
publish_to_pypi.yml on matthewdeanmartin/mastodon_is_my_blog
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mastodon_is_my_blog-0.3.0-py3-none-any.whl -
Subject digest:
125469d7a94b1c8a0547762e8905824ef08ff619557d5c9c88ae41022ad4d341 - Sigstore transparency entry: 1342649773
- Sigstore integration time:
-
Permalink:
matthewdeanmartin/mastodon_is_my_blog@3737963c1438f4b7ed78ef723ae4b6aa91edd04a -
Branch / Tag:
refs/heads/main - Owner: https://github.com/matthewdeanmartin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_to_pypi.yml@3737963c1438f4b7ed78ef723ae4b6aa91edd04a -
Trigger Event:
workflow_dispatch
-
Statement type: