Skip to content

Add ai_chatbot plugin (Asyntai AI chatbot) - #466

Closed
asyntai wants to merge 1 commit into
getnikola:masterfrom
asyntai:add-ai-chatbot
Closed

asyntai wants to merge 1 commit into
getnikola:masterfrom
asyntai:add-ai-chatbot

Conversation

@asyntai

@asyntai asyntai commented Oct 15, 2026

Copy link
Copy Markdown

Adds ai_chatbot, a ConfigPlugin that puts the Asyntai AI chatbot on every page of a Nikola site.

The site owner sets ASYNTAI_WIDGET_ID in conf.py. The plugin appends one async script tag to BODY_END in every language, so posts, pages, indexes, archives, taxonomies and galleries all get it, and a changed widget ID rebuilds every page. A missing or malformed ID logs an error and leaves the site unchanged, so other commands keep working. If the snippet is already in BODY_END, the plugin does not add a second one.

Tests are in tests/test_ai_chatbot.py. We also checked it with real nikola build runs on Nikola 8.3.3 and 8.2.4 (bootblog4, bootstrap4-jinja and base themes, and a two-language site), and built the plugin index site locally to check the listing page and the zip.

Docs: https://asyntai.com/documentation/integrations/nikola/

@Kwpolska

Copy link
Copy Markdown
Member

Nope.

We demand the removal of the doc page linked from your site.

@Kwpolska Kwpolska closed this Oct 15, 2026
@getnikola getnikola locked as spam and limited conversation to collaborators Oct 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants