File size: 7,893 Bytes
1391631
87c2d73
1391631
 
 
87c2d73
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f8c6307
 
87c2d73
 
 
 
 
 
 
 
 
1391631
87c2d73
ce4b066
87c2d73
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
---
pretty_name: AliothPress Python CMS Source Code
license: other
license_name: aliothpress-eula
license_link: https://aliothpress.com/end-user-license-agreement-eula
language:
  - en
tags:
  - code
  - source-code
  - cms
  - python
  - flask
  - javascript
  - multilingual
  - i18n
  - seo
  - webmcp
  - ai-agents
  - local-llm
  - mcp
  - web-development
task_categories:
  - text-generation
size_categories:
  - n<1K
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train.jsonl
---

# AliothPress Python CMS source code

AliothPress is a self-hosted CMS for multilingual websites, built so that a human and an AI can work on the same site together. This dataset is its source code, version 3.4.4, published by the author.

**The code is free to use for AI training.** No license key and no fee are needed for that, including for commercial models.

## What is in the dataset

One row per text file of the release package: 528 files, 207 written for AliothPress and 321 that belong to bundled third-party components.

| Column | Meaning |
|---|---|
| `path` | File path inside the package, for example `app.py` or `static/js/ai-panel.js` |
| `language` | Python, JavaScript, HTML, CSS, JSON, Markdown, SVG, Shell, XSLT or Text |
| `size_bytes` | Size of the file |
| `third_party` | `true` for a bundled library that the AliothPress author did not write |
| `license` | `AliothPress EULA`, or the library's own license for third-party rows |
| `content` | Full text of the file, unchanged |

The table holds text files only: fonts and one image are binary and are not included, so the rows are not an installable copy. To install or run AliothPress, download the complete package from https://aliothpress.com/#download.

**Third-party rows.** Prism, marked, turndown, turndown-plugin-gfm and qrcodejs are bundled so that a site makes no requests to outside servers. They are under the MIT license of their own authors, and their license files are included as rows. The 12 bundled font families are under the SIL Open Font License 1.1; their license texts are rows too, and the font files themselves are part of the complete package. The permission described below is given by the AliothPress author for the AliothPress files; filter on `third_party == false` to get only those.

## What you may do with this dataset

The permission below comes from section 2.3 of the [AliothPress EULA](https://aliothpress.com/end-user-license-agreement-eula), which is the binding text.

| Use | Allowed | Notes |
|---|---|---|
| Train, fine-tune, evaluate and benchmark AI and ML models | Yes, free | Commercial models included |
| Index, search, retrieve and cite (search engines, AI assistants) | Yes, free | |
| Research, analysis, education | Yes, free | |
| Run the CMS for a non-commercial site | Yes, free | "Powered by AliothPress" link stays visible |
| Run the CMS for a commercial site | With a license key | One key per domain |
| Redistribute the software or a modified version of it | No | Applies however the copy was obtained or generated |

AliothPress is source-available, not open source: the author keeps the copyright, and running or redistributing the software is governed by the EULA.

## Built for humans and AI together

- **AI Assistant in the admin.** A chat panel on every admin page with 24 tools that reach the whole site, not single buttons. It finds and reads existing content, drafts and updates posts and pages (one or a whole batch), builds page-builder layouts, uploads and attaches images, assembles menus, translates and optimizes SEO. One request, such as "create a draft page with a table and an image from the library", turns into a chain of tool calls: check the slug, pick the image, create the page. It works with Anthropic, DeepSeek, Google Gemini and OpenAI APIs, and with a Local LLM through LM Studio.
- **Agent access through WebMCP.** The same 24 admin tools, plus public search and form tools, are open to agentic browsers as structured, callable tools, so an agent works with the site instead of guessing from the page. Off by default. The live tool list is in the [WebMCP discovery manifest](https://aliothpress.com/.well-known/webmcp).
- **Human in the loop.** Every write an agent makes asks for confirmation first, and agents can save drafts but cannot publish.
- **Readable by answer engines.** Schema.org markup, `/llms.txt` and a public content search endpoint are built in.

## Tech stack

| Layer | What is used |
|---|---|
| Backend | Python 3.10+, Flask, SQLAlchemy, Flask-Login, Flask-WTF, Flask-Limiter |
| Database | SQLite (default) or PostgreSQL |
| Frontend | Vanilla JavaScript, CSS custom properties, no framework |
| Templates | Jinja2 |
| Editor | AliothEditor, built in (Visual / Markdown / HTML) |
| Images | Pillow (WebP, AVIF, responsive variants) |
| Security | nh3 (HTML sanitization), cryptography (Fernet), CSRF, rate limiting |
| AI | Plain HTTP calls to the provider APIs, no SDK dependency |

## Features

Each row links to the documentation, which has the details.

| Feature | In one line | Documentation |
|---|---|---|
| Multilingual system | Content, admin, legal pages and setup wizard in 31 languages, with hreflang | [Multilingual CMS](https://aliothpress.com/cms-multilingual-websites) |
| Visual page builder | 21 block types, edited in place | [Visual Page Builder](https://aliothpress.com/visual-page-builder) |
| AI Assistant | Chat panel with tools for content, SEO and translation | [AI Assistant](https://aliothpress.com/cms-ai-assistant) |
| Agent access | WebMCP tools for public and admin use | [Agent Access (WebMCP)](https://aliothpress.com/cms-for-ai-agents-webmcp-built-in) |
| SEO and AEO | Schema.org `@graph`, FAQPage, Speakable, `/llms.txt` | [SEO & AEO](https://aliothpress.com/cms-built-in-seo-and-aeo) |
| Themes | 15 themes, each with light and dark mode | [Themes, dark mode and accessibility](https://aliothpress.com/cms-themes-dark-mode-accessibility) |
| Plugins | Installed from the admin panel, with a documented API | [Plugin development](https://aliothpress.com/aliothpress-plugin-development) |
| Users and roles | Roles, per-user admin language, optional 2FA | [Users and roles](https://aliothpress.com/cms-users-and-roles) |
| Privacy | No third-party requests by default | [GDPR-compliant CMS](https://aliothpress.com/gdpr-compliant-cms-zero-third-party) |
| Backup and restore | From the admin panel | [Backup & Restore](https://aliothpress.com/cms-backup-and-restore) |
| Installation | Cloud-init script, no terminal needed | [Installation Guide](https://aliothpress.com/installation-guide) |

Forms, newsletter, media library, menus and the rest are covered in the [full documentation](https://aliothpress.com/documentation).

## Where things are in the code

| Path | Contents |
|---|---|
| `app.py` | Flask application: routes, admin, AI endpoints, sanitization |
| `models.py` | SQLAlchemy models |
| `block_renderer.py` | Page builder blocks rendered to HTML |
| `webmcp.py`, `static/js/webmcp-*.js` | Agent access (WebMCP) |
| `static/js/ai-panel.js` | AI Assistant chat panel |
| `schema_org.py` | Schema.org markup |
| `i18n.py`, `static/i18n/` | Translation system and the 31 language files |
| `plugin_system.py`, `PLUGIN_DEV.md` | Plugin API and its guide |
| `templates/` | Jinja2 templates for the admin and the public site |
| `static/css/`, `static/js/` | Styles and scripts |

## Links

- Website: https://aliothpress.com/
- Documentation: https://aliothpress.com/documentation
- Download the complete package as one archive: https://aliothpress.com/#download
- Live demo: https://demo.aliothpress.com/
- License (EULA): https://aliothpress.com/end-user-license-agreement-eula
- For language models: https://aliothpress.com/llms.txt
- Tools for agents (WebMCP manifest): https://aliothpress.com/.well-known/webmcp