This repository has been archived on 2026-02-01 . You can view files and clone it. You cannot open issues or pull requests or push a commit.
3111f298d75fcf333d2dc4fe4113174b53298ca6
Bumps the npm_and_yarn group with 1 update in the / directory: [form-data](https://github.com/form-data/form-data). Updates `form-data` from 4.0.1 to 4.0.4 - [Release notes](https://github.com/form-data/form-data/releases) - [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md) - [Commits](https://github.com/form-data/form-data/compare/v4.0.1...v4.0.4) --- updated-dependencies: - dependency-name: form-data dependency-version: 4.0.4 dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Siri Shortcuts
A versatile backend service that extends Siri's capabilities through custom shortcuts, enabling AI-powered voice interactions and automated tasks. Built with TypeScript and Next.js, this project demonstrates how to create a bridge between Apple's Shortcuts app and custom backend logic.
🌟 Features
- Custom Siri Commands: Extend Siri's functionality through Apple Shortcuts integration
- AI-Powered Responses: Leverages Claude AI for intelligent, context-aware responses
- Extensible Command System: Easy-to-expand architecture for adding new commands
🛠️ Technology Stack
- Framework: Next.js 15
- Language: TypeScript
- AI Integration: Anthropic's Claude API
- Testing: Jest
- Deployment: Vercel
- Code Quality: ESLint, Prettier, Husky
🚀 Getting Started
-
Install dependencies
yarn install -
Set up environment variables
cp .env.example .envFill in:
USER_KEY: Your API authentication keyANTHROPIC_API_KEY: Your Anthropic API key for Claude AI
-
Run development server
yarn dev -
Run tests
yarn test
📱 Setting Up Shortcuts
- Create a new Shortcut in the iOS Shortcuts app
- Add "Make HTTP Request" action
- Configure the request:
- URL: Your deployed API endpoint
- Method: POST
- Headers: Content-Type: application/json
- Body:
{ "command": "your_command", "apiKey": "your_api_key", "parameters": {} }
🔍 Available Commands
- ping: Test the API connection
- time: Get the current time
- anthropic: Ask Claude AI a question
- Parameters:
{"question": "Your question here"}
- Parameters:
🔒 Security
- API key authentication required for all endpoints
- Secure headers configuration via Vercel
- Rate limiting and request validation
- HTTPS-only communication
🔮 Future Enhancements
- Add more AI-powered commands
- Implement user preferences and data storage
- Integrate with more external services
Languages
TypeScript
94.5%
JavaScript
2.8%
Dockerfile
2.2%
Shell
0.5%