Skip to content

About

πŸ“Œ Pin this week's Google Calendar events + to-dos to your Android notification shade β€” self-healing, 100% on-device, Material You. Kotlin Β· Jetpack Compose.

Topics

Resources

Stars

13 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

77 Commits

Folders and files

Repository files navigation

Pinned Calendar: your week, pinned. The pinned agenda notification lists today's events and to-dos, with a pushpin on top.

Your week's calendar events and to-dos in one persistent Android notification.
No sign-in, no cloud, no internet permission. Your schedule never leaves the phone.

Website Β· Google Play Β· Releases Β· Privacy Β· Report an issue


Get it on Google Play

Your week, pinned: the agenda in the notification shade Mark it done or snooze it: a reminder with Mark done and Snooze 30 min actions Plans and to-dos at one glance: the week overview card Set it once, it repeats: the recurrence options
Pin it your way: the notification layout preview Make it yours: accent colors and palettes Private by design: no account, no ads, no tracking, works offline, open source, free Watch the
launch film

Note

Pinned Calendar reads the calendars already synced on your device through Android's Calendar Provider. There is no Google sign-in, no OAuth, and no INTERNET permission: everything stays on the phone.

Table of contents

Features

An agenda that stays pinned

An ongoing notification keeps this week's events and to-dos at the top of the shade. It heals itself: swipe it away by accident and it posts again, and it comes back after reboots and app updates. Set its priority to Top, Normal or Silent. Top keeps it above your everyday notifications without popping up or making a sound, and an optional swipe-twice gesture dismisses it for good. At local midnight the pin refreshes on its own, so Today and Tomorrow are right when you wake up, even after Doze has held back background work all night.

To-dos that remind and repeat

Quick tasks you add in the app merge into the same agenda and carry forward day to day until you complete or delete them. Tap a to-do to rename it, schedule it with quick chips (today, tomorrow, next week) or any date and time, give it a priority flag whose color rides into the pin, and attach notes. Repeat it daily, weekly, monthly or yearly, or build your own rule with intervals, weekdays and an ending by date or count. Checking off a recurring to-do moves it to its next date and keeps month ends, leap years and local time intact. Reminders are on by default: each one alerts when an occurrence comes due, without touching the pin, and offers Mark done and Snooze 30 min right in the notification.

The pin, your way

A live preview in Settings renders the real notification, collapsed or expanded, while you tune it: density presets (Compact, Cozy, Comfortable or Custom sliders), how many rows show before it expands, day grouping with Today, Tomorrow and weekday sections, and the heading toggles. Tap an event row to open it in Google Calendar, or tap anywhere else on the pin to open the app.

Material You theming

Wallpaper-based dynamic color, six accent seeds, four palette styles, AMOLED black, five fonts, and light, dark or system themes, plus a launcher icon that adapts to the theme and accent.

15 languages

The whole app, reminders included, is translated into English, Arabic, Bengali, Chinese (Simplified), French, German, Hindi, Indonesian, Italian, Japanese, Korean, Portuguese, Spanish, Turkish and Vietnamese. Arabic gets a right-to-left layout, and Android 13 and later list these languages in the system app-language picker.

Private by design

No accounts, no ads, no trackers, no cloud and no INTERNET permission. The app reads your device calendars, keeps each calendar's color, and sends nothing anywhere.

Light on battery

There is no foreground service. Background refresh runs on WorkManager, a ContentObserver updates the pin as soon as a calendar changes, and one alarm at local midnight rolls the day over. An optional battery-optimization exemption helps on aggressive OEMs.

Launch film

At 11:59 PM the pinned card turns its page by itself, and Thursday's agenda appears: Midnight? Already tomorrow.

A 36-second film follows one day on the pinned card, from the first swipe at 9:30 AM to the page turning at midnight. The clip above is the midnight turn. The film's source, its treatment and a one-command build are in film/: run sh film/build.sh to render pinned-calendar-launch.mp4 (1920x1080, 60 fps). The picture is made in code from real app captures, and the score is synthesized.

Installation

The easiest way is Google Play:

Get it on Google Play

Prefer sideloading? Get the signed APK from the latest release and install it. You may need to allow installs from unknown sources.

Tip

On first launch, grant Calendar and Notification access, then turn on "Pin to notifications". On aggressive OEMs, also allow "Ignore battery optimizations" under Reliability, and allow "Alarms and reminders" in the app's system settings so reminders and the midnight refresh fire on time.

Configuration

The app has two tabs.

To-dos, the week at a glance:

  • The week overview card: how many items are pinned, day by day.
  • Add, complete and delete local to-dos that merge into the pinned agenda.
  • Tap a to-do to edit it: rename it, schedule it (today Β· tomorrow Β· next week Β· any date and time), choose a preset or custom recurrence, set a priority flag that colors its bar in the pin, and attach notes.

Settings, everything else:

  • Notifications: pin on or off, priority (Top Β· Normal Β· Silent), optional swipe-twice-to-remove, and to-do reminders with Mark done and 30-minute snooze actions.
  • Notification layout: a live preview of the pin, density presets (Compact Β· Cozy Β· Comfortable Β· Custom), rows shown before expanding, and the heading toggles.
  • Time window: 3 days Β· this week Β· 7 days Β· 14 days.
  • Calendars: turn each synced calendar on or off.
  • Display: group by day, hide completed to-dos, 24-hour time and a maximum number of items.
  • Appearance: theme, Material You, AMOLED black, accent seed, palette style and font.
  • Reliability: the battery-optimization exemption.

How it works

Device Calendar Provider ─┐
                          β”œβ”€β–Ί AgendaRepository ─► NotificationContentBuilder ─► ongoing notification
Local to-dos (DataStore) β”€β”˜            β–²                                              β”‚ deleteIntent
                                       β”‚                                              β–Ό
   WorkManager refresh + ContentObserver + midnight alarm          SelfHealReceiver posts it again

A pure-Kotlin core (windowing, day bucketing, content building) is unit-tested and independent of Android, and the platform layer (RemoteViews, WorkManager, alarms, receivers) consumes it. There is no foreground service: the notification persists on its own, and a delete-intent receiver makes it heal itself. Every refresh also sets one allow-while-idle alarm for the next local midnight, and that alarm refreshes the pin directly, so the day rolls over even when the system defers background jobs. Changes to the clock or time zone refresh it too.

Privacy and permissions

Pinned Calendar works offline. It has no INTERNET permission and sends nothing off the device.

Permission Why it's needed
READ_CALENDAR Read the events already synced on your device.
POST_NOTIFICATIONS Show the pinned agenda (Android 13+).
RECEIVE_BOOT_COMPLETED Pin the agenda again after a reboot.
SCHEDULE_EXACT_ALARM Fire to-do reminders and the midnight refresh on time; both fall back to inexact alarms when it is denied.
REQUEST_IGNORE_BATTERY_OPTIMIZATIONS Optional: keep background refresh reliable on aggressive devices.

No accounts, ads, trackers or cloud. The full policy is at pinnedcalendar.ahnafnafee.dev/privacy.

Tech stack

Area Technology
Language Kotlin 2.2
UI Jetpack Compose Β· Material 3
Dynamic color MaterialKolor Β· Material You
Background work WorkManager Β· ContentObserver Β· AlarmManager (reminders and the midnight refresh)
Storage DataStore (Preferences)
Calendar CalendarContract (Calendar Provider)
Notification NotificationCompat Β· custom RemoteViews
Build AGP 9.2 Β· Gradle 9.5 Β· compileSdk 36 Β· minSdk 26

Building from source

Prerequisites: Android Studio (latest), JDK 17+ and Android SDK Platform 36.

git clone https://github.com/ahnafnafee/pinned-calendar.git
cd pinned-calendar
./gradlew :app:assembleDebug          # build a debug APK
./gradlew :app:installDebug           # install on a connected device or emulator
./gradlew :app:testDebugUnitTest      # run the unit tests

Or open the project in Android Studio and run it. The marketing assets build from source too: store/ holds the Play listing, design/previews/ the link previews, web/ the website and film/ the launch film.

Roadmap

  • Full color picker for custom seed colors
  • Home-screen widget companion
  • Per-to-do due-date picker
  • To-do priorities, notes and due-time reminders
  • Google Tasks integration (opt-in)
  • Recurring to-dos
  • Refresh at midnight, even under Doze
  • Wear OS tile

Have an idea? Open an issue.

Contributing

Contributions are welcome. Fork the repo, create a feature branch, run ./gradlew :app:testDebugUnitTest and open a pull request. For larger changes, open an issue first to discuss the approach.

License

Released under the MIT License. See LICENSE.

Acknowledgements

  • MaterialKolor for seed-based Material You theming.
  • The bundled fonts (Figtree, Outfit, Inter, Google Sans Flex) and the Material 3 design system.
  • Lemo-Opuscar for the render and mixing tools behind the launch film (MIT).
  • Google Play and the Google Play logo are trademarks of Google LLC.

About

πŸ“Œ Pin this week's Google Calendar events + to-dos to your Android notification shade β€” self-healing, 100% on-device, Material You. Kotlin Β· Jetpack Compose.

Topics

Resources

Stars

13 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages