Skip to content

MN-company/musicode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MusiCode

Apple Intelligence Shortcuts iOS License

Custom visual codes for physical-to-digital interactions.

MusiCode is inspired by Spotify Codes, but replaces the fixed barcode-like format with a flexible visual recognition workflow. A symbol, object, logo, or image can become a code that opens a link when scanned through an Apple Shortcuts workflow.

The idea is simple: instead of generating a special machine-readable graphic, use multimodal recognition to match a real-world visual against a reference image.

What it solves

  • Turn a custom visual into a link trigger
  • Use existing images, logos, objects, or printed designs as codes
  • Avoid a rigid barcode format
  • Create physical-to-digital interactions with only GitHub, Shortcuts, and an Apple Intelligence-capable device
  • Make links easy to update by editing url.txt

How it works

flowchart LR
    A["Reference image in GitHub"] --> B["Shortcut downloads reference"]
    C["Camera capture"] --> D["Apple visual model"]
    B --> D
    D --> E{"Match?"}
    E -->|Yes| F["Open URL from url.txt"]
    E -->|No| G["Show error"]
Loading

Repository files

  • img.jpg: reference visual code
  • url.txt: destination URL
  • banner-placeholder.png: project banner

Setup

  1. Fork this repository.
  2. Replace img.jpg with the visual code you want to recognize.
  3. Edit url.txt with the destination link.
  4. Copy the raw GitHub URLs for both files.
  5. Install the Apple Shortcut.
  6. On first launch, paste the raw file URLs when prompted.

Shortcut:

Download MusiCode Shortcut

Use cases

  • Music and playlist links
  • Personal business cards
  • Posters and event flyers
  • Brand activations and merchandising
  • Treasure hunts and interactive installations
  • Linking physical objects to digital experiences

Model options

  • Apple cloud model: recommended for the best speed and accuracy
  • Apple local model: works with lower accuracy
  • ChatGPT Vision: can work, but adds latency and depends on user access

Device requirements

MusiCode depends on Apple Intelligence-capable devices and the Shortcuts app. Check Apple's current compatibility list before using it in production.

Project status

MusiCode is a creative prototype. It is useful for experiments, demos, and small physical-to-digital interactions, but recognition accuracy depends on the visual design, lighting, camera framing, and the model used by the shortcut.

License

You may not copy this project and claim authorship unless you have substantially modified it. Credits to the original author are required.

About

Custom visual codes for physical-to-digital interactions using Apple Shortcuts and visual recognition.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors