A "set and forget" automation that generates a dynamic wallpaper for your iPhone every morning. It runs on GitHub Actions (for free) and updates your lock screen via iOS Shortcuts.
- Life in Weeks: A "Memento Mori" grid showing your past and future weeks.
- Year Progress: A daily updated grid of the current year (365 days), highlighting today in orange.
- Zero Battery Drain: All graphics are rendered on the server; your phone just downloads the final image.
Click the Fork button (top right) to create your own copy of this project.
- Go to Settings > Secrets and variables > Actions.
- Click New repository secret.
- Name:
USER_BIRTHDAY - Secret:
1995-01-01(YYYY-MM-DD).- Note: If you skip this, it defaults to the year 2000.
- Go to the Actions tab.
- Click Update Wallpapers on the left.
- Click Run workflow to generate your first set of images.
The default resolution is set for iPhone 13/14/15 Pro (1170 x 2532). If you have a Max, Plus, or Mini model, you should update the resolution so the grid is perfectly centered.
- Open
generate_wallpaper.py(Life) andgenerate_year_wallpaper.py(Year). - Click the Pencil Icon to edit.
- Find this line near the top:
SCREEN_SIZE = (1170, 2532)
- Change it to your device's resolution:
- iPhone 14/15/16 Pro Max:
(1290, 2796) - iPhone 13/14 Pro Max:
(1284, 2778) - iPhone 11 / XR:
(828, 1792) - iPhone 12 / 13 Mini:
(1080, 2340)
- iPhone 14/15/16 Pro Max:
Inside generate_year_wallpaper.py, you can modify these variables to change the look:
- Make it Compact/Squared:
Change
gap = 4and replacedraw.ellipsewithdraw.rectanglein the code. - Change Colors:
Update
BG_COLOR(Background) orACTIVE_COLOR(Today's Dot) using RGB values (e.g.,(255, 0, 0)is Red).
You need to create a simple Shortcut on your iPhone to fetch the image.
- Create a shortcut with Get Contents of URL.
- Paste your Raw Image Link:
https://raw.githubusercontent.com/<YOUR_USERNAME>/year/main/year_progress.png- (Or use
wallpaper.pngfor the Life view)
- Add Get Image from Input.
- Add Set Wallpaper (Turn off "Show Preview").
- Set an Automation to run this daily at 4:00 AM.
Since Android doesn't have a built-in "Shortcuts" app, you will need a small app to fetch the wallpaper. Here are the three best options (all free).
A tiny, no-nonsense app that does exactly one thing: downloads an image from a URL and sets it as your wallpaper.
- Download: Get the APK here
- Setup:
- Open the app.
- Remote URL: Paste your Raw GitHub Link (ending in
.png). - Interval: Set to
24 Hours. - Tap Start.
A polished "Live Wallpaper" app that creates a nice blur/dim effect behind your icons.
- Download: Play Store or F-Droid
- Setup:
- Install Muzei + the "With Others" plugin (or any URL plugin).
- Open Muzei and set it as your wallpaper.
- Tap Sources -> With Others.
- Paste your Raw GitHub Link.
- Set Update Interval to
24h.
If you want complex logic (e.g., randomizing between Life/Year views), use this automation tool.
- Download: Play Store
- Setup:
- Create a macro with a Daily Timer trigger (e.g., 4:00 AM).
- Add Action: HTTP Request (GET) -> Paste your URL -> Save to file
wallpaper.png. - Add Action: Set Wallpaper -> Select that file.