Build with Micro.blog logo
Build with Micro.blog
Working examples

Example Apps

Trace real app flows back to the API docs. Each example links to its source repository and the Micro.blog endpoints it uses.

Official iOS and Android client

Micro.blog App

The Micro.blog mobile app is a React Native client that signs in with Micro.blog tokens, reads timelines, posts through Micropub, uploads media, manages bookmarks, and registers for push notifications.

microdotblog/microblog-react
React Native Axios Micropub IndieAuth XML-RPC

Micro.blog App

Official iOS and Android client

Sign in and token verification

The app can verify an existing app token or request an email sign-in link that returns to the custom mobile URL scheme.

2 endpoints

Sends the email sign-in link and mobile redirect metadata.

Verifies an app token and returns the signed-in account profile.

Profile, timelines, and discovery

Timeline screens use the posts APIs for profile lookups, discovery, conversations, and the signed-in user's replies.

4 endpoints

Loads a user's profile feed; the app passes count=0 when it only needs profile metadata.

Loads the Discover feed and tagmoji metadata.

Loads conversation context for a timeline item.

Loads the signed-in user's replies timeline.

Conversations and replies

Conversation screens fetch the reply thread, then post a reply with form data to avoid duplicate submissions.

2 endpoints

Fetches replies and context for a post ID.

Publishes a reply to an existing Micro.blog post.

Posting, editing, drafts, and media

The composer uses Micropub for configuration, categories, syndication targets, source queries, post creation, updates, deletion, and media uploads.

9 endpoints

Reads Micropub config, categories, syndication targets, contacts, posts, pages, drafts, and collections with q parameters.

Creates posts, updates posts, publishes drafts, deletes posts, and manages collections.

Searches and lists uploaded media.

Uploads images, videos, audio, and other media.

Uploads a large media file in chunks.

Marks a chunked upload as ready for server processing.

Polls for media processing status.

Deletes an existing Micro.blog post by ID.

Checks whether publishing has completed and whether new posts are available.

Relationships, muting, and reporting

Profile and safety controls use relationship endpoints for follow state, reports, muted users, muted keywords, and hiding other replies.

6 endpoints

Follows a user from profile and discovery screens.

Unfollows a user.

Reports a user from the profile actions menu.

Lists muted users and keywords for settings.

Mutes a user, keyword, or hides other replies.

Removes a muted user or keyword.

Push notifications

Device registration keeps push settings in sync with the signed-in Micro.blog account and the current platform environment.

3 endpoints

Reads notification registration state for a device.

Registers a device token for push notifications.

Removes a device token when notifications are disabled or the user signs out.

Bookmarks and highlights

Bookmark screens load saved links, tags, recent tags, highlights, and per-bookmark metadata, then save tag changes back to Micro.blog.

5 endpoints

Lists saved highlights from bookmarked pages.

Lists all bookmark tags and recent tags.

Loads one bookmark and its metadata.

Saves tag changes for one bookmark.

IndieAuth and external blog protocols

The app can add external Micropub and XML-RPC services. For Micro.blog-hosted blogs, these same protocol endpoints are exposed by Micro.blog.

3 endpoints

Starts the IndieAuth authorization flow for Micro.blog-hosted blogs.

Exchanges an authorization code for an access token.

Handles MetaWeblog-compatible XML-RPC calls for Micro.blog-hosted blogs.

Notes and read-later client

Strata

Strata is a React Native app for Micro.blog notes, notebooks, bookmarks, highlights, and lightweight posting. It uses the Micro.blog notes APIs for encrypted note storage and Micropub for publishing and saving bookmark entries.

microdotblog/strata
React Native Fetch API Notes Bookmarks Micropub

Strata

Notes and read-later client

Sign in and token verification

Strata signs in through the Micro.blog account endpoints, using a custom redirect URL and app name for email sign-in.

2 endpoints

Sends the email sign-in link for Strata's custom URL scheme.

Verifies a Micro.blog app token and returns account information.

Encrypted notes and notebooks

The notes screens list notebooks, fetch notebook feeds, create or rename notebooks, save encrypted note text, share or unshare notes, and delete notes.

6 endpoints

Lists notebooks for the signed-in user.

Creates a notebook or renames an existing notebook.

Loads notes in a notebook, including paginated fetches with count and offset.

Deletes a notebook.

Creates, edits, shares, unshares, or encrypts a note.

Deletes a note by ID.

Bookmarks, tags, and highlights

Strata's read-later views load bookmark feeds, filter by tag, update bookmark tags, delete bookmarks, fetch recent tags, list highlights, and delete highlights.

6 endpoints

Loads saved bookmarks, optionally filtered by tag or before_id.

Deletes a saved bookmark.

Lists all tags or recent tags for bookmark filtering.

Saves tag changes for one bookmark.

Lists highlights extracted from bookmarked pages.

Micropub posting and bookmark creation

Strata uses Micropub to read posting configuration, categories, and syndication targets, publish posts, update posts, and create bookmark entries from URLs.

2 endpoints

Reads Micropub config, categories, and syndication targets.

Publishes posts, updates posts, and saves bookmark-of entries.

Reader and read-later client

Inkwell

Inkwell is a React Native reader app for Micro.blog feeds, subscriptions, read state, bookmarks, highlights, conversations, and AI-powered recaps. It uses IndieAuth for sign-in and the Feedbin-compatible Micro.blog reader APIs for timeline and subscription workflows.

microdotblog/inkwell-react
React Native Expo AuthSession MobX State Tree Feeds IndieAuth

Inkwell

Reader and read-later client

IndieAuth sign in and token verification

Inkwell starts with an IndieAuth authorization URL, exchanges the callback code for an access token, then verifies that token with Micro.blog account metadata.

3 endpoints

Opens the authorization screen with Inkwell's client ID, redirect URL, scope, and state.

Exchanges the IndieAuth callback code for a Micro.blog access token.

Verifies the access token and reads profile, plan, and Inkwell capability fields.

Subscriptions and feed timeline

The main feed loads subscriptions, feed icons, timeline pages, and entries for a single subscription, while subscription management creates, renames, and deletes followed feeds.

7 endpoints

Lists subscriptions, including the extended mode used by Inkwell.

Adds a feed URL to the reader subscriptions.

Renames an existing subscription.

Loads paginated timeline entries for the main reader feed.

Loads paginated entries for one feed subscription.

Fetches feed icons used in subscription and timeline UI.

Read state and saved reader entries

Inkwell keeps reader state in sync by loading unread and starred entry IDs, marking entries read or unread, and starring or unstarring entries from the timeline.

6 endpoints

Loads IDs for unread entries.

Loads IDs for starred reader entries.

Bookmarks and highlights

The bookmark and highlight views load saved items, create new bookmark entries through Micropub, delete saved bookmarks, and create or delete reader highlights tied to feed entries.

6 endpoints

Loads saved bookmark entries.

Creates bookmark-of Micropub entries for new saved links.

Deletes saved bookmarks.

Lists reader highlights across saved feed entries.

Creates a highlight for a reader entry, with optional text offsets.

Reader detail, replies, and recaps

Entry detail screens can load Micro.blog conversation replies, request a generated reader recap, and read or update the weekly recap email setting.

4 endpoints

Loads Micro.blog conversation replies for a source URL.

Queues or returns an HTML recap for selected reader entries.

Reads the weekly recap email setting.

Updates the weekly recap email day.

Books and reading companion

Epilogue

Epilogue is a React Native companion app for Micro.blog bookshelves. It signs in with Micro.blog, manages books and reading goals, saves encrypted notes for books, publishes book posts through Micropub, and explores movie and TV posting helpers.

microdotblog/epilogue
React Native Bookshelves Notes Micropub Movies

Epilogue

Books and reading companion

Sign in and external blog authorization

Epilogue supports Micro.blog email sign-in, Sign in with Apple, pasted app tokens, and IndieAuth authorization for external Micropub blogs.

5 endpoints

Sends an email sign-in link that returns to Epilogue's custom URL scheme.

Verifies the Apple identity token and returns account or setup information.

Verifies pasted or redirected Micro.blog app tokens before loading app data.

Starts the IndieAuth flow for Micro.blog-hosted blogs when adding an external blog.

Exchanges the IndieAuth callback code for a Micropub access token.

Bookshelves and reading progress

The main bookshelf UI lists shelves and books, copies search results into a shelf, moves existing books, removes books, saves finished dates, and updates custom covers.

7 endpoints

Lists the signed-in user's bookshelves and shelf counts.

Loads the books in the selected bookshelf.

Creates a book from search or discovery metadata and adds it to a bookshelf.

Moves or assigns an existing book to another bookshelf.

Removes a book from the current bookshelf.

Updates a book's cover URL from the Open Library cover picker.

Book discovery, goals, and Open Library

Epilogue searches Micro.blog's book index, shows recently discovered book posts, loads reading goals, edits goal targets, and requests an Open Library session for cover browsing.

6 endpoints

Searches Micro.blog's book index and returns JSON Feed results.

Loads the public book discovery feed.

Lists the user's reading goals.

Loads the books counted toward one reading goal.

Updates the target value or progress for a reading goal.

Returns an Open Library session value for cover browsing.

Book notes

Book detail screens fetch encrypted notes attached to an ISBN, decrypt them locally, and save new or edited encrypted notes back to Micro.blog.

2 endpoints

Fetches notes attached to a specific ISBN.

Creates or updates an encrypted note attached to a book.

Micropub book posts

Epilogue reads Micropub configuration and source posts, then publishes new book posts, updates existing posts, and posts yearly reading-goal drafts.

2 endpoints

Reads Micropub config and source posts for the selected blog.

Publishes new book posts, updates existing posts, and posts reading-goal drafts.

Movies and TV discovery

Movie screens load recent movie activity, search TMDB-backed movie helpers, and expand TV shows into season and episode posting helpers.

4 endpoints

Loads recent movie and TV activity in JSON Feed format.

Searches for movie and TV posting helpers.

Lists seasons for a TMDB show.

Lists episodes for a TV season.