Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Scripts and widgets for the iOS Scriptable App

Notifications You must be signed in to change notification settings

PixelSushiRobot/scriptable

 
 

Repository files navigation

scriptable

Playing around with various scripts for the Scriptable app on iOS.

Widgets List

CalendarEventsWidget

This widget displays all-day events, and any upcoming events within the moving window of the next 6 hours (number of hours is configurable). Also allows for filtering events from certain calendars, and will open the calendar of your choice on-press.

All widget configurations/behaviors can be found by updating WIDGET_CONFIGURATIONS (comments and descriptions included in the code).

CalendarEventsWidget CalendarEventsWidget2

Set Up

Configure the widget set-up on your homescreen, as shown in the below screenshot: CalendarEventsWidgetSetup

TODO

Multiple events for an hour are currently drawn on top of each other. Need to reduce the width of events based on how many are in each hour.

DailyLogWidget v2 (AggregatedDailyLogs)

And updated look to the DailyLogWidget, showing a data grid of activites completed for each day.

Features:

  • Customizable list of activites
  • Customizable number of days to show in the grid
  • Automatically creates a new log entry for the new day at 5 AM (time is customizable)
  • Clicking on Widget brings up a dialog to update activites completed or not completed
  • The data for each day is saved in iCloud (JSON format), where the filename is in the format YYYY_MM_DD

AggregatedDailyLogs

DailyLogWidget

Customizable list of things and colors. Creates a new "log" for each day at 5 AM (time is also customizable for when you want the new day to start).

Click on the Widget to bring up a dialog to update things you've completed for the day. The data for each day is saved in iCloud (JSON format), in it's own file, where the filename name is in the format YYYY-MM-DD.

DailyLogWidget

TerminalWidget

Inspired by evandcoleman, but re-written for my own data.

Currently, this widget shows information about:

  • next calendar event
  • next work calendar event
  • weather
  • location
  • days until period start/end
  • device stats (battery and screen brightness)

TerminalWidget

Cache

Copied from evandcoleman. This is used to cache values for the TerminalWidget, DailyLogWidget.

About

Scripts and widgets for the iOS Scriptable App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%