Scripting 4+

Build & Run Scripts with AI

有智 方

Designed for iPad

    • Free
    • Offers In-App Purchases

Screenshots

Description

Scripting — Create, Automate, and Personalize Your iPhone

Scripting is a powerful development platform that lets you write, test, and run TypeScript or JavaScript scripts directly on your iPhone or iPad.
Whether you’re a creative maker or someone who loves automating everyday tasks, Scripting unlocks endless possibilities to make your device truly yours.

Key Features

• Build Powerful Scripts
Create your own widgets, Control Center toggles, Dynamic Island views, custom keyboards, Shortcuts, and share extensions — all powered by your scripts.

• Access Native APIs
Leverage a full suite of native iOS APIs (Calendar, Notification, Bluetooth, Health, and more) to interact deeply with your device and craft personalized automation.

• Design Native UI with TSX & SwiftUI
Build beautiful, responsive interfaces using TSX syntax and SwiftUI components. Create interactive tools, widgets, and custom keyboards with native performance.

• Integrated AI Assistant
Connect your own API key to chat with any AI service. Let AI run your scripts, search your knowledge base, generate code, and complete complex workflows automatically.

• Smooth Development Experience
Use the companion CLI tool with VSCode to preview and run your scripts in real time on your iPhone or iPad. Development has never felt this smooth.

• Advanced Mobile Code Editor
Code on the go with a modern mobile editor. Enjoy enhanced TypeScript support, including autocompletion, syntax highlighting, inline diagnostics, and intelligent code hints.

Why Choose Scripting?

Scripting gives you the freedom to customize your iPhone like never before.
From building unique automations to integrating AI into your daily routines, it turns your creativity into real, working tools — all running natively on iOS.
Unleash your imagination and redefine what your device can do.


Privacy Policy: https://scripting.fun/privacy_policy/
Terms of Use: https://scripting.fun/terms/

What’s New

Version 2.4.1

# New Features

Knowledge Base
You can now import multiple files at once by selecting a directory.

Assistant Tool
Introduced a built-in query knowledge bases tool, enabling the Assistant to search associated knowledge bases when completing tasks.

ControlWidget (iOS 18+)
Added ControlWidget, allowing you to place Button and Toggle controls in Control Center and assign scripts to handle their logic.

Custom Keyboard
Added the CustomKeyboard API to create and present your own keyboard UI, handle input events, and insert text programmatically.

Bluetooth APIs
Introduced BluetoothCentralManager and BluetoothPeripheralManager APIs. Build end-to-end Bluetooth experiences, including scanning, connecting, reading/writing GATT characteristics, subscribing to notifications, advertising, and exposing custom services/characteristics.

Added layoutPriority View Modifier
Introduced support for the layoutPriority view modifier, allowing developers to control how space is distributed among sibling views when layout constraints are tight. This behavior is consistent with SwiftUI’s native layoutPriority(_:).

Introduced modifiers Property and ViewModifiers System
A new modifiers property, along with the ViewModifiers class and the modifiers() helper function, has been added to enable fluent, chainable application of view modifiers.
This system supports applying the same type of view modifier multiple times (e.g., repeated padding() or background() calls) and ensures modifiers are applied in the exact order they are chained, closely mirroring the behavior of SwiftUI.

SVG Rendering
Added a new SVG rendering component to display vector graphics seamlessly.

Custom Fonts
Now supports using fonts installed via the system or third-party apps.

# Improvements

Request API
Added an allowInsecureRequest field to RequestInit / Request for controlling whether insecure requests are permitted.

Location API
Location.requestCurrent now returns cached location data by default if available.
Added a new optional parameter options.forceRequest to always fetch the latest location.

Developer Server
The dev server now remembers and records the last connected address for faster reconnections.

Storage Enhancements
set, get, contains, remove, setData, and getData now accept an optional options.shared parameter for working with shared storage, which is accessible across all scripts for easier cross-script functionality.

Fixes
Assistant Tool Calls
Fixed an issue where the Assistant could misparse tool parameters when invoking tools, improving reliability of tool execution.

Photos API
Fixed an issue where dismissing the Photos.pickPhotos sheet by swiping down would not resolve the promise.

HealthKit Permissions
Fixed an issue where requesting Health permissions did not trigger the authorization dialog.

Script Advanced Settings
Fixed an error when renaming a script in the Advanced Settings page, which could cause a refresh failure after saving.


# Changes
API Providers
Removed the Pollinations.AI API provider.

Ratings and Reviews

5.0 out of 5
11 Ratings

11 Ratings

AimSD23nSIR ,

Amazing ai

I can do just about anything I want that has an API method. You know how to use the assist correctly you can program just about anything.

Developer Response ,

Thank you for your fantastic review! We’re thrilled to hear that our AI Assistant integration is empowering you to turn your innovative ideas into reality. Your feedback motivates us to continuously improve our app, and we truly appreciate your support. Happy scripting!

My Happy Fat Cat ,

Can you update the online document?

This is a very cool app, if you are a developer, it really makes sense! Also could you support the MCP server for the Assistant?

Developer Response ,

Thanks so much for your kind words and feedback! We’re really glad you’re enjoying the app. Updating the online documentation is definitely on our to-do list — we appreciate the reminder. As for MCP server support for the Assistant, that’s a great suggestion and we’ll look into the possibilities. Stay tuned for updates!

Brilliant308 ,

It's useful

I can easy do coding on my phone powered by AI

Developer Response ,

Thank you for highlighting our AI-powered coding experience! We're thrilled that mobile development feels effortless and efficient on your phone — that's exactly what we strive for. Excited to keep refining our app to streamline your workflow. Keep the feedback coming!

App Privacy

The developer, 有智 方, indicated that the app’s privacy practices may include handling of data as described below. For more information, see the developer’s privacy policy.

Data Not Collected

The developer does not collect any data from this app.

Privacy practices may vary, for example, based on the features you use or your age. Learn More

Supports

  • Family Sharing

    Some in‑app purchases, including subscriptions, may be shareable with your family group when Family Sharing is enabled.

You Might Also Like

CareServer
Developer Tools
Dev AI: Learn to Code
Developer Tools
Rubyist - Ruby Scripting
Developer Tools
Device Status⁺
Developer Tools
Terminux: SSH Client
Developer Tools
Fileso: File Manager|unzip|rar
Developer Tools