A simple static website designed to track the top gainers and losers of the last 24 hours from GeckoTerminal's DEX Trending Pools across 4 networks and let users download shareable HD snapshots.
Supported Networks:
- Solana
- BNB
- Ethereum
- Base
Before presenting the data, the code (worker.js) automatically filters the raw feed. It removes:
- Rugged tokens
- Fully scam tokens
- Tokens with insufficient liquidity or volume
This project originated from a Python script I created called Crypto Top Gainers and Losers Curator.
Some users (specifically my local friends) had trouble setting up the Python environment, so I decided to convert it into a simple static site that anyone can use.
Why Cloudflare?
I wanted to implement simple server-side caching (5-10 mins) to prevent rate limits and ensure speed. Doing this on GitHub Pages required complex workarounds using user LocalStorage or JSON files. So, I moved to Cloudflare to utilize Workers KV, which handles the caching much more efficiently.
Recommendation: For the best experience, it is highly recommended to host this on your own Cloudflare account. You can even use a temp-mail, direct upload the zip, set your own subdomain, and bookmark it to use whenever you need it.
You don't need a fancy setup for this. You can even use a temporary email if you just want to test it out quickly.
You have two options:
- Direct Upload: Just zip the project folder and drag-and-drop it into Cloudflare Pages.
- GitHub Import: Fork this repo and connect it to Cloudflare Pages.
When Cloudflare asks for build settings, use these:
- Build Command:
exit 0 - Build Output Directory: Leave it empty or type in a dot (
.)
For the caching to work, you need to link the database:
- Go to Workers & Pages -> KV on your dashboard.
- Create a Namespace called:
DEX_CACHE - Go to your Project Settings -> Functions (or Variables).
- Add a KV Namespace Binding:
- Variable name:
KV_STORE - KV Namespace: Select the
DEX_CACHEyou just created.
- Variable name:
Shi kenan! Deploy and you're good to go.
Note: For the binding to take effect, you must redeploy the project from the dashboard after saving the settings.
Your subdomain is yours. Generate your snapshot card of gainers or losers and share away!
Disclaimer: This tool is for informational purposes only. Always do your own research (DYOR) before trading.