Moe Counter Lite is recoded version of Moe-Counter with Improvments.
It can handle averge 12,550 requests per seconds under 10-90ms response time(depends machine spec)
I run Performance-Test for 30seconds and count reached 376,000, averge responce time is 20ms.
It is 10x Faster than original Moe-Counter *This result is based on running the load test tool with the same specifications and settings.
Download from github:
git clone https://github.com/d1hydr0gen/moe-counter-lite.git
Install Dependencies:
npm install http url fs querystring sqlite3 xml2js base-64 mime
Edit Configuration (if you want):
nano moe.js
Run ( recommended to use screen ):
screen node moe.js
WE ONLY TESTED THIS IN v18.13.0 and v20.6.0
It's browser side error occurred for load HTTP content from HTTPS page.
To Fix this, you can use proxy server (nginx for example) and apply SSL Ceritification or Use Cloudflare's Proxy to get SSL Ceritification.
If someone knows way to support SSL in node.js's http server let me know :D
Sadly Yes. but You can add theme easly. open themes.json and add this
{
"name": "your-theme-title",
"letters":{
"0":"assets/your-theme-dir/0.gif",
"1":"assets/your-theme-dir/1.gif",
"2":"assets/your-theme-dir/2.gif",
"3":"assets/your-theme-dir/3.gif",
"4":"assets/your-theme-dir/4.gif",
"5":"assets/your-theme-dir/5.gif",
"6":"assets/your-theme-dir/6.gif",
"7":"assets/your-theme-dir/7.gif",
"8":"assets/your-theme-dir/8.gif",
"9":"assets/your-theme-dir/9.gif"
}
Done. Make it sure you added theme to assets folder.
Please use 45x100(9:20) Images.
You can test the access counter at: https://www.mclite.xyz//
- I recommend to host it your self when you use it!