July 28th, 2024

Show HN: Turning my 10y old tablet into digital photo frame

Pankaj Tanwar transformed a 10-year-old tablet into a digital photo frame using a custom nginx server and a bash script to display images from a Google Photos album.

Read original articleLink Icon
Show HN: Turning my 10y old tablet into digital photo frame

Pankaj Tanwar repurposed his 10-year-old tablet into a digital photo frame that displays images from a shared Google Photos album. After discovering the tablet in a box of old items, he managed to power it on despite its slow performance and outdated Android version. To avoid logging into Gmail on the device, he sought a way to display photos from a shared album. He faced challenges with the tablet's outdated browser, which couldn't handle modern websites. Eventually, he found an open-source app called Electric Sign, but it struggled with SSL and modern web content.

To create a simple HTML page for displaying images, he attempted various hosting platforms but encountered issues. He then set up a custom nginx server to use HTTP instead of HTTPS, which was not ideal for security. After realizing there was no public Google Photos API, he created a public album link and used regex to extract image URLs from the HTML. However, the tablet's browser did not support fetch, leading him to use XMLHttpRequest, which resulted in CORS issues.

Ultimately, he wrote a bash script to fetch the album content, extract unique URLs, and update an HTML file with a random image. He scheduled the script to run hourly, ensuring the display was refreshed regularly. The tablet is now set up as a digital photo frame, showcasing images while he plans to enhance its aesthetic with a wooden frame.

Related

Hacking eInk Price Tags (2021)

Hacking eInk Price Tags (2021)

Hackers repurpose eInk electronic shelf labels (ESLs) into photo frames or status displays by customizing firmware. Detailed exploration of hacking challenges, including Marvell chip analysis, bootloader functions, memory storage, communication protocols, and debugging methods.

Creating My Own Linux-Based Smart TV

Creating My Own Linux-Based Smart TV

Carl Riis introduces "EarlGreyTV," a Linux-based Smart TV project using an old laptop with Debian Linux and Sway. He details hardware setup, remote control options, content casting, and highlights customization benefits for tailored TV experiences.

Samsung's abandoned NX cameras can be brought online with a $20 LTE stick

Samsung's abandoned NX cameras can be brought online with a $20 LTE stick

Samsung NX cameras, abandoned by Samsung, can be revived with a $20 LTE stick. Georg Lukas reverse-engineered Samsung's API for direct picture posting on Wi-Fi-enabled NX models, creating a Wi-Fi hotspot with LTE uplink. Lukas' project aims to rejuvenate outdated cameras, requiring a specific 4G LTE stick with an MSM8916 processor.

Ask HN: Am I crazy or is Android development awful?

Ask HN: Am I crazy or is Android development awful?

The author struggles with developing an Android app for a USB webcam, facing challenges with Android Studio, library integration, and Python-to-Android solutions, while seeking feedback on their experiences.

TOTP tokens on my wrist with the smartest dumb watch

TOTP tokens on my wrist with the smartest dumb watch

A modified Casio F-91W watch now features a programmable ARM Cortex M0+ board, enabling two-factor authentication and customizable watchfaces, enhancing functionality while maintaining the original design.

Link Icon 6 comments
By @efilife - 6 months
Tablets are one of those pieces of technology that died off really quickly. For the tablet users - what do you use them for? They seem like oversized phones that don't support calls to me
By @dankwizard - 6 months
Just what this website needs - An AI written blog post for an idea covered many, many times.

Use GPTZero or your AI checker of choice : - )

By @brunoarueira - 6 months
It's interesting! On my tablet I'd managed to install Lineage on it and will try to make a view for access homeassistant.

But nice job ;)

By @bartvk - 6 months
After screwing around, the solution turns out to be a shell script. Magnificent, I love this stuff.
By @bn-l - 6 months
Bookmarked! And nice cat.