Giter Club home page Giter Club logo

scriptable's Introduction

scriptable

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

Widgets List

MultiDayCalendarWidget

This widget displays events from your calendars for the next given number of days, with a customizable window of the number of hours to show. The number of days, number of hours, and the starting hour, are configurable within the script. The configuration also allows for filtering events from certain calendars. Please use the LARGE widget size for best display results.

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

MultiDayCalendarWidget MultiDayCalendarWidgetSetup

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.

scriptable's People

Contributors

thehappydinoa avatar yaylinda avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.