seanhealy / lightphoneproxy Goto Github PK
View Code? Open in Web Editor NEWA Simple SMS and iMessage Proxy for the Light Phone 2.
License: MIT License
A Simple SMS and iMessage Proxy for the Light Phone 2.
License: MIT License
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.
The codebase is currently a bit spaghetti-ish. A bit of a refactor to better organize things would be prudent.
The getting started steps currently leave a lot to be desired. A better guide here would be nice.
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.