twiklite

1.6.44-24 • Public • Published

Twiklite

License: MIT

A lightweight optimized version of Twikoo, designed for reduced bundle size and simplified functionality.

✨ Features

  • ~25% smaller production bundle compared to original Twikoo.
  • Only the core features are retained, while the non-essential features are removed:
    • Comment management
    • User browser/region display
    • Image uploads
    • Owo
    • UA information collection
    • Like & Liked
    • more ...
  • Compatible with existing Twikoo server-side deployments, Markdown and API is still supported.

The default maximum character limit has been modified from 500 to 300 .

⚠️ Trade-offs

  • Requires a separate admin page using vanilla Twikoo for moderation.
  • Some configuration items of comment management may not be supported, such as browser and region display, whether true or false, they are actually false.

📦 File Differences

File Description
dist/core.js Standard version
dist/core.all.js Includes version developed by Tencent Cloud (Larger volume)

🛠️ Usage

  1. Deploy the tkserver as usual.
  2. Replace Twikoo client-side with Twiklite:
    <script src="https://unpkg.com/twiklite/dist/core.js"></script>
  3. Remove server-side UA storage to save space (optional).

📜 License

MIT © ZeoSeven

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i twiklite

      Weekly Downloads

      4

      Version

      1.6.44-24

      License

      MIT

      Unpacked Size

      808 kB

      Total Files

      5

      Last publish

      Collaborators

      • zeoseven