https://github.com/fabsrc/nopebot
:thumbsdown: Nope!
https://github.com/fabsrc/nopebot
Last synced: 3 months ago
JSON representation
:thumbsdown: Nope!
- Host: GitHub
- URL: https://github.com/fabsrc/nopebot
- Owner: fabsrc
- Created: 2016-11-09T21:03:39.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-01T07:40:37.000Z (about 8 years ago)
- Last Synced: 2025-02-20T14:11:17.506Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nopebot
[](https://travis-ci.org/fabsrc/nopebot)
[](https://david-dm.org/fabsrc/nopebot)
[](https://david-dm.org/fabsrc/nopebot?type=dev)
[](http://standardjs.com/)> Nope.
*A Twitter Bot.*
## Requirements
Nopebot requires a distinct Twitter [account](https://twitter.com/signup) in order to send *nopes* to Tweets.
## Install
```bash
$ npm install
```## Start
```bash
$ npm start
```Nopebot requires `CONSUMER_KEY`, `CONSUMER_SECRET`, `ACCESS_TOKEN` and `ACCESS_TOKEN_SECRET` environment variables for Twitter. They can be specified in a `.env` file.
## Usage
Currently only *Twitter* is supported.
### REST
To "nopify" a tweet, the `id` of the tweet is necessary. A `POST` request can be send to the following URL:
```
http://localhost:3000/twitter/:id
```### Twitter Direct Message
Another way to "nopify" a tweet is to send the `id` or the URL of the tweet via Twitter DM to the account of Nopebot.
## Test
```bash
$ npm test
```## Develop
```bash
$ npm run dev
```## License
Licensed under the [MIT License](http://opensource.org/licenses/mit-license.php).