Skip to main content

Nyancoin tip bot for Reddit.

Project description

# It’s nyantip!

## Getting started

### Install

`sh pip install nyancoin `

If you would like to make encrypted backups, then install via:

`sh pip install nyancoin[gpg] `

### Database

Create a new MySQL database instance and run included SQL file database.sql to create necessary tables. Create a MySQL user and grant it all privileges on the database.

`sh echo "create database nyantip" | mysql && mysql nyantip < database.sql `

### NyanCoin Daemons

Download nyancoin. Create a configuration file for it in ~/.nyancoin/nyancoin.conf specifying rpcuser, rpcpassword, rpcport, and server=1, then start the daemon. It will take some time for the daemon to download the blockchain, after which you should verify that it’s accepting commands, e.g., nyancoin getinfo and nyancoin listaccounts.

### Reddit Account

Create a dedicated Reddit account for your bot, and prepare an OAuth script-type application as described here: <https://github.com/reddit-archive/reddit/wiki/OAuth2-Quick-Start-Example#first-steps>

### Configuration Files

Copy the sample configuration file nyantip-sample.yml to ~/.config/nyantip.conf. Make any necessary edits.

### Run

`sh nyantip `

### Create Backup

`sh nyantip backup `

The backup will be saved in your current directory as backup_nyantip_YYYYmmDDHHMM.zip, or with the added .gpg suffix if a value for backup_passphrase was set in your config file.

## History

nyantip was originally a fork of mohland’s [dogetipbot](https://github.com/mohland/dogetipbot), which in turn is a fork of vindimy’s [ALTcointip](https://github.com/vindimy/altcointip).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nyantip-0.1.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

nyantip-0.1-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file nyantip-0.1.tar.gz.

File metadata

  • Download URL: nyantip-0.1.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.1

File hashes

Hashes for nyantip-0.1.tar.gz
Algorithm Hash digest
SHA256 24bb6c045bef1cc222f33e0da6c5af7782d0bb60700ae6dd334fc8cb738268f3
MD5 886b318df89fdf6a1013be8d3b9e25e4
BLAKE2b-256 1c8259d4a46c7f677b26f5e320038db414aafb290735a834413035957b31fb82

See more details on using hashes here.

Provenance

File details

Details for the file nyantip-0.1-py3-none-any.whl.

File metadata

  • Download URL: nyantip-0.1-py3-none-any.whl
  • Upload date:
  • Size: 22.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.1

File hashes

Hashes for nyantip-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 258acdad2c30b10762a5d8553b0bedf3da00a366330f53cc4a58495a44ede63c
MD5 05e4f1f2ad5743f1920999b2f419a6e3
BLAKE2b-256 4f2edc844162778fe0fc82febb6e63c6f620f207ee486942c0ea25f201875e70

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page