All Projects → Tketa → pocket-bot

Tketa / pocket-bot

Licence: MIT license
Save articles from Facebook Messenger to Pocket through a chatbot

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to pocket-bot

pocket-js
The Official Javascript Client of the Pocket Network
Stars: ✭ 26 (+44.44%)
Mutual labels:  pocket
pocket-cli
Interactive terminal app for Pocket - read it later / bookmark application by @mozilla - https://getpocket.com/
Stars: ✭ 30 (+66.67%)
Mutual labels:  pocket
Archivebox
🗃 Open source self-hosted web archiving. Takes URLs/browser history/bookmarks/Pocket/Pinboard/etc., saves HTML, JS, PDFs, media, and more...
Stars: ✭ 12,383 (+68694.44%)
Mutual labels:  pocket
feeds-to-pocket
Sends entries from RSS and Atom feeds to Pocket (https://getpocket.com)
Stars: ✭ 24 (+33.33%)
Mutual labels:  pocket
pocket-to-sqlite
Create a SQLite database containing data from your Pocket account
Stars: ✭ 56 (+211.11%)
Mutual labels:  pocket
computeiro
Computer science courses, books and exams in your pocket. Built with Flutter and Free! ❤️
Stars: ✭ 27 (+50%)
Mutual labels:  pocket
gocket
💼 CLI / TUI for Pocket
Stars: ✭ 39 (+116.67%)
Mutual labels:  pocket
reddit-pocket-sync
No description or website provided.
Stars: ✭ 37 (+105.56%)
Mutual labels:  pocket
Llitgi
A simple & lightweight Pocket client for iOS.
Stars: ✭ 25 (+38.89%)
Mutual labels:  pocket
UserScripts
Collection of all my UserScripts
Stars: ✭ 19 (+5.56%)
Mutual labels:  pocket
node-bookmarks-parser
Parses Firefox/Chrome HTML bookmarks files
Stars: ✭ 44 (+144.44%)
Mutual labels:  pocket
pockexport
Export/access your Pocket data, including highlights!
Stars: ✭ 124 (+588.89%)
Mutual labels:  pocket
pocketizer
Unofficial Pocket new tab extension for Chrome, Firefox, and Edge
Stars: ✭ 43 (+138.89%)
Mutual labels:  pocket
poku
Sync pocket bookmarks to buku
Stars: ✭ 45 (+150%)
Mutual labels:  pocket

Pocket-Bot

Save articles on Facebook to Pocket by sending them to a Messenger Chatbot.

Motivation

Read this article


To deploy your own bot, follow thoses steps:

Heroku

Get an account on Heroku, and create a NodeJS application. Download the Heroku CLI as well.

Also add the "mLab MongoDB" plugin to have a free Mongo database that we will use to store the users.

Fork this repository and link it to your Heroku app. From the command line type:

heroku git:remote -a my-app

Pocket API Key

Go to http://getpocket.com/developers, and request an API key (you only need WRITE access currently but can request READ access to provide further functionalities through the bot in the future)

Facebook Token for the Bot

Follow the procedure here to create a Facebook page and associate a bot to it. Then get the token, the secret, and come up with a verify phrase.

Heroku Environment Variables

Go to your Heroku Dashboard and go to your apps Settings to set the environment variables:

POCKET_BOT_FACEBOOK_TOKEN='XX'
POCKET_BOT_FACEBOOK_SECRET='XX'
POCKET_BOT_FACEBOOK_VERIFY='XX'
POCKET_CONSUMER_KEY='XX'
HOSTNAME='XX'

Deploy

git push heroku master

Development

Copy the environment variable file

cp .env.dist .env

Update in your .env the variables that you got from Pocket, Facebook, MongoLabs and Heroku.

npm install
node index.js
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].