Xialei Public Content Reader — 0.1.0 beta
Requires Drupal 10 or 11 and core JSON:API.

INSTALL
1. Back up your site and test on staging first.
2. Extract this ZIP. Place the xialei_reader folder in your Drupal web root's modules/custom directory.
3. In Administration > Extend, enable Xialei Public Content Reader (and JSON:API).
4. Open Configuration > Web services > Xialei public content reader.
5. Review anonymous content permissions, field exposure, and JSON:API read-only settings. Test anonymously that only intended published content is accessible. This module does not change those settings.
6. Check Allow https://xialei.com to read public JSON:API content, then Save configuration.
7. Clear Drupal and CDN caches. Retry from the live https://xialei.com converter, using your Drupal HTTPS root address.

Only the exact https://xialei.com origin is allowed, not preview domains. GET and its OPTIONS preflight are supported; credentials and writes are not enabled. Drupal still enforces all existing access checks. CORS is a browser sharing rule, not a content permission or a way to prevent other clients reading public data.

Server, CDN, firewall, and existing Drupal CORS middleware can block requests before this module runs. Ask your administrator to reconcile those rules; never disable access checks. For the exported website, configure its own origin separately.

DISABLE
Uncheck the setting, save, and clear Drupal/CDN caches. You can also uninstall the module. Already downloaded content cannot be revoked.

This beta has not been tested in a running Drupal installation. Review and test before production use. No external requests, credentials, or content modifications are performed by this module.
