Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kyuden/pingo

A simple CLI tool for finding your iphone.
https://github.com/kyuden/pingo

cli golang iphone ruby

Last synced: about 2 months ago
JSON representation

A simple CLI tool for finding your iphone.

Awesome Lists containing this project

README

        

# Pingo [![Gem Version](https://badge.fury.io/rb/pingo.svg)](http://badge.fury.io/rb/pingo) [![Code Climate](https://codeclimate.com/github/Kyuden/pingo/badges/gpa.svg)](https://codeclimate.com/github/Kyuden/pingo)


Pingo provide a scatterbrain with a `pingo` command of sounding your iphone.

## Installation

Install it yourself as:

```bash
$ gem install pingo
```

If you've done Go development before and your $GOPATH/bin directory is already in your PATH, this is an alternative installation method that fetches `pingo` into your GOPATH and builds it automatically:

```
$ go get github.com/kyuden/pingo
```

## Usage

Set APPLE_ID and APPLE_PASSWORD in environment variables.

```bash
# Set it in .zshrc, .bashrc etc...
echo "export APPLE_ID=your_apple_id" >> ~/.zshrc
echo "export APPLE_PASSWORD=your_apple_password" >> ~/.zshrc
source ~/.zshrc
```

Execute `pingo` command with iphone model name

```bash
pingo your_iphone_model_name
```

Example:

```
# when iphone 5s
pingo 5s
# when iphone 6
pingo 6
# when iphone 6 Plus
pingo 6.Plus
```

## Contributing

1. Fork it ( https://github.com/[my-github-username]/pingo/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request