🚧 Ongoing Site Updates: Python ➡️ Next.js

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@beaker007·
31.911 HBD
🚧 Ongoing Site Updates: Python ➡️ Next.js
https://images.hive.blog/0x0/https://files.peakd.com/file/peakd-hive/beaker007/23uFPdKf8W8ZX7E5wau5mmBUn82xiKX9FGcK39Ep3LVmeNm2Un28FUXZLTRCeXrGKnVeW.png
Yep… we’re back at it again! Slowly but surely, I’m continuing to move more pages from the good ol’ Python version over to the shiny new [Next.js version](https://next-land.spl-stats.com/). And while I’m at it, I’m always looking for ways to improve things along the way.

If you’re not into reading the full update and just want to explore what’s new, head over here:
🔗 https://next-land.spl-stats.com/

# <div class=phishy>🙌 Support the Project</div>
✅ Upvote this post – it really helps!
👉 [Vote for My SPS Validator Node](https://monstermarket.io/validators?validator=beaker007)


Let’s jump in!

# <div class=phishy>🔁 Resource Conversion Page</div>
The first major update this week is on the Conversion page. This one got a much-needed upgrade — especially now with auras, I figured we needed a better way to estimate the price of wagons and other stuff.

And yep… this is exactly why I call it a community effort. I built this tool solo, but with plenty of help from your feedback. I’m only human — bugs will happen 😅

Shortly after release, I got a message from @warrentrx pointing out the calculation was off compared to the official Splinterlands site. After digging in, turns out there was both a bug and a missing feature:

Bug: I was applying taxes multiple times even when the resource amount was 0… oops.

Feature Fix: The tool originally only calculated based on selling resources. But if you’re buying the resources (to estimate how much a wagon costs), you’d want to flip the fee logic.

So now you can choose:
🟢 Buy resources → Amount you pay is increases by 10% (trade hub fee)
🔴 Sell resources → Amount you earn is decreased by 10% (trade hub fee)

Huge thanks again to Paul for catching that one 🙌


![Note: Aura cannot be bought directly and its value based on midnight potions always (buy and sell)](https://files.peakd.com/file/peakd-hive/beaker007/23swe9bcaWtbGtXDVpzDdXr1s5obqgf1Shw3rXGMonbzaWqE37WvcdDSBivGsPCpCMy81.png)

Just one more addition from @warrentrx preset buttons, last minute update in this release:

![image.png](https://files.peakd.com/file/peakd-hive/beaker007/23swiWnKhPRHxW7soBHSFHXPLCiMNZFnWAjtCUov5y1jPhgwK8uMSozC6grGyobk5CKBM.png)


# <div class=phishy>🌍 Region Overview</div>
Most of my time this week was spent here — porting over and improving the Region Overview pages. They're similar to the Python version, but with some enhancements and slight layout changes.

# <div class=phishy>📊 Production Tab</div>
Shows total production across the map (or filtered regions) based on PP and boosted PP.

Entire region overview

![Screenshot 2025-07-11 at 11.02.35.png](https://files.peakd.com/file/peakd-hive/beaker007/23u5VJAHuCDcpooBFXJLuWkytnCWnckBjkq3osq5kiXS76MMbDoYsMANndo3AVgAYsP9p.png)

Selected regions (one or two)

![Screenshot 2025-07-11 at 11.03.13.png](https://files.peakd.com/file/peakd-hive/beaker007/23tbJmkFk9hkQ9qStuqSf5pusNpxygLRSoErAo5bUPrXNgNCWmYmTgFJqdvNweKCxSw81.png)

Sorted list by resource production

![Screenshot 2025-07-11 at 11.04.13.png](https://files.peakd.com/file/peakd-hive/beaker007/48QsXMz5ngi9u1fVfBvygdXtioSATkut7DpoKLGwkpw8M3FFQTCEJK6MG6etn5Gev4.png)
<hr>
And yep, there’s still historical production data at the bottom — always for the entire Pretoria, not filterable.

![Screenshot 2025-07-11 at 11.04.50.png](https://files.peakd.com/file/peakd-hive/beaker007/23swgX67XEsgCUJvtYkTAEnbocy6t692yvZtcEck5R17p6LkJvtgEMTnTAAuoZYb39gFk.png)

Which can also be filter by using the legend (doubelclick)

![Screenshot 2025-07-11 at 11.05.42.png](https://files.peakd.com/file/peakd-hive/beaker007/23swcKBVP6jei5g1MKtyQHw25SnPURSyRhhKjsEVv8RSGU8Sp8f73qe1KqavdnGVcJ3QV.png)


# <div class=phishy>🔄 Compare Tab</div>
I’m debating whether to keep this as a separate tab or move it under Production. Let me know what you think.

Compare two regions or tracts side-by-side:

Region-to-region

![Screenshot 2025-07-11 at 11.06.35.png](https://files.peakd.com/file/peakd-hive/beaker007/23tvCii5L9zxcGodFPScd9pNAcCB1d8TgV7kafhsE5JqL1tAevxTmXapeSgJjTS5myB7p.png)

Tract-to-tract

![Screenshot 2025-07-11 at 11.07.09.png](https://files.peakd.com/file/peakd-hive/beaker007/23tbP7LMdDjUHxcdcDMyrjHEnRu1WT1qhRgdMVkLB47vwg53wfwWMHupCLdqVZ6bycXVh.png)

# <div class=phishy>🧾 Summary Tab</div>
Still here, but now with a bit more info!

This tab is one I still want to improve layout-wise — lots of wasted space, so if you have display suggestions, I’m all ears.

New features:
* Unique player count per region
* Top 10 landholders

![Screenshot 2025-07-11 at 11.08.10.png](https://files.peakd.com/file/peakd-hive/beaker007/23tRr4ZrsQHJGavFjtUwduXDh4HAKcazvMZBWoGTYmVLjqrNsufm5LPx8iujRuRdHsSQg.png)

And yes, it’s filterable too.

![And yes you see my name in the top 10, if you just filter right 🤣](https://files.peakd.com/file/peakd-hive/beaker007/23tkfQ1rxVUuDampu5ZX72dCSnDGc5eEPVVeKEdxwJVsJVzTSmpc4LnjpJHr5vtJxBknP.png)

Also added two new gauges:

Total Staked DEC on Land – shows how far we are from full 150K plot utilization.


![On the left vs total land. On the right based on currently needed](https://files.peakd.com/file/peakd-hive/beaker007/Eo8Jh9MUGa5fsJ2o3ueoa6eBSgzNVxXJtRa2h2zHZgVVw7jVUxJEHNtfj46SwovTCGg.png)


Current DEC Needed – with a red/green indicator:
🟢 More DEC staked than needed = Ok!
🔴 Less DEC than required = not so good…

Yellow = DEC saved (not needed) by Runi usage.


![Filtered on region 85 for red example](https://files.peakd.com/file/peakd-hive/beaker007/23tRrM5RG4YK9peeksNuPryU4YkSBNV6ovCqPPZDx6ByAp56xFsYnZ4y3G3HJ2ox3B8UD.png)



# <div class=phishy>💸 Tax Tab</div>
Okay, this one is a bit slow… and yeah, I know 😅 If it really starts annoying you, drop me a message and I’ll see if I can optimize it more.

In the Python version, I only showed capture percentages for castles and keeps. But now I’ve added:

* Estimated DEC income based on current production
* Graphs comparing income in regions (active vs inactive) regions — pretty eye-opening if you're a castle or keep owner.

One day… I’ll own a keep myself. For now, I’m just too busy buying everything else in Splinterlands 😂

Top Castel/Keep owners and now also the best earning caslte and keep owners 😍
![Screenshot 2025-07-11 at 11.15.08.png](https://files.peakd.com/file/peakd-hive/beaker007/23swiWoxcDU1WCUj6g963fomcP89UVw6QqPndNXnepyrPASo1BkWjwpgvp4LARxoj6xk4.png)


Total resource income

![Screenshot 2025-07-11 at 11.16.33.png](https://files.peakd.com/file/peakd-hive/beaker007/EoJyWQtLEieiWW4UZXViRkChZsetAZrqFeMErXCoUDTVMF655XoNQoqtxcyrx5SxzKq.png)

Total DEC income

![Screenshot 2025-07-11 at 11.16.49.png](https://files.peakd.com/file/peakd-hive/beaker007/23tki3hUWoS28pk1u24SpKtX7Lk61RCtasFRiEoRHwMCBf3AQwddUAGDqXvDUPY8o6XYq.png)

And all filtered again:

![Screenshot 2025-07-11 at 11.18.16.png](https://files.peakd.com/file/peakd-hive/beaker007/23uQNdyZG5MVkxovG2Sy14DmReotjNuFXdyvmeEu9mDtxx9b4r3LXHN7RpgBpFUDCVrrR.png)

# <div class=phishy>⚙️ Efficiency Page (Leaderboard)</div>
This one’s fresh! Now you can enter your name and see your rank on the efficiency leaderboard.


![Screenshot 2025-07-11 at 11.19.31.png](https://files.peakd.com/file/peakd-hive/beaker007/23swiA23QZWxj9eRpGKQFRMhphacyutP5osgBWi3xn2yD46yBr5bYPGVNJJNdzQteCsrQ.png)


Still thinking about UI stuff — do we need scrollbars here? Let me know in the comments what feels best.

**Coming next to this page:**
More charts and rankings like LDE, LCE, DEC Efficiency, etc.

# <div class=phishy>🖥️ Fullscreen Button Is Back!</div>
By special request from @azircon (and honestly… I missed it too 😅), the fullscreen button is now back on all graphs!

It might sound like a small thing — and in Python, it was literally just one setting.
But in Plotly + React? Yeah… that little feature took me half a day, a bunch of trial and error, and way too many loops with ChatGPT 🤦‍♂️

Anyway, it's back! Let me know if you run into any issues with it.


![Open](https://files.peakd.com/file/peakd-hive/beaker007/48FDurH5MUoyLWBVhFW1nnznqhchsoSTN4vFgxgx6nz9bdUxyfK8BvQ17WMuiaTH1q.png)


![Close](https://files.peakd.com/file/peakd-hive/beaker007/23t72kAb1MRnwPYfiYAD3tn6UMEs4g8uvkCcaqErLenw1vbQ9738d16TUryALVLYZoZVJ.png)



# <div class=phishy>🧪 Want to See the Code?</div>
🔍 GitHub Repos (If You Dare):

🐍 [Python version](https://github.com/gamerbeaker007/splinter-lands)
⚡ [Next.js version](https://github.com/gamerbeaker007/splinter-lands-next)

PRs, issues, or just general “what in the spaghetti is this?” reactions welcome — be kind 😅

# <div class=phishy>🙌 Support the Project</div>
✅ Upvote this post – it really helps!
👉 [Vote for My SPS Validator Node](https://monstermarket.io/validators?validator=beaker007)
💬 Drop a comment or idea – weird edge cases welcome.

# <div class=phishy>⚠️ Final Note</div>
Still just a fun hobby project — built during late-night, caffeine-fueled coding sessions. If something breaks… ping me. I’ll fix it. Eventually. 😂

We're getting close to the point where all the useful screens (at least in my opinion 😄) have been moved over from the Python version.
If you're missing a feature that was in the old version and isn’t in the new one — start shouting! I’ll check it out and see if I can move it over too, and add it to my ever-growing backlog of stuff to do.

Stay awesome, and keep farming that land! 🌾

👍 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,