microfeed

mcp
Guvenlik Denetimi
Uyari
Health Gecti
  • License — License: AGPL-3.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 4139 GitHub stars
Code Uyari
  • process.env — Environment variable access in .github/workflows/create-or-update-microfeed.yml
  • process.env — Environment variable access in astro.config.ts
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

an agentic cms self-hosted on cloudflare, for podcasts, blogs, photos, videos, documents, and curated urls.

README.md


microfeed: an agentic cms self-hosted on cloudflare

Docs · API · MCP · CLI · Report Bug · Request Feature · Email Us Privately

Welcome to microfeed, a lightweight content management system (CMS) self-hosted on Cloudflare.
With microfeed, you can easily publish a variety of content such as audios, videos, photos, documents, blog posts,
and external URLs to a feed in the form of web, RSS, and JSON. It's the perfect solution for tech-savvy individuals who
want to self-host their own CMS without having to run their own servers.

Manage content through the Admin UI,
the official CLI,
experimental browser WebMCP,
or each instance's remote MCP server.

microfeed is built by Listen Notes and is hosted on Cloudflare's Workers,
R2, and D1.

If you have any questions or feedback, please don't hesitate to reach out to us at [email protected]. We'd love to hear from you!

📚 Table of contents

CI
Email us

⭐️ How it works

Since the 1990s, a significant portion of the web has been powered by feeds.
People (and bots) publish items to a feed, and others can subscribe to that feed to receive new content.

microfeed makes it easy for individuals to self-host their own feed on Cloudflare, including but not limited to

microfeed uses Cloudflare Workers to host and run the code,
R2 to host and serve media files,
D1 to store metadata,
and a built-in email and password login to protect the microfeed admin
dashboard.
Cloudflare provides very generous free usage quotas, making it an affordable solution for personal or small business use.
While you will still need to pay for a domain name, hosting microfeed on Cloudflare is essentially free.

With microfeed, you can publish a variety of content such as audios, videos, photos, documents, blog posts,
and external URLs to a customizable website, an RSS feed, and a JSON feed.
Check out some examples of microfeed in action:

microfeed provides a simple yet powerful admin dashboard,
where you create and edit posts, upload media files, and customize how
your site looks. If you've used WordPress before, you'll find it familiar.

Dashboard home

Each instance includes a remote MCP server
for compatible AI assistants such as ChatGPT, Claude, Gemini, and Codex.
It uses Streamable HTTP with OAuth authentication. Enable it, connect with your
site's /mcp/ URL, then sign in and approve permissions in your browser. With
write access, assistants can create drafts, publish items, and manage Pages,
tags, and Site Files.

For terminal-based content management, the official
@microfeed/cli lets a local
AI agent create, update, and delete items; upload media files like images, audios, videos and documents.
Run it from any folder with npx @microfeed/cli. If you have Git-cloned the
microfeed source repository and installed its dependencies, yarn microfeed
is a shortcut that runs the repository's local CLI version.

Back to 📚TOC

🚀 Installation

Quickstarts

Open a local AI coding agent such as Codex, Claude Code, or Cursor, then paste
this prompt:

Deploy microfeed to Cloudflare. Start by running `npx @microfeed/cli manage`,
then follow its instructions until deployment is verified.

https://github.com/user-attachments/assets/96c73a94-2068-4172-9003-8bf3a262121d

The agent guides the Cloudflare authorization, deployment, and verification.
Read the complete AI-agent guide.

Back to 📚TOC

Different ways to deploy

  • Use a local AI agent:
    the simplest option—start with one prompt and let the agent deploy and verify
    the site.
  • Use GitHub Actions:
    deploy from a consistent hosted Ubuntu runner after configuring your fork.
  • Use the management CLI manually:
    run npx @microfeed/cli manage to deploy an official microfeed release, or
    run yarn manage inside a Git-cloned source directory to deploy that
    checkout—including a fork or your own modifications.

Compare the benefits and tradeoffs
of all three methods. Each uses Cloudflare browser authorization and the same
guarded deployment engine.

Back to 📚TOC

Advanced

The documentation site covers advanced setup and ongoing management:

For exact CLI behavior and safeguards, use the management CLI
reference
.

Back to 📚TOC

✍️ Start publishing

Once initialization is complete, your microfeed instance is ready to use.
Choose one of four ways to manage content:

Workflow Use it for
Admin UI Create, edit, upload media, review drafts, and publish in the visual dashboard.
CLI Run content commands yourself or give a local coding agent a task through @microfeed/cli. Requires API access and browser authorization.
WebMCP Let a compatible browser agent read content and edit the visible new or unpublished draft in a protected dashboard. Experimental and draft-only.
MCP server Connect an AI assistant to your instance's remote /mcp/ endpoint over Streamable HTTP with OAuth read/write permissions. Enable it separately in the dashboard.

See Choose how to manage content
for requirements and setup links.

Use npx @microfeed/cli from any folder. If the agent is already working in a
Git-cloned microfeed source repository whose dependencies are installed, it
can use yarn microfeed as a shortcut to the repository's local CLI version.
Never paste an API key or CLI credential into an agent conversation.

Connect an AI app with MCP

  1. Sign in to your dashboard using built-in administrator login.
  2. Open MCP Server, turn on Enable MCP server, and copy the URL,
    such as https://feed.example.com/mcp/.
  3. Add that URL to your app as an OAuth MCP server using Streamable HTTP,
    then sign in and approve the requested permissions.

Select the connected integration in your app and try:

Create an unpublished draft titled "My next post" from the notes below.
Return its item ID so I can review it in microfeed. Ask before publishing.

MCP starts disabled and has its own switch. See the
MCP connection guide for client
setup, refresh access, media uploads, troubleshooting, and revocation.

Change the public theme

Open Settings → Themes in the admin dashboard to change how the public
website looks. New sites install and activate the bundled
microfeed.default theme. Its eight Mustache templates cover the feed, item,
standalone Page, Search page, web header, body start, body end, and RSS
stylesheet. Page navigation comes from navigation_pages; theme controls marked
with data-microfeed-search-open use microfeed's shared search dialog,
typeahead results, and Command/Ctrl-K behavior.

Installed theme versions are immutable and stored in D1. Create an editable
draft from any installed version, preview feed, item, Page, Search, and RSS
views, then install the draft as a new inactive version. Installation never
changes the public site: activation is a separate action, and the previous
version remains available for rollback. Existing installed themes continue to
work after an upgrade because their complete manifests and templates are
already stored with the site.

Themes developed by the community can be installed from public GitHub
repositories with npx @microfeed/cli manage theme. Developers and AI coding agents can
initialize a standalone theme repository, work with fixtures or a live public
JSON Feed, use tools such as Tailwind CSS, and validate the package before it
is installed. See Build and release a theme
for the complete authoring workflow and Themes and website
code
for the site-owner controls.
The only bundled source project is themes/default. It is a
complete standalone Theme Kit workspace with Tailwind CSS, TypeScript,
fixtures, validation, tests, and yarn preview. Its generated package has no
runtime dependency or required R2 assets, and its design tokens can be adjusted
from an Admin version draft.

Every site also exposes JSON Feed data, so you can use microfeed as a headless
CMS and build separate websites, apps, automations, or integrations around the
same published content.

Back to 📚TOC

✨ Features

Feature What it gives you
Publish many content types Share articles, podcasts, videos, images, documents, and curated external links from one feed.
Website, RSS, and JSON Feed Reach browsers, podcast and feed readers, developer tools, and AI agents without publishing the same item repeatedly.
Podcast-specific fields Add transcripts, chapters with JSON import, hosts and guests, support links, content licenses, and advisory feed import locks, with Podcasting 2.0 RSS tags and JSON Feed fields.
SEO / GEO Customize search titles, descriptions, social images, publisher and author identities, and stable item URLs, with search and social previews and structured data.
Admin UI Create and edit posts, upload media, control visibility, manage settings, and preview changes in the browser.
Content CLI Run task-oriented content commands from a terminal or local coding agent with browser-authorized access.
Experimental WebMCP Let a compatible browser agent discover read and draft-only editing tools in the signed-in dashboard.
Remote MCP server Connect AI assistants over Streamable HTTP with OAuth read/write access to items, Pages, tags, channel details, media preparation, and Site Files.
Headless CMS and content automation Read and update content through the API, receive signed change notifications through webhooks, and give local AI agents a friendlier workflow through @microfeed/cli.
Versioned themes Edit safely in Admin or install community themes from GitHub, preview inactive versions, and activate or roll back explicitly.
Your data on your Cloudflare account Keep content metadata in D1 and optional media and theme assets in R2 under infrastructure you control.
Portable backups Export the database, media bucket, theme versions, and migration history together in an owner-readable snapshot.
Custom domains and access controls Use your own web address and choose public, headless, or offline delivery while protecting the dashboard separately.
Serverless operation Run on Cloudflare Workers without maintaining a traditional application server.

Back to 📚TOC

💻 FAQs

How can I track podcast / video / image downloads?

To track podcast, video, or image downloads with microfeed, you can use the tracking URLs feature.
This allows you to set up third-party tracking URLs for your media files, such as those provided by OP3, Podtrac...

To set up tracking URLs, you will need to go to Settings / Tracking URLs:
Screenshot 2023-01-05 at 7 57 02 AM

From there, you can add the third-party tracking URLs that you want to use.
microfeed will automatically add these URLs to the front of the URL for your media files, allowing you to track download statistics.

This is a common practice in the podcast industry and can be a useful way to monitor the performance of your content and understand how it is being consumed by your audience.

Why Cloudflare? Isn't it dangerous to trust a for-profit company?

Many individuals and organizations trust and use Cloudflare's services because it has a reputation for providing reliable and effective services.
We (Listen Notes) have been using Cloudflare for many years.

It's convenient to manage all things on a one-stop platform like Cloudflare (e.g., DNS, Cache, firewall, running code, CDN, trustless logins...).

microfeed is still in open alpha phase. Cloudflare is the first platform we support.
We may consider supporting other serverless platforms, so you can easily migrate away if needed.

What if Cloudflare de-platforms my microfeed instance?

It is important to carefully review the terms of service for any service that you use, including Cloudflare.
It is possible that if you violate the terms of service, the service may take action, such as de-platforming your instance.

To protect against the possibility of being de-platformed, it is a good idea to regularly backup your data from Cloudflare.
This will allow you to recover your contents and potentially migrate them to a different platform if necessary.
It is also a good idea to use your own custom domain, as this will give you more control over your content and make it easier to move your data to a different platform if needed.

Why should I use microfeed?

If you are already using Cloudflare and are satisfied with its services, then using microfeed may be a good option for you.

If you don't want to manage your own servers, microfeed can be a convenient alternative that allows you to take advantage of
Cloudflare's infrastructure and security features.

If you don't want to pay for servers, microfeed can be a cost-effective solution, as Cloudflare provides generous free usage quotas.

If you are looking for something new and are interested in exploring different options, microfeed could be a good choice to consider.
It is always a good idea to carefully evaluate any service before using it to ensure that it meets your needs and is a good fit for your use case.

How can I download or back up my microfeed data?

microfeed stores metadata in Cloudflare D1 and media files in Cloudflare R2.
Create one portable, owner-readable archive containing the D1 schema and
durable data, migration history, the entire R2 bucket, object metadata, and
checksums:

# Replace <instance-name> with a saved instance name.
npx @microfeed/cli manage snapshot create --instance <instance-name> --output backup.tar.gz

You can also download a Cloudflare site and immediately create a new local copy
with its real content:

# Replace both placeholders with saved or new instance names.
npx @microfeed/cli manage snapshot pull \
  --instance <instance-name> \
  --local-instance <local-instance-name>

Restore archives only with a microfeed release whose migration history exactly
extends the snapshot's recorded history. Local restore requires a new local instance.
Cloudflare restore requires a newly initialized site with nonreused, unchanged
D1 and R2 resources, a successful dry run, and exact site-name confirmation.
See the canonical snapshot command reference
for restore examples, migration rules, maintenance mode, and resume behavior.

The archive contains administrator password hashes and possibly private media.
It is unencrypted and created with owner-only file permissions, so store and
encrypt it according to your backup policy.

Back to 📚TOC

💪 Contributions

We welcome bug fixes, features, tests, documentation, and other improvements.
Read CONTRIBUTING.md for local setup, architecture rules,
branch naming, validation, and pull request expectations. For substantial
features or architectural changes, please open an
issue before starting.

Back to 📚TOC

🛡️ License

microfeed is licensed under the AGPL-3.0 license. Please see the LICENSE file for more information.

Back to 📚TOC

Yorumlar (0)

Sonuc bulunamadi