Post new content from RSS/Atom feed as a post (toot) on mastodon https://forgejo.kodesumber.com/adhisimon/feed-to-toot
  • JavaScript 63.9%
  • Makefile 28.3%
  • Jinja 7.8%
Find a file
2026-04-10 03:39:51 +07:00
lib Log on not posting 2026-04-03 01:15:46 +07:00
.gitignore Ignoring Dockerfile and .dockerfile from git versioning 2026-03-30 19:50:37 +07:00
.nvmrc Lock to nodejs v24 2026-03-30 19:12:04 +07:00
Dockerfile.jinja Add apk and npm update when building container 2026-03-30 21:12:46 +07:00
env.sample Introduce MAX_NEW_STATUSES 2025-12-01 23:36:50 +07:00
index.mjs Ready to use 2025-11-29 22:49:45 +07:00
LICENSE Initial commit 2025-11-29 19:00:19 +07:00
Makefile Add build-and-push rule 2026-03-30 21:38:47 +07:00
package-lock.json npm audit fix 2026-04-10 03:39:51 +07:00
package.json 1.3.7 2026-04-03 01:16:10 +07:00
README.md Minor fix on README.md 2026-04-10 03:37:11 +07:00
to-be-added-to-dockerignore Makefile and dynamic container image build 2026-03-30 20:52:58 +07:00

feed-to-toot

Post new content from RSS/Atom feed as a post (toot) on mastodon.

How to config

Copy "env.sample" to ".env" and adjust those values as you need.

How to get mastodon autentication token

Please see MASTO Quick Start.

How to install and run by using git-clone

git clone https://forgejo.kodesumber.com/adhisimon/feed-to-toot.git
cd feed-to-toot
npm ci

How to run

node index.mjs

You can run that script everytime you publish a content. Or you can create schedule by running it by a cron or a systemd timer unit.

How to run as a podman/docker container

TODO

WORKING IN PROGRESS

Instances

Here are some running bots using this tool:

This bot also posting new releases of some opensource releases as mastodon status: