Skip to content

An easy-to-use and easy-to-setup custom FindMy network using OpenHaystack using macless-haystack but with tools written in Go/TinyGo, no Python required.

License

Notifications You must be signed in to change notification settings

hybridgroup/go-haystack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-haystack

Go Haystack gopher

An easy-to-use and easy-to-setup custom FindMy network using OpenHaystack using macless-haystack but with tools written in Go, no Python required.

Supported hardware

This package supports using firmware written using TinyGo and the TinyGo Bluetooth package. As a result, any of the hardware devices supported should work:

You can also use the same code to run on Linux for your Raspberry Pi or other embedded system with Bluetooth available using BlueZ.

How to install

Apple ID

Apple-ID with 2FA enabled. Only sms/text message as second factor is supported!

anisette-v3-server

  1. Start anisette-v3-server
docker network create mh-network
docker run -d --restart always --name anisette -p 6969:6969 --volume anisette-v3_data:/home/Alcoholic/.config/anisette-v3 --network mh-network dadoum/anisette-v3-server
  1. Start and set up your Macless Haystack endpoint in interactive mode:
docker run -it --restart unless-stopped --name macless-haystack -p 6176:6176 --volume mh_data:/app/endpoint/data --network mh-network christld/macless-haystack
You will be asked for your Apple-ID, password and your 2FA. If you see serving at port 6176 over HTTP you have all set up correctly
  1. Restart macless-haystack server
docker restart macless-haystack

See https://github.com/dchristl/macless-haystack/blob/main/README.md#server-setup for the original instructions.

install go-haystack

Install the go-haystack command line tool

go install github.com/hybridgroup/go-haystack

How to use

  1. Generate keys for a device
go-haystack -name=DEVICENAME
  1. Flash the hardware with the target name of your device and those keys

For example:

./flash.sh nano-rp2040 DEVICENAME.keys
  1. Upload the JSON file for that device to your running instance of macless-haystack using the web UI.

Your data may appear

Eventually, if there are iPhone devices in range of your beacons, they will appear in your macless-haystack data.

Have fun, be good!

About

An easy-to-use and easy-to-setup custom FindMy network using OpenHaystack using macless-haystack but with tools written in Go/TinyGo, no Python required.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published