https://github.com/cryptohazard/mecene
mecene bot to support communities on the steem blockchain
https://github.com/cryptohazard/mecene
Last synced: 10 months ago
JSON representation
mecene bot to support communities on the steem blockchain
- Host: GitHub
- URL: https://github.com/cryptohazard/mecene
- Owner: cryptohazard
- License: mit
- Created: 2018-03-30T08:15:38.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-02T19:23:10.000Z (over 7 years ago)
- Last Synced: 2025-01-18T11:44:01.729Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# mecene
*mécène: French for sponsor, donator, patron. [wiktionary](https://en.wiktionary.org/wiki/m%C3%A9c%C3%A8ne)*
This is a bot to support communities on the steem blockchain. It automatically *upvote* the chosen communities tags.
You can find a similar service here: [tagbot](https://github.com/emre/tagbot).
## Install nodejs & npm
You can skip this part if you have already installed nodejs/nmp.
```
$ sudo apt-get update
$ curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
$ sudo apt-get install -y nodejs
$ sudo apt-get install npm
$ sudo apt-get install nodejs-legacy
```
## Setup & Installation
Clone the project repository and install using NPM:
```
$ git clone https://github.com/cryptohazard/mecene.git
$ cd mecene
$ npm install
```
Update the configuration file ```config.json``` with your account and the posting private key (See description).
### Run in Docker
If you are using Docker, you can use the following commands:
```
docker build -t mecene .
docker run -itd --rm --name mecene mecene
Check the status with docker logs
docker logs mecene
```
### Run in background with PM2
You can use the PM2 software to manage and run your nodejs programs in background:
```
$ npm install pm2 -g
$ pm2 start app.js --name mecene
$ pm2 logs mecene
```
## Bot Configuration
Configuration is stored in the JSON ```config.json```.
| Option | Definition | Default Values |
|:-------------------:|------------------------------------------------------|-----------------|
| rpc_node | a steem node to connect |steemit API node |
| account | bot account | |
| posting_key | the private posting key of the bot account | |
| minimum_power | the minimum voting power at which the bot operates | 10 % |
| minimum_reputation | the minimum reputation of authors | 25 |
| maximum_reputation | the maximum reputation of authors | 70 |
| voting_weight | vote weight (in percent) to apply on every vote | 70 % |
| voting_delay | waiting time in minutes before the actual vote | 30 minutes |
| tags | communities tags to upvote posts like #fr, #art,... | |
| whitelist | list of authors to automatically sponsor | |
| whitelist_power | voting weigth for whitelisted authors | 70 % |
| blacklist | A list of authors to ignore | |
| blacklist_tags | A list of authors to ignore | |
## TODO
* vote weight per sponsored tags/authors
* additional criteria per tag:
* reputation
* author name
* additional tags required
* voting power recovery:
* vote at X% power
* until power at Y%
* then recover until Z% power
* blacklist downvote (I am not keen on that one)
## Logo
*Thanks @radudangratian for the cool logo!*