amoorion
Use amoorion to publish, read, reply, delete and search on chatting and communication platforms (Bluesky, Mastodon, X, Tumblr, Blogger, Facebook, Discord, Telegram, Matrix, ntfy, e-mail) from one CLI, Python object, HTTP API or MCP server; secrets come from a vault. Use when asked to post to several platforms, read what came in, answer it, automate reactions to messages, or check which platforms are set up.
- License 许可
- MIT
- 最近更新
- 2026-11-05
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- amoorion
- description
- Use amoorion to publish, read, reply, delete and search on chatting and communication platforms (Bluesky, Mastodon, X, Tumblr, Blogger, Facebook, Discord, Telegram, Matrix, ntfy, e-mail) from one CLI, Python object, HTTP API or MCP server; secrets come from a vault. Use when asked to post to several platforms, read what came in, answer it, automate reactions to messages, or check which platforms are set up.
02 资源文件 100
- 脚本__init__.py825 B
- 脚本__main__.py171 B
- 脚本api/__init__.py148 B
- 脚本api/__main__.py180 B
- 脚本api/base.py5.1 KB
- 脚本app/__init__.py274 B
- 脚本app/base.py7.4 KB
- 脚本app/frontends.py2.2 KB
- 脚本app/plugs.py5.1 KB
- 脚本app/states.py2.7 KB
- 脚本app/workflows.py4.7 KB
- 资产文件assets/dashboard_elk.json4.9 KB
- 资产文件assets/dashboard_loki.json6.8 KB
- 资产文件assets/dashboard_splunk.json3.9 KB
- 资产文件assets/example_log_data.json3.2 KB
- 资产文件assets/loki_config_template.yaml3.7 KB
- 资产文件assets/README.md593 B
- 资产文件assets/splunk_config_template.conf4.4 KB
- 脚本cli/__init__.py248 B
- 脚本cli/__main__.py178 B
- 脚本cli/base.py2.4 KB
- 脚本cli/call.py1.9 KB
- 脚本cli/guide.py12.4 KB
- 脚本cli/menu.py3.9 KB
- 脚本cli/parser.py3.6 KB
- 脚本cli/view.py1.8 KB
- 脚本core.py3.3 KB
- 脚本daemon/__init__.py212 B
- 脚本daemon/__main__.py183 B
- 脚本daemon/base.py3.4 KB
- 脚本dataset/__init__.py184 B
- 脚本dataset/base.py7.0 KB
- 脚本dataset/entry.py826 B
- 脚本hooks/__init__.py589 B
- 脚本hooks/base.py3.4 KB
- 脚本hooks/discord.py3.3 KB
- 脚本hooks/generic.py1.8 KB
- 脚本hooks/github.py3.4 KB
- 脚本hooks/gitlab.py2.9 KB
- 脚本hooks/plane.py2.0 KB
- 脚本hooks/sentry.py2.5 KB
- 脚本inbox/__init__.py133 B
- 脚本inbox/base.py4.6 KB
- 其他inbox/schema.messages.sql193 B
- 脚本mcp/__init__.py155 B
- 脚本mcp/__main__.py180 B
- 脚本mcp/base.py4.4 KB
- 脚本methods/__init__.py1.3 KB
- 脚本methods/accounts_method.py1.6 KB
- 脚本methods/all_params.py1.1 KB
- 脚本methods/base.py3.6 KB
- 脚本methods/compose_method.py1.2 KB
- 脚本methods/delete_method.py2.8 KB
- 脚本methods/inbox_method.py1.0 KB
- 脚本methods/notify_method.py1.2 KB
- 脚本methods/plugins_method.py1.6 KB
- 脚本methods/publish_method.py1.8 KB
- 脚本methods/read_method.py1.3 KB
- 脚本methods/reply_method.py1.1 KB
- 脚本methods/search_method.py1.1 KB
- 脚本methods/simulate_method.py1.8 KB
- 脚本methods/skill_method.py967 B
- 脚本methods/snapshot_method.py2.4 KB
- 脚本methods/wiki_method.py2.1 KB
- 脚本methods/workflow_method.py4.1 KB
- 脚本models/__init__.py210 B
- 脚本models/base.py958 B
- 脚本nats/__init__.py370 B
- 脚本nats/base.py1.5 KB
- 脚本nats/publish.py2.4 KB
- 脚本nats/service.py2.6 KB
- 脚本plugins/__init__.py478 B
- 脚本plugins/base.py3.5 KB
- 脚本plugins/dryrun/__init__.py151 B
- 脚本plugins/dryrun/base.py2.2 KB
- 脚本plugins/http.py2.8 KB
- 脚本plugins/loading.py2.0 KB
- 脚本plugins/mail.py1.7 KB
- 参考文档references/README.md856 B
- 脚本scripts/configure_logging.py2.9 KB
- 脚本scripts/README.md720 B
- 脚本scripts/setup_elk.sh2.7 KB
- 脚本scripts/setup_loki.sh2.6 KB
- 脚本scripts/setup_splunk.sh2.6 KB
- 脚本society/__init__.py210 B
- 脚本society/base.py4.4 KB
- 脚本utilities/__init__.py272 B
- 脚本utilities/base.py2.8 KB
- 脚本utilities/llm.py2.4 KB
- 脚本vault/__init__.py504 B
- 脚本vault/base.py2.6 KB
- 脚本vault/bw_cli.py5.6 KB
- 脚本vault/default.py1.2 KB
- 脚本vault/http_vault.py2.9 KB
- 脚本vault/kpxc_db_file.py6.0 KB
- 脚本workflows/__init__.py636 B
- 脚本workflows/base.py3.3 KB
- 脚本workflows/python.py6.6 KB
- 脚本workflows/rules.py3.5 KB
- 其他workflows/schema.handled.sql176 B
03 SKILL.md 正文
amoorion
One tool for many platforms. Every operation is a method; the CLI, the Python object, the HTTP API and the MCP server all expose the same methods.
Before anything
amoorion plugins: the platforms installed and what each can do. Each platform is its own package:pip install amoorion-bluesky.amoorion accounts: which platforms have their secrets in the vault. A platform without them refuses to work; never ask the user for a token in the chat, it belongs in their vault.- Try with the platform
dryrunfirst: it sends nothing.
Methods
Read-only, safe to run:
amoorion --json plugins # what is installed
amoorion --json accounts # which secrets are set (values never shown)
amoorion --json read --platform bluesky --limit 5 # latest messages; also kept in the inbox and dataset
amoorion --json inbox # everything read or received so far
amoorion --json search --text "invoice" # find in the inbox
amoorion --json snapshot --platform bluesky # a profile's posts into the dataset
amoorion --json wiki --title "Cupid" # a Wikipedia summary
amoorion --json simulate --topic "…" --personas … # personas react, locally; needs a language model
amoorion --json skill # this text, and where the file is
They change something on a platform or reach people, so confirm first:
amoorion publish --text "hello" --to dryrun bluesky mastodon
amoorion reply --platform bluesky --to "<post id>" --text "…"
amoorion delete --platform bluesky --id "<post id>" # a copy stays in the dataset
amoorion notify --text "…" # to the platforms of AMOORION_NOTIFY
amoorion workflow --steps … # methods in order, stops at the first failure
amoorion workflow --rules … # rules on the inbox, once per message
amoorion compose --prompt "…" asks a language model (from the vault) to write
something; it posts nothing. amoorion <method> -h tells the parameters of any
method, and --json before the method gives machine-readable output.
From Python
from amoorion import Amoorion, Plugins
amo = Amoorion().use(Plugins["dryrun"]) # a sandbox: nothing of the real setup
amo.publish(text="hello") # every method by its name
real = Amoorion(".env").use(Plugins["bluesky"]) # the user's real vault, inbox and dataset
Amoorion.init() puts the whole process in a sandbox: also the CLI, Inbox()
and Plugins, for what doesn't go through an object.
As servers
amoorion mcp runs the MCP server (stdio) with the methods as tools; the ones
that change something on a platform are not marked read-only. amoorion api
serves them over HTTP, amoorion daemon runs the long-running services.
Rules
- Publishing, replying, deleting and notifying are visible to real people: get the user's confirmation of the text and the platforms before running them.
- Secrets live only in the vault the user's
.envlinks to; never print, log or commit them. - Docs: https://amoorion.readthedocs.io (Markdown of any page: ask with
Accept: text/markdown, or read https://amoorion.readthedocs.io/llms.txt).