Git Product home page Git Product logo

passer's Introduction

passer -- self-hosted sms to tweet

Passer is a proof-of-concept self-hosted SMS to Tweet server.

Security Notice

The Passer microapplication is made for demonstrational purposes only and opens up your Twitter account so that anyone can send tweets from your account as it doesn't authenticate the incoming SMSes. Please use as a reference only and do not try to deploy to production.

Installation

From zsh or bash starting in the Passer directory

  1. Setup a Virtualenv in the Passer directory using virtualenv -p python3 env and activate the virtualenv environment using . env/bin/activate then install the dependencies for Passer with pip install -r requirements.txt
  2. Create a Twitter application on apps.twitter.com and extract your Twitter consumer key and and consumer secret from the Keys and Access Tokens tab and export your Twitter API keys to the environment using export PASSER_TWITTER_KEY=<consumer key> and export PASSER_TWITTER_SECRET=<consumer secret>
  3. Log in/create an account on 46elks 46elks and extract your API username and secret from the 46elks dashboard and export your 46elks API keys to the environment using export PASSER_ELKS_KEY=<api username> and export PASSER_ELKS_SECRET=<api secret>
  4. Update the authorized_numbers array in server.py so that you can use your number
  5. Start Passer using python server.py
  6. Go to <url>/authorize to authorize your twitter account and then to <url>/authorize/<key> to finish the authorization
  7. Buy a 46elks virtual number and set it's SMS URL to <url>/incoming_sms

It is also made to be useful with Heroku :)

passer's People

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.