Coder Social home page Coder Social logo

signal-photo-mail's Introduction

Signal Photo Mailer

This project creates a bridge between my Signal messenger Groups and email - specifically to send pictures to my digital photo frame. It simply logs into my signal, and when it sees an image (JPEG, > 512k) in the target group, it automatically emails it to the email address of your choice - in my case, my Nixplay address. It's basically a mail wrapper around the excellent signal-cli.

Obvious note: Files sent over email lose the privacy protetions of Signal! Be a good person and warn any others in the chat that their images are going through your (or google's, or microsoft's...) SMTP server to your photo frame.

ToDo

  • Make first time setup easier

Installation/Usage

  • Copy the env.example file to .env, and modify it with your own configuration. If you don't know your group ID yet, make one up while you go through the registration process.
$> cp env.example .env
$> nano .env
  • Register yourself either as a new phone number (make sure to add it to the Group!), or as a "Slave device" on an existing phone number.
    • New number: ./run.sh signal-cli -u <your phone number> register, and then later ./run.sh signal-cli -u <your phone number> verify <your code from SMS>. You can register with --voice if the phone can't receive SMS.
    • Slave device: ./run.sh signal-cli link -n "optional device name". Pass the resulting tsdevice:/ link through a QR code generator to scan it with your phone.
  • Once you are registered, look up the groups you belong to with ./run.sh signal-cli -u <your phone number> listGroups. Find the ID of the group you want to monitor, and add it to your .env file.
  • Run the service with ./run.sh

Note: Your phone number must always include the country code. e.g. +49123456789. In North America it's +1.

signal-photo-mail's People

Contributors

ohthehugemanatee avatar

Watchers

 avatar

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.