Code Monkey home page Code Monkey logo

capper's People

Contributors

davidbruant avatar marcsatskyhunter avatar

Stargazers

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

Watchers

 avatar

capper's Issues

returning images from methods

I only see how to return JSON objects from methods. I'd like to return an image (preferably: a list of images). I can send base64 encoded bytes, but that's sort of tedious.

Suggestions?

I'm looking at ways to tweak invokeActor to use res.sendFile() but all the approaches I see look awkward.

two-way messaging?

I'd like to subscribe to database events using mysql-events. It looks like websockets and express get along reasonably well... Ideally, capper would integrate with q-connection for two-way messaging.

I have a vague recollection of discussion of this somewhere, but as I'm about to do some coding in this area, I figured I'd put it in the queue here.

add SSL fingerprint to path for YURL property

Capper was the one of the few apps that motivated me to go through the hassle of setting up an SSL key and such, and the first to motivate me to set up a CA cert (so that I can get at my capper app from my android tablet).

The large random number sparse caps work well for authorization, but while we're at it, how about integrity? How about URLs such as https://myhost:1341/FINGERPRINT/ocaps/#s=82q1...? This would make them YURLs.

I might try this out... pki.js looks promising.

Based on a clue, I get:

Capper$ openssl x509 -noout -in ssl/server.crt -fingerprint -sha1
SHA1 Fingerprint=AF:1B:04:F8:76:61:33:2B:E1:88:60:80:1D:C4:02:9D:FC:DA:6B:0B

Capper$ openssl x509 -noout -in ssl/server.crt -fingerprint -sha256
SHA256 Fingerprint=FF:C1:4A:7D:47:D7:F6:AE:E2:95:4B:E0:9E:36:55:DC:7E:99:4A:CF:BD:38:B7:0F:78:28:B0:86:2C:F8:E6:0B

For bonus points: encrypt the capper.db with the same key.

capper package

I'm trying to use capper in my projects. So far, I haven't checked in the capper sources but just the code I'm writing. But it's a wierd set-up to mix my code inside capper.

I'd much rather npm install capper and use it like any other npm package. I'd rather call into it and pass in functions such as reviverToUIPath and reviverToMaker.

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.