Coder Social home page Coder Social logo

thegraydot / barcomic_server Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 87 KB

An HTTP API for receiving comic book barcodes from the Barcomic Android application

License: GNU General Public License v3.0

Go 80.05% Makefile 4.21% Shell 12.33% Dockerfile 3.41%
barcode barcode-detection barcode-reader barcode-scanner barcode-scanning golang http-server comic-books comicbooks

barcomic_server's People

Contributors

dependabot[bot] avatar thomaslaurenson avatar

Watchers

 avatar

barcomic_server's Issues

Extra digit duplicated in barcode string

When the barcode is executed into key strokes, there is an additional character. The last digit is being repeated. Could be how the buffer is converted to a string.

Change from socket to http

This makes sense, don't need the performance of sockets and could use mock tests, better ssl, auth options? And ease of use of http.

Change secure https to not be default

iOS doesn't support self signed certs, and Android needs a hacky fix. This means it should probably be non-default to enable https. When a managed server is implemented, https will be done on domain name, so self signed https is not needed.

Todo:

  • k argument should enable self signed https, and should be default to off

Fix crash bug when not selecting an IP from the interactive menu

Should be able to just enter and accept default - however, no selection is crashing:

[*] barcomic dev-mode
[*] The following addresses are available...
    [0] 10.10.10.1 (wlp3s1)
    [1] 10.10.10.1 (br-adb8080eff94)
    [2] 10.10.10.1 (br-3ed7272d5345)
    [3] 10.10.10.1 (docker0)
[*] Enter IP address [0.0.0.0]: 

[*] Error. Could not determine network interface selection.
exit status 1

Add socket networking

Socket networking provides some benefits for integration with the Android app. Makes sense to add it back in, with a CLI argument.

Add TLS support

Probably not really necessary, but strong TLS would be nice to have

Add qrcode generator

Feature should determine what network interface and port (get programmically, or from user), the print qr code to the terminal

Update naming conventions

Internal server should be called barcomic_server for consistency
Also update go.mod file to reflect changes

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.