Gasbar
Ethereum Gas Fee for the MacBook Pro touchbar (using BetterTouchTool)
Install / Use
/learn @tssandor/GasbarREADME
Gasbar
Ethereum Gas Fee for the MacBook Pro touchbar (using BetterTouchTool)
Worried about Ethereum gas fees? Me too. I'd like to keep an eye on them so I know when to ape into some foodcoin that's gonna get rugpulled tomorrow anyway.
Now you can, look! L(ow) | A(verage) | H(igh) gas fees, in gwei!

What magic is this you ask?
BetterTouchTool. It's an app that makes your MacBook Pro touchbar actually useful as you can add custom scripts like crypto prices and now, gas. It costs money but it's worth it. Also comes with a free trial.
Oke how do I set this up?
1. Download BetterTouchTool
2. Clone this repo
Or just grab the gasbar.py file, you don't need anything else
3. Configure Python
pip3 install requests, as we need this module to run the script. It's pip3 unless you have Python3 globally (unlikely).
4. Get an Etherscan API key
No dirty webscraping workarounds here, we do this the correct way. Register a user on Etherscan and create an API key.
5. Add the script to BetterTouchTool
- Type
Shell Script / Task - Launch path:
/usr/bin/python3 - Parameters:
-c - Environment variables:
ETHERSCAN_TOKEN=and your token (no quotation marks needed) - Script: copy-paste the contents of
gasbar.py

6. Fine tune it
- Execute the script every x seconds (I prefer 60 but up to you)
- Select a nice background color, etc
Done. Enjoy <3
Related Skills
node-connect
349.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
