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.
Riccardo Senica 73a4b65936
All checks were successful
Deploy / lint-build-deploy (push) Successful in 2m28s
chore: gitea changes
2026-01-22 19:03:51 +01:00
2026-01-22 19:03:51 +01:00
2025-10-11 15:13:31 +02:00
2025-01-18 21:54:26 +01:00
2026-01-22 19:03:51 +01:00
2025-06-23 19:04:01 +02:00
2025-01-18 21:54:26 +01:00
2025-10-11 12:15:30 +02:00
2025-10-11 12:15:30 +02:00
2025-10-11 12:15:30 +02:00
2025-10-11 12:15:30 +02:00
2025-01-18 21:54:26 +01:00
2025-01-18 21:54:26 +01:00
2025-01-18 21:54:26 +01:00
2025-01-18 21:54:26 +01:00
2026-01-22 19:03:51 +01:00
2025-01-18 21:54:26 +01:00
2024-12-28 13:54:37 +01:00
2025-01-18 21:54:26 +01:00
2026-01-22 19:03:51 +01:00
2025-10-11 12:15:30 +02:00
2025-10-11 12:15:30 +02:00
2025-01-18 21:54:26 +01:00
2025-01-18 21:54:26 +01:00

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 API via Vercel AI Gateway
  • Testing: Jest
  • Deployment: Vercel
  • Code Quality: ESLint, Prettier, Husky

🚀 Getting Started

  1. Install dependencies

    yarn install
    
  2. Set up environment variables

    cp .env.example .env
    

    Fill in:

    • USER_KEY: Your API authentication key
  3. Run development server

    yarn dev
    
  4. Run tests

    yarn test
    

📱 Setting Up Shortcuts

  1. Create a new Shortcut in the iOS Shortcuts app
  2. Add "Make HTTP Request" action
  3. 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"}

🔒 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
Description
Extend Siri's capabilities with custom AI-powered commands. A Next.js backend service that bridges Apple Shortcuts with Claude AI, enabling intelligent voice interactions and automated tasks.
Readme MIT 497 KiB
Languages
TypeScript 94.5%
JavaScript 2.8%
Dockerfile 2.2%
Shell 0.5%