GithubHelp home page GithubHelp logo

unlobito / skunk Goto Github PK

View Code? Open in Web Editor NEW
29.0 29.0 14.0 153 KB

Easy access to your store cards and other barcodes from your Pebble.

License: Other

C 80.32% Python 2.62% JavaScript 14.25% Nix 2.82%

skunk's People

Contributors

a2 avatar andrwj avatar clach04 avatar cocoabob avatar henryk avatar katharine avatar kontakt avatar lukegb avatar neal avatar str8away avatar unlobito avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

skunk's Issues

Not working with PTS

Hi!
So, I downloaded Skunk from Rebble store to my PTS, and when I'm trying to open configuration menu (or load app on watch), I'm receiving an error message.

Allow manually reordering barcodes.

Currently barcodes are automatically alphabetically ordered. Users should be able to order barcodes themselves by tapping up/down arrows.

Requested by /u/ReddiDave and /u/urvaksh on reddit.

UPC-A barcodes being rendered incorrectly

UPC-A barcodes are not being rendered properly on the Pebble. ZXing (the Android barcode app) reads them as having an extra digit, and sometimes as EAN13 instead of UPC-A.

To reproduce:

  • Enter any UPC-A barcode into the watch app settings (I used a Kroger loyalty card) and press Save.
  • Scan the resulting barcode rendered on the watch.

The number reported should be 12 characters long and identified as a UPC-A format barcode. Instead, it shows an extra digit at the end, making the barcode 13 digits long and not a valid UPC-A. Some numbers (like the aforementioned Kroger loyalty card) are identified as an EAN13 barcode.

Gadgetbridge compatibility

And hi again!:)
Is it possible to make this app gadgetbridge-compatible? As far as I can understand, gadgetbridge restrict watchapps internet access. The only way to send something to watchapps with gadgetbridge is to put it inside json which settings web page returns. Is it possible to pass qrcodes to watchapps this way instead of direct download?

Line break

Is it possible to add line breaks? Would useful for vCards.

Aztec barcodes with a large amount of data can't be read.

Aztec barcodes with a large amount of data (such as airplane tickets) will shrink down poorly, leading to them being unreadable. The long Aztec barcode below demonstrates this issue (centre bulls eye not visible).

Short Aztec Long Aztec

Requested by: /ubjett92, /u/Str8AWay, and /u/thgintaetal on reddit.

Crash during launch after firmware 3.10

Since updating my Pebble Time Steel to firmware 3.10, skunk crashes on launch. (I get the flippy little launch animation, but it never leaves the application menu.) Uninstalling and reinstalling skunk gets me to the "Please open settings" state, but then it crashes again once I enter a barcode on the phone and hit Save. Is there any debug info I can send you to help?

PTR crash on short alphanumeric Code 128

I've started using Skunk on a PTR (thanks for porting it over!) after using it a lot on a PTS and so far it's worked well with long number only Code-128 barcodes but when I cycle to an alphanumeric Code-128 (A276097) the app closes. The same code used to work on PTS but on PTR it causes a crash.

Option to disable backlight

I think some barcode scanners have trouble scanning when the watches backlight is on. Perhaps put an option in the settings to turn off the backlight say 500ms to 1s after the last button press? The delay would be to give time to select a barcode.

App Won't Launch 3.10.1

App doesn't launch in any way. Not even when accessing settings from iOS Pebble Time app.

Line barcode a bit too small

I noticed with my tesco clubcard seems awfully hard to scan due to the fact the barcode does not stretch the entire area but uses a set height

Can't save percentage sign in settings

For the types of bar code that does support percentage sign (%) it will not save the settings. If you try to save with a % in any of the input boxes, it just reverts to last saved state.

Special characters can't be used for barcode titles

skunk-config chokes on the special characters & the app might not be able to render these.

2015-11-04T16:15:05.037962+00:00 app[web.1]: JSON::ParserError - unexpected token at '{"barcodes":[{"name":"Papelería Abreu","type":"upca","data":"000000123456"}]':
2015-11-04T16:15:05.037970+00:00 app[web.1]:    json/ext/Parser.java:251:in `parse'
2015-11-04T16:15:05.037972+00:00 app[web.1]:    /app/vendor/ruby-2.2.2-jruby-9.0.1.0/lib/ruby/stdlib/json/common.rb:155:in `parse'
2015-11-04T16:15:05.037973+00:00 app[web.1]:    /app/app.rb:108:in `block in POST /data'
2015-11-04T16:15:05.037974+00:00 app[web.1]:    org/jruby/RubyMethod.java:111:in `call'
2015-11-04T16:15:05.037976+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1603:in `block in compile!'
2015-11-04T16:15:05.037976+00:00 app[web.1]:    org/jruby/RubyProc.java:308:in `call'
2015-11-04T16:15:05.037977+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:966:in `block in route!'
2015-11-04T16:15:05.037978+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:985:in `route_eval'
2015-11-04T16:15:05.037979+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:966:in `block in route!'
2015-11-04T16:15:05.037979+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1006:in `block in process_route'
2015-11-04T16:15:05.037980+00:00 app[web.1]:    org/jruby/RubyKernel.java:1098:in `catch'
2015-11-04T16:15:05.037981+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1004:in `process_route'
2015-11-04T16:15:05.037981+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:964:in `block in route!'
2015-11-04T16:15:05.045697+00:00 app[web.1]: 193.60.168.72 - - [04/Nov/2015 16:15:05] "POST /data HTTP/1.1" 500 30 0.0120
2015-11-04T16:15:05.037982+00:00 app[web.1]:    org/jruby/RubyArray.java:1560:in `each'
2015-11-04T16:15:05.037983+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:963:in `route!'
2015-11-04T16:15:05.037983+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1076:in `block in dispatch!'
2015-11-04T16:15:05.037984+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `block in invoke'
2015-11-04T16:15:05.037985+00:00 app[web.1]:    org/jruby/RubyKernel.java:1098:in `catch'
2015-11-04T16:15:05.037986+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1073:in `dispatch!'
2015-11-04T16:15:05.037986+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `invoke'
2015-11-04T16:15:05.037987+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:898:in `block in call!'
2015-11-04T16:15:05.037988+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `block in invoke'
2015-11-04T16:15:05.037989+00:00 app[web.1]:    org/jruby/RubyKernel.java:1098:in `catch'
2015-11-04T16:15:05.037990+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `invoke'
2015-11-04T16:15:05.037990+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:898:in `call!'
2015-11-04T16:15:05.037991+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:886:in `call'
2015-11-04T16:15:05.037992+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
2015-11-04T16:15:05.037992+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
2015-11-04T16:15:05.037993+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in `call'
2015-11-04T16:15:05.037994+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in `call'
2015-11-04T16:15:05.037994+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in `call'
2015-11-04T16:15:05.037995+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
2015-11-04T16:15:05.037996+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
2015-11-04T16:15:05.037996+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'
2015-11-04T16:15:05.037998+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/rack-1.5.2/lib/rack/commonlogger.rb:33:in `call'
2015-11-04T16:15:05.037999+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:217:in `call'
2015-11-04T16:15:05.038000+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:210:in `call'
2015-11-04T16:15:05.038000+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
2015-11-04T16:15:05.038002+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:180:in `call'
2015-11-04T16:15:05.038002+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:2014:in `call'
2015-11-04T16:15:05.038001+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2015-11-04T16:15:05.038008+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1788:in `synchronize'
2015-11-04T16:15:05.038003+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1478:in `block in call'
2015-11-04T16:15:05.038010+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/puma-2.14.0-java/lib/puma/configuration.rb:78:in `call'
2015-11-04T16:15:05.038009+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1478:in `call'
2015-11-04T16:15:05.038010+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/puma-2.14.0-java/lib/puma/server.rb:541:in `handle_request'
2015-11-04T16:15:05.038012+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/puma-2.14.0-java/lib/puma/server.rb:270:in `block in run'
2015-11-04T16:15:05.038012+00:00 app[web.1]:    org/jruby/RubyProc.java:308:in `call'
2015-11-04T16:15:05.037997+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/rack-1.5.2/lib/rack/logger.rb:15:in `call'
2015-11-04T16:15:05.042441+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/puma-2.14.0-java/lib/puma/thread_pool.rb:106:in `block in spawn_thread'
2015-11-04T16:15:05.038011+00:00 app[web.1]:    /app/vendor/bundle/jruby/2.2.0/gems/puma-2.14.0-java/lib/puma/server.rb:388:in `process_client'

Ability to select error correction level

I'm trying to get my boarding pass to be displayed correctly on my Pebble.

Barcode type is Aztec with 33% error correction level I believe.

Problem is, when I enter my barcode text in the Skunk configuration, it apparently applies a much higher error correction level, and as a result the displayed barcode on the Pebble contains much more data and the dots are much smaller than they need to be.

The official Airline app uses a much lower error correction, so I believe that this low level of correction must be sufficient.

Any way to add the error correction level to the config page ?

added '%' and got HTTP 500 Error

I've using Skunk on a PTR. I like Skunk so much. :)

I couldn't save '%' and '$' for QR Code Data area. I got 'HTTP 500' error on the watch.

Pebble Time Round support

skunk currently does not run on the Pebble Time Round.

UI needs to be considered as skunk might display barcodes that the round screen may cut off.

setting page is down

Dear Team,

I hope this message finds you well. I am writing to report an issue with the web page for the Skunk application, which appears to be non-functional at the moment. Could you please investigate this problem? If there is any way I can assist in resolving the issue, please let me know.

Thank you very much for your attention and assistance.

Best regards

App does not open; Not found on Pebble Store

I was going to pay for my Starbucks drink at the til when I tried to open the app and was instead presented with a progress bar on a grey background. When it was done loading, the screen went back to the main menu.

So I first attempted to change the barcodes in the settings of the Pebble app on my iPhone, which did not help (opening the app from the menu just immediately closes).

Then I deleted the app completely and tried searching the pebble store for the app in a bid to reinstall, but it could not be found.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.