A curated collection of scripts for the Scripting app. Each directory is a ready-to-import script project that can run natively on iPhone and iPad.
| Script | Description | Import |
|---|---|---|
| Loopback | Pair an iOS device and prepare a native RSD tunnel for other Scripting scripts. Pairing credentials stay only in Loopback's Keychain; client scripts use ScriptSession to request status or open the tunnel, then call VPN.localDevVPN.attachRSDTunnel() to obtain their own handle. The UI supports Chinese and English, with English as the fallback. |
Import |
| Video to Live Photo | Choose a video from Photos, adjust the cover moment and duration, then create and save a Live Photo directly to your library. The interface automatically follows the device language (English or Chinese). | Import |
| Apply Scripting TestFlight | Apply for Scripting TestFlight access with a purchase receipt, Scripting Pro status screenshot, and App Store five-star review screenshot. Receipt OCR extracts the Apple ID email and order number, asks you to confirm both match the receipt (wrong details mean no invitation), then opens a prefilled Mail draft with all three screenshots attached. The interface supports Chinese and English, with English as the fallback. | Import |
| Border Beam | An animated comet of light that orbits the border of any view — prompt cards, search bars, buttons or plain content. One Metal colorEffect pass, three styles, eight palettes, direction / intensity / speed and an active fade. Ships a precompiled .metallib, so it runs as-is. |
Import |
| Xcode Localizable Translation | Translate Xcode Localizable.xcstrings files in-app, or expose the same AI provider through a local HTTP API (plain text, full file, async jobs). Supports background/headless Script.run mode and Chinese/English UI. |
Import |
| Baby Feed Tracker | Log 17 kinds of baby care events — milk, nursing, solids, sleep, diapers, spit-up, crying, medicine, temperature, vaccines, milestones and growth — with a type-aware form that remembers your last setup. Records sync through a shared iCloud store so several phones can log for the same baby, a home-screen widget shows today's totals, a timeline and quick-add shortcuts, and the UI supports Chinese and English, with English as the fallback. | Import |
| Redact | Redact sensitive info in screenshots before sharing — Vision OCR plus local rules (phone, ID, bank card, email, URL, plate…) and optional on-device Apple Intelligence, covered with mosaic / solid / blur. Fully on-device; supports Share Sheet input and Chinese / English UI. | Import |
Run Loopback once to pair the device. After pairing, the page can be closed; the script remains available as a ScriptSession service. Other scripts do not need the pairing record or private keys:
const state = await ScriptSession.call({
name: "Loopback",
message: { command: "ensureTunnel" },
timeout: 180000,
});
if (state.status !== "tunnel_open") {
throw new Error(state.message ?? `Loopback is not ready: ${state.status}`);
}
const tunnel = await VPN.localDevVPN.attachRSDTunnel();
try {
const services = await tunnel.listServices({ refresh: true });
// Open RSD services from this script's own tunnel handle.
} finally {
await tunnel.close();
}See Loopback/README.md for the full protocol, bilingual documentation, service ownership rules, and a DeviceServices example.
BorderBeam wraps any content and draws the beam over its border:
import { BorderBeam } from "./BorderBeam"
import { BeamPalette } from "./beam"
<BorderBeam colors={BeamPalette.spectrum} shape={{ kind: "rounded", radius: 26 }}>
<Text padding={18}>Ask anything</Text>
</BorderBeam>Styles are large (comet), small (tight ring) and line (sweep along the bottom edge);
shapes are { kind: "rounded", radius }, { kind: "capsule" } and { kind: "circle" }.
The beam is one GPU pass: shaders/BorderBeam.iphoneos.metallib runs through SwiftUI's
colorEffect, so it needs iOS 18+ and ShaderLibrary.getCapabilities().projectLibraries === true.
After editing shaders/BorderBeam.metal, rebuild the library with
metal-shader-build; see
Border Beam/README.md for the full prop list.
Use an Import link in the table above to open the script in Scripting. You can also import any script directory manually:
- Open Import Scripts.
- Paste a GitHub directory URL, for example:
https://github.com/ScriptingApp/scripts/tree/main/Video%20to%20Live%20Photo - Generate the import link, open it in Scripting, and confirm the import.
Each script is a self-contained directory with at least:
Script Name/
├── script.json # Script metadata
└── index.tsx # Main entry point
Keep scripts self-contained, use Scripting APIs only where practical, and include user-facing documentation or a concise in-app workflow.
MIT