All Projects → Half-Shot → Matrix Appservice Twitter

Half-Shot / Matrix Appservice Twitter

Licence: apache-2.0
Twitter AS bridge for Matrix

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Matrix Appservice Twitter

Swig
Take a swig of the best template engine for JavaScript.
Stars: ✭ 3,129 (+11488.89%)
Mutual labels:  unmaintained
Node Jscs
⤴️ JavaScript Code Style checker (unmaintained)
Stars: ✭ 5,026 (+18514.81%)
Mutual labels:  unmaintained
Divergence Meter
Divergence Meter is an application based on Steins;Gate. Unmaintained, feel free to contribute
Stars: ✭ 18 (-33.33%)
Mutual labels:  unmaintained
Scaleapp
scaleApp is a JavaScript framework for scalable and maintainable One-Page-Applications
Stars: ✭ 353 (+1207.41%)
Mutual labels:  unmaintained
Complexity Report
[UNMAINTAINED] Software complexity analysis for JavaScript projects
Stars: ✭ 465 (+1622.22%)
Mutual labels:  unmaintained
Timegrid
Free, open-source, online appointments platform based on Laravel PHP Framework.
Stars: ✭ 793 (+2837.04%)
Mutual labels:  unmaintained
Rust Os Comparison
A comparison of operating systems written in Rust
Stars: ✭ 292 (+981.48%)
Mutual labels:  unmaintained
Notifo Imap Listener
ARCHIVED - Listens for incoming mail and forwards it to notifo
Stars: ✭ 10 (-62.96%)
Mutual labels:  unmaintained
Bootstrap Tags
Bootstrap-themed jquery tag interface
Stars: ✭ 562 (+1981.48%)
Mutual labels:  unmaintained
Tools
various simple tools, not worth a project on their own
Stars: ✭ 17 (-37.04%)
Mutual labels:  unmaintained
React Heatpack
A 'heatpack' command for quick React development with webpack hot reloading
Stars: ✭ 354 (+1211.11%)
Mutual labels:  unmaintained
Axe Cli
[Deprecated] A command-line interface for the aXe accessibility testing engine
Stars: ✭ 419 (+1451.85%)
Mutual labels:  unmaintained
Miniproxy
🚨⚠️ UNMAINTAINED! ⚠️🚨 A simple PHP web proxy.
Stars: ✭ 810 (+2900%)
Mutual labels:  unmaintained
Deprecated Mapbox Ios Sdk
REPLACED – use https://www.mapbox.com/ios-sdk instead
Stars: ✭ 325 (+1103.7%)
Mutual labels:  unmaintained
Itunescontrol
[Unmaintained] Global Hotkeys for iTunes
Stars: ✭ 23 (-14.81%)
Mutual labels:  unmaintained
Redditkit
An Objective-C wrapper for the reddit API
Stars: ✭ 299 (+1007.41%)
Mutual labels:  unmaintained
Newforms
Isomorphic form-handling for React
Stars: ✭ 649 (+2303.7%)
Mutual labels:  unmaintained
Djangoffice
Project management/CRM for small offices - Clients, Jobs, Tasks, Rates, Activities, Timesheets, Contacts, Invoices etc. etc.
Stars: ✭ 13 (-51.85%)
Mutual labels:  unmaintained
Sloc
simple tool to count SLOC (source lines of code)
Stars: ✭ 841 (+3014.81%)
Mutual labels:  unmaintained
Rdfgrid
[Unmaintained] RDFgrid is a framework for batch-processing RDF data with Hadoop and Amazon Elastic MapReduce.
Stars: ✭ 16 (-40.74%)
Mutual labels:  unmaintained

matrix-appservice-twitter

Twitter bridge for Matrix.

Using master is discouraged right now. Please use the develop branch until a release is made.

Please visit this page for a prettier introduction.

See #twitter:half-shot.uk for dev discussion and help.

Requirements

  • NodeJS
  • A twitter account
    • A phone number (Twitter requires this to generate application tokens)

Features

  • Current (alpha-like quality)
    • Read and follow a users timeline
    • Send tweets to yourself and other users
    • Follow hashtags
    • Direct Messaging
    • Read your own timeline
  • To be completed
    • Reply to specific tweets

Installation

(We expect you to be running a standard synapse setup for these instructions)

Clone this repo and install the npm dependencies as usual

git clone https://github.com/Half-Shot/matrix-appservice-twitter
npm install

You will need a twitter application authentication token and secret to continue.

Go to https://apps.twitter.com/ and create a new app. If you follow the tedious setup all the way through you should be given all you need to fill in a config.yaml file. Copy config.sample.yaml and fill in the blanks before saving as config.yaml.

Next, we need to generate the appropriate registration config so that synapse can interface with the bridge.

node twitter-as.js -r -u "URL"

The URL should be replaced by the domain/ip and port of the bridge. In this case you can usually leave it as http://localhost:9000 if you plan to run it on the same server as synapse and will be keeping the default port.

Copy/symlink the generated registration file to your synapse directory and finally edit your homeserver.yaml file for synapse so that the bridge is registered. This means changing app_service_config_files and inserting the name of your config file into the list. It should look similar to this:

app_service_config_files: ["twitter-registration.yaml"]

You can restart synapse after this.

Running

Simply run node twitter-as.js -p 9000 -c config.yaml from the repo directory.

The bridge should authenticate and be ready for use.

Usage

Linking your Twitter account to your Matrix user.

Linking is not required for reading timelines/hashtags, but interactions must be completed under your own account.

  • Create a room and invite @twitbot:yourdomain.
  • Send the message link account
  • Follow the URL and instructions. Copy the PIN code
  • Enter the pin code directly into the room and your account should be linked up.

User Timelines

Simply join @[email protected]:yourdomain to read a users timeline. Protected timelines are currently not available.

Accounts which are bridged (Twitter<->Matrix) will be able to send tweets to these timelines (you do not need to put the @screen_name, it is done automatically)

Hashtags

Join @twitter_#hashtaggoeshere to follow a particular hashtag.

Accounts which are bridged (Twitter<->Matrix) will be able to send tweets which will automatically apply this tag.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].