Affirmation Scriptable Widget is a JavaScript-based widget for the Scriptable app that fetches daily affirmations from affirmations.dev and displays them directly on your iOS or macOS home screen. Stay motivated and inspired with a fresh affirmation every time your widget refreshes.
Before you begin, ensure you have the following prerequisites:
- Scriptable App installed on your iOS or macOS device.
-
Clone or download the repository:
git clone https://github.com/Korysam15/affirmations-scriptable-widget.git
-
Open the Scriptable app.
-
Create a new script by tapping the "+" icon and paste the contents of
affirmation-widget.jsinto the script editor. -
Save the script and exit the Scriptable app.
-
Add a Scriptable widget to your iOS or macOS home screen.
-
Edit the widget, and choose the "Bamboo Widget" script you just created.
-
Resize the widget according to your preferences.
-
Enjoy real-time Bamboo build plan status updates on your home screen!
The Affirmations Scriptable Widget will automatically fetch and display different affirmations. Tap the widget to open the Scriptable app for more details.
Customize the style of the widget by modifying the styling options within the script. Edit the styling object to set your color configuration.
const styling = {
textColor: new Color("#FFFFFF"),
backgroundColor: new Color("#1A1B1E"),
};Feel free to contribute to the project by opening issues or submitting pull requests. Follow the contribution guidelines for details.
This project is licensed under the MIT License.
