Giter VIP home page Giter VIP logo

lightphoneproxy's People

Contributors

seanhealy avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

lightphoneproxy's Issues

Move contact's preferred service out of Memory

Currently the preferred service (SMS or iMessage) is stored in memory. This should be moved to a database. Thinking SQLite would work nicely until there is a better client server break (#2) where moving to a more scaleable db would make more sense.

Likely would be good to use https://github.com/typeorm/typeorm or something like it to be safer with any db moves in the future.

Break into Client and Server

In order to allow for #1 the service should be broken into a client and a server.

The Client would run on a user's Mac to communicate with the Messages app and the server would be responsible for managing proxy numbers, receiving web hooks, etc.

A web socket connection would likely be a good communication mechanism between clients and servers that would also remove the need for a tool like ngrok.

Allow for Proxy Number sharing.

The biggest fixed cost of running this are the proxy numbers. These are also very shareable. Since it's only LightPhone users who will be sending messages to these proxy numbers we can identify the contact that they are proxying to by correlating the proxy number to the user who's light phone sent the message. Likewise we can do the opposite for the other message direction.

There would be other considerations when we get to here at any scale such as passing on the messaging costs but at a low scale that could be handled with donations or with some other ad-hoc mechanism.

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.