Serverless, Auto-Updating Stock & Crypto Charts for your GitHub Profile
-
Add this snippet to your README:
### <img src="https://raw.githubusercontent.com/Liyfez/PosSol/main/assets/logo.svg" width="32" style="vertical-align: middle; padding-bottom: 4px;" /> PosSol Stock View <p align="center"> <img src="https://pos-sol.vercel.app/api/chart?symbol=AAPL&period=1y&v=1&theme=dark" width="100%"> </p>
-
To use another stock or crypto: change the value of
symbol=(example:symbol=AAPL) -
To change the timeline: change the value of
period=(example:period=30d,6m,1y) -
To use another theme: change the value of
theme=(example:theme=nebula) -
Works perfectly out of the box with any stocks and crypto, Global stocks (e.g.
TSLA,MSFT), and Crypto (e.g.BTC/USD,ETH/USD).
PosSol comes with 45 beautifully crafted aesthetic themes. To use a theme, just copy the name of the theme below and replace theme=dark with it in your URL!
PosSol is built entirely on Serverless Edge Functions using native SVG generation.
- Zero Dependencies: There are no heavy binaries or external charting libraries slowing it down.
- Auto-updating Cache: Charts are cached heavily at the Vercel edge (
s-maxage=300), guaranteeing your profile loads instantly while keeping data perfectly fresh behind the scenes. - Fail-safe Fallbacks: PosSol intelligently routes data between APIs to ensure 100% uptime for your profile.