Charts you can paste
Sparklines made of text, for your bio, a post, or anywhere text goes.
Uses tokenmaxxing.sh, which tracks your AI coding tokens. Sign up there to get a username.
Try ·····
Style
Range
Width
Rows
Shape
Open source on gtmcknight/spark
On GitHub
- Fork gtmcknight/spark. In your fork, open Actions and click I understand my workflows, go ahead and enable them.
- Open
config.jsonin your fork, click the pencil, replace everything with this, and commit. It draws the chart above.Your own words go inbio: add lines above or below{chart}, or delete{stat}or{link}to drop it. - Go to Settings → Secrets and variables → Actions and leave the tab open. Your X keys go here. Only bio.mjs reads them, to update your bio. This site never sees them.
On X
- Open the X Developer Console and create an app.
- In the app, open User authentication settings. Set permissions to Read and write, type to Web App, Automated App or Bot, and put
https://spark.rhps.funin both Callback URI and Website URL. Save. - Open Keys and tokens. Under OAuth 1.0 Keys, regenerate the Consumer Key, then generate the Access Token. X shows each secret only once, so add each to GitHub as it appears: New repository secret, named as in the table.
Skip OAuth 2.0 (Client ID and Client Secret); this doesn't use them. The Access Token should say Read and write. If it says Read, you made it before step 5, so regenerate it.Consumer Key, the keyConsumer Key, the secretAccess Token, the tokenAccess Token, the secret
Back on GitHub
- Go to Actions → Update bio → Run workflow. Your bio changes within a minute, then twice a day.
X bills each update to your developer account, so keep a little credit under Billing. Twice a day costs a few cents.