Twiklite

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:
``
html
``
3. Remove server-side UA storage to save space (optional).
📜 License
MIT © ZeoSeven