I don't have a Mac anymore, for now I can't maintain this project. If I get a Mac and Airtags one day, I will do a complete rewrite with a Android/Windows/Linux/ChromeOS client.
Feel free to open a PR if you have some fixes/improvements.
With this project, you can see the airtags location on a simple web-app from any device. The idea of this project is to learn how Airtags location are stored and how to use them, it has been made for educational purposes.
- A bit of time
- Any device running MacOS that needs to be always on (to get airtags location and host the server)
- Install NodeJS (https://nodejs.dev/download)
- Clone the repository in a convenient location
- Replace "
localhost
" with the local ip address of your Mac infront_airtags/src/config.json
(or the external IP address if you want to open it outside of your network) - run
npm install
in both back and front folder - run
npm start
in back then front folder - open
localhost:3000
on your browser and check if it's working
- Type the IP of your Mac on your address bar, followed by :3000, login, and that's it !
If you want to access it from the external network, do a wireguard server (or open the port 3000, but I do not recommend it)
- AirtagAlex (for the idea of using the Items.data file) : https://github.com/icepick3000/AirtagAlex