Photo frame mode

Put the Bitcoin price on your photo frame.

Hacked a digital photo frame, or got an old tablet or Pi screen lying around? Point it at one BitSurf URL and it shows a live BTC price that updates every minute. It's free, with no account and no API key.

  • Old Android WebViews
  • Image-only frames
  • E-ink
  • 40+ currencies
  • Burn-in safe
Live Bitcoin price image from bitsurf.org/btc.png, shown on a photo frame

Two ways to ride

Which one depends on what your frame can do.

Your frame has a web browser

Hacked Android frames running a kiosk app, tablets, Raspberry Pi, and dashboards like Home Assistant. A full-screen page that sizes itself to the screen. Frame with no browser?

https://bitsurf.org/frame?cur=usd

Your frame only shows pictures

Frames that load an image from a URL, synced-folder frames, e-ink panels, ESP32 screens. A fresh PNG of the price on every request.

https://bitsurf.org/btc.png?cur=usd&w=1024&h=600

Build your URL

Choose a currency, theme and screen size. The preview shows exactly what your frame will get.

Preview of the Bitcoin price image for your settings
https://bitsurf.org/frame?cur=usd
https://bitsurf.org/btc.png?cur=usd&w=1024&h=600

Setting up a hacked frame with a coding agent? Paste it this:

Setup guides

Every method comes down to getting one of the two URLs onto the screen.

Hacked photo frames (Home HQ kiosk)

Got ADB on your frame with the photo-frame-dashboard guides? Their Home HQ kiosk shows any URL full screen, starts at boot and has a way back to Settings. Build and install it, then point it at BitSurf:

bash dashboard/kiosk/build.sh
adb install -r dashboard/kiosk/build/homehq.apk
adb shell am start -n com.wesbos.homehq/.MainActivity \
  --es url "'https://bitsurf.org/frame/?cur=usd'"

Keep both sets of quotes: the & between options would otherwise end the command on the frame. To start at boot, follow the kiosk's Start at boot steps for your Android version. Hold two fingers on the screen for 1.5 s for its menu. Frame mode in Home HQ was tested on a PF1007L frame (Android 6, WebView 44).

Using a coding agent? The URL builder gives you a prompt to paste.

Android frames & old tablets

  1. Once you can install apps (ADB sideloading or developer options), install a kiosk browser such as Fully Kiosk Browser, or the Home HQ kiosk above.
  2. Set its start URL to https://bitsurf.org/frame?cur=usd.
  3. Turn on keep-screen-on and launch-on-boot in the kiosk app.

No kiosk app? Any browser works: open the page and tap it to go full screen.

Raspberry Pi & Linux frames

Start Chromium in kiosk mode on boot:

chromium-browser --kiosk --noerrdialogs \
  --disable-session-crashed-bubble \
  "https://bitsurf.org/frame?cur=usd&theme=dark"

Frames that show a photo folder

Plenty of frames only display images from a folder or cloud album. Refresh the image there on a schedule, for example with cron:

*/5 * * * * curl -s -o /path/to/frame/btc.png \
  "https://bitsurf.org/btc.png?w=1024&h=600"

E-ink displays

Use theme=eink for crisp, pure black-on-white output, and set w/h to the panel's exact resolution. E-paper refreshes slowly, so fetching every 5–15 minutes is plenty.

https://bitsurf.org/btc.png?theme=eink&w=800&h=480

Home Assistant, MagicMirror², DAKboard

Frame mode can be embedded in an iframe. Add a webpage/iframe card or module pointing at https://bitsurf.org/frame?cur=usd, or an image card pointing at the PNG URL.

ESP32 & microcontroller screens

Fetch the PNG at your screen's exact size and draw it. If you'd rather render it yourself, https://bitsurf.org/api/price?cur=usd returns the same cached price as JSON.

All options

Add them to either URL as query parameters. All are optional.

OptionValuesDefaultApplies to
curAny ISO currency code: usd, eur, gbp, cad, jpy…usdboth
themeocean, dark, light, einkoceanboth
themeFull layouts with more data: phosphor (green-screen terminal, 24h chart), amber (amber terminal, 7-segment digits, high/low/open, scaled chart), win95 (a Windows 95 window with a chart window), dashboard (trading screen, 24h candlesticks), minimal (dark, just the price and change), daylight (light card, change in money, sparkline). Drawn for 1280×800 and scaled to any screen.page
clock24 for 24-hour times in the full layouts12page
change0 hides the 24h changeshownboth
brand0 hides the bitsurf.org footer (the full layouts have none)shownboth
w, hImage size in pixels, 64–1920800, 480image
tzTime zone for the “updated” time, e.g. Europe/LondonUTCimage
refreshSeconds between updates (minimum 30)60page

FAQ

Is it really free? Do I need an API key?

It's free, with no key and no signup. Prices come from Coinbase and are cached at the edge for 60 seconds, so your frame only ever talks to bitsurf.org.

Will it run on my ancient frame's browser?

Probably. The frame page is plain ES5 JavaScript with no frameworks, built for Android 4.4-era WebViews and minimal kiosk browsers; the classic themes are a single file with no web fonts, and the full layouts add one script and stylesheet (Phosphor also a small pixel font). The full layouts were tested on a 2016 photo frame's WebView 44. If the browser can't run it at all, use the PNG instead.

Will it burn in my screen?

Frame mode drifts the content a few pixels every five minutes to spread wear across an LCD or OLED panel. For overnight, theme=dark keeps most pixels off.

What happens when the internet drops?

The page keeps the last price, retries with backoff, and dims the price once it's out of date. The image endpoint serves the last known price marked “STALE” until fresh data is back.

How often does the price update?

Every 60 seconds. The page polls on its own; for the image, your frame decides how often to re-fetch.