Skip to main content

# It’s nyantip!

## Getting started

### Install

__Note__: If the following doesn’t work, ensure you have pip installed: <https://packaging.python.org/guides/installing-using-linux-tools/>

`sh pip install nyantip `

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

`sh pip install nyantip[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>

The bot should be granted “Manage Users” and “Manage Wiki Pages” moderator permissions on the target subreddit.

### Configuration Files

Copy the sample configuration file nyantip-sample.yml to ~/.config/nyantip.yml. 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).

Release files for nyantip 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nyantip 0.8.0
File Size Uploaded
nyantip-0.8.tar.gz 25.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nyantip 0.8.0
File Interpreter ABI Platform
nyantip-0.8.0-py3-none-any.whl Python 3 none any Details

Total release size: 57.7 kB

Release files / nyantip-0.8.tar.gz

Download URL nyantip-0.8.tar.gz
Size 25.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0ec2b356ec3ac54d0f5feb25e6c62a9c8c420592a1d02a5a528dd921435e2a3c
BLAKE2b-256 checksum
How to use checksums
da507b6c679ed892312b1f00136416907f7b19870c45c785189506d0e66b3083
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / nyantip-0.8.0-py3-none-any.whl

Download URL nyantip-0.8.0-py3-none-any.whl
Size 31.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a8ab8f774661743da7494131937075c5261b1195a40c97f44703f2b45a28c654
BLAKE2b-256 checksum
How to use checksums
5c6eaa345825c96e52548fdf862432e68262680944e285fa7077fbf96899b8cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.8.0 This release

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page