Anki Beacon

AnkiWeb addon 1577021707

Sends configurable JSON webhook events, such as note-added notifications and heartbeats, from Anki to local or remote HTTP receivers so external apps can react without polling.
AI-generated summary; may contain mistakes.

sync-integration

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
0 (👍 0 · 👎 0)
Updated
2026-05-03
Anki versions
2.1.1~
License
MIT (from the GitHub repository)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

stale

  • Last update or commit: 2026-05-04 (181 days before the snapshot).
  • Commits in the last year: 3.
  • Issues: 0 open, 0 closed.
  • Pull requests: 0 open, 0 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.1+2026-05-03
History across monthly snapshots

Loading…

Similar addons

Inactivity Alerts

Sends configurable, escalating inactivity alerts—from desktop tooltips to repeating push, messaging, SMS, and voice—through multiple channels, with weekday, study-window, quiet-hour, and due-card gates, configured via native GUI.

sync-integrationmotivationtimerpaid

1 votes 21% approval 👍 1 · 👎 0 Anki 2.1.66~ Updated 2026-04-23
TRMNL Anki

Periodically sends selected fields from Anki notes matching search queries, compressed via webhook to a TRMNL server for display, supporting multiple configurations and mashups.

sync-integrationservice-client

1 votes 21% approval 👍 1 · 👎 0 ⭐ 8 Anki 25.02.7~ Updated 2025-08-23
Deck Exit & Stuck Card Auto Sync

Automatically syncs your collection when leaving the review screen or after staying on one card past a configurable timeout, with cooldown protection and optional notifications.

sync-integration

2 votes 34% approval 👍 2 · 👎 0 Anki 2.1.1~ Updated 2026-08-02
ActivityWatch for Anki

Monitors Anki reviews and sends card ID, note ID, and deck name to ActivityWatch, viewable in its Raw Data section.

sync-integration

6 votes 61% approval 👍 6 · 👎 0 ⭐ 34 Anki 23.10~ Updated 2026-03-14

Description

An Addon that hooks onto various Anki operations, and sends out Webhook style events to notify apps of things like New Note Created.

Currently only supports New Note Created, but the idea is that it could be expanded to support many other operations.

Pre-configured for my tools GSM and Nagare so instead of polling AnkiConnect for Added:1, Anki can instead tell them when there is a new Note ready for Enhancement.

If you have questions submit an issue in Github

README

AnkiBeacon

AnkiBeacon posts JSON events from Anki to local or remote HTTP receivers.

The current release emits note_added events when Anki creates notes through Collection.add_note() or Collection.add_notes(). It also sends an optional heartbeat so external apps can prefer push delivery while Anki is running and fall back to polling only when the heartbeat expires.

The add-on package/folder name remains new_card_created for compatibility. The public project name is AnkiBeacon, leaving room for more webhook event types in future releases.

Configuration

Edit the add-on config in Anki from Tools > Add-ons > AnkiBeacon > Config, or edit config.json directly while developing.

{
  "defaults": {
    "timeout_seconds": 5,
    "headers": {},
    "show_error_tooltips": true
  },
  "operations": [
    {
      "operation": "note_added",
      "enabled": true,
      "urls": [
        "http://127.0.0.1:7275/anki/events"
      ],
      "payload_mode": "note_id"
    },
    {
      "operation": "heartbeat",
      "enabled": true,
      "urls": [],
      "fallback_operation": "note_added",
      "interval_seconds": 10,
      "show_error_tooltips": false
    }
  ]
}

Each entry in operations owns the URLs and options for one event stream. If the heartbeat operation has no URLs, it uses fallback_operation to send heartbeats to the note_added URLs, and the receiver should branch on event.

Events

note_added

{
  "addon": "new_card_created",
  "addon_name": "AnkiBeacon",
  "protocol_version": 1,
  "session_id": "9b2b4eb1d7e046b5a2f916f35f2f9ef1",
  "event": "note_added",
  "source": "add_note",
  "created_at": "2026-04-22T23:00:00+00:00",
  "note_id": 1234567890,
  "deck_id": 987654321
}

payload_mode: "note" adds note fields, tags, card IDs, and basic card metadata.

heartbeat

{
  "addon": "new_card_created",
  "addon_name": "AnkiBeacon",
  "protocol_version": 1,
  "session_id": "9b2b4eb1d7e046b5a2f916f35f2f9ef1",
  "event": "heartbeat",
  "status": "ready",
  "sent_at": "2026-04-22T23:00:00+00:00",
  "heartbeat_interval_seconds": 10,
  "payload_mode": "note_id",
  "capabilities": ["heartbeat", "note_added"]
}

See INTEGRATION.md for receiver guidance.

AnkiWeb Upload

Create the .ankiaddon archive from inside this folder so the archive root contains files such as __init__.py, config.json, and manifest.json.

Do not include the containing new_card_created folder, __pycache__ folders, or local meta.json state in the upload archive.