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) -
All available themes are shown below.
-
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 6 beautifully crafted aesthetic themes. To change the theme, just append &v=1&theme={theme_name} to your image URL!
|
Dark (Default) |
Monochrome |
Abyss |
|
Evangelion |
Nebula |
Sakura |
|
Obsidian |
Matrix |
Midnight |
|
Oceanic |
Cyber |
Emerald |
|
Crimson |
Velvet |
Dune |
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.