Skip to content

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.

Notifications You must be signed in to change notification settings

heisbuba/dex-movers-snapshots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

118 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEX Movers

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

DEMO

Intelligent Filtering

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

The Backstory

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.

🛠️ How to Setup (DIY)

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.

Step 1: Get the Code on Cloudflare

You have two options:

  1. Direct Upload: Just zip the project folder and drag-and-drop it into Cloudflare Pages.
  2. GitHub Import: Fork this repo and connect it to Cloudflare Pages.

Step 2: Build Configurations

When Cloudflare asks for build settings, use these:

  • Build Command: exit 0
  • Build Output Directory: Leave it empty or type in a dot (.)

Step 3: The Important Part (KV Storage)

For the caching to work, you need to link the database:

  1. Go to Workers & Pages -> KV on your dashboard.
  2. Create a Namespace called: DEX_CACHE
  3. Go to your Project Settings -> Functions (or Variables).
  4. Add a KV Namespace Binding:
    • Variable name: KV_STORE
    • KV Namespace: Select the DEX_CACHE you just created.

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.

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors