Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/makevoid/ring-open-uri-demo
Ring OpenURI ruby sample code to open a browser via a gesture with Logbar Ring
https://github.com/makevoid/ring-open-uri-demo
demo gestures logbar-ring ring ruby sample-app
Last synced: 21 days ago
JSON representation
Ring OpenURI ruby sample code to open a browser via a gesture with Logbar Ring
- Host: GitHub
- URL: https://github.com/makevoid/ring-open-uri-demo
- Owner: makevoid
- Created: 2014-12-05T01:09:01.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2023-08-19T00:32:09.000Z (over 1 year ago)
- Last Synced: 2024-12-22T05:31:58.210Z (24 days ago)
- Topics: demo, gestures, logbar-ring, ring, ruby, sample-app
- Language: Ruby
- Homepage: http://mkv-video.s3.amazonaws.com/ring/ring_maps_and_b.mov
- Size: 7.81 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Ring OpenURI
video: http://mkv-video.s3.amazonaws.com/ring/ring_maps_and_b.mov (~5mb)
### simple example using Ruby
see `ring_open_uri.rb` (sinatra example app)
```
$ # clone/download the project
$ bundle
$ bundle exec rake
```Then visit: http://localhost:3000
(after you tested the app on your computer, then open the browser on your phone/tablet)
There are two default acttions to see (I focused more on choosing and testing the gestures than the actual implementation):
#### home
![](http://dl.dropboxusercontent.com/s/qn2og1q2x5t4xnh/2014-12-05%20at%2008.56%20(1).png)
- `http://YOUR_WIFI_IP:3000/action/home`
- (calls google map to get you home: need to get the current location thou)#### btc
![](http://dl.dropboxusercontent.com/s/2ft6o2a9zxg0ojo/2014-12-05%20at%2008.56.png)
- `http://YOUR_WIFI_IP:3000/action/bitcoin`
- (opens a disposable bitcoin wallet [rushwallet])at the moment, you can configures Actions from here: https://github.com/makevoid/ring_open_uri/blob/master/ring_open_uri.rb#L23
and urls from here: https://github.com/makevoid/ring_open_uri/blob/master/views/index.erb#L9
enjoy!
#### TODO:
- eventsource (server sent events)
- rewrite main.js in opal (too awesome)