https://github.com/gowiem/where_am_i
A simple command line app that approximates the user's location and uploads it online to Gowiem/whereami.com.
https://github.com/gowiem/where_am_i
command-line elixir location
Last synced: 11 months ago
JSON representation
A simple command line app that approximates the user's location and uploads it online to Gowiem/whereami.com.
- Host: GitHub
- URL: https://github.com/gowiem/where_am_i
- Owner: Gowiem
- Created: 2017-02-04T21:25:05.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-07T19:58:08.000Z (over 9 years ago)
- Last Synced: 2025-07-14T11:01:34.933Z (12 months ago)
- Topics: command-line, elixir, location
- Language: Elixir
- Size: 18.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WhereAmI
A simple Elixir command-line program that approximates the user's location and uploads it online to Gowiem/whereami.com.
The script is meant to run periodically via SleepWatcher and a MacOS LaunchAgent.
## Dependencies
1. Elixir -- `brew install elixir`
2. [SleepWatcher](http://www.bernhard-baehr.de/)
## Install
1. `mix deps.get`
2. `mix escript.build`
3. `cp ./where_am_i ~/.wakeup`
4. `cp com.gowie.whereami.plist ~/Library/LaunchAgents/com.gowie.whereami.plist`
5. `launchctl load ~/Library/LaunchAgents/com.gowie.whereami.plist`