# rplacebot

> An automation script for r/place

Latest version **1.2.0** (published 2022-04-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install rplacebot
pnpm add rplacebot
yarn add rplacebot
bun add rplacebot
```

Provides the command `rplace`.

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2022-04-04 |
| First published | 2022-04-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 7 |
| Unpacked size | 21.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | chirag-droid |
| Maintainers | chirag-droid |

## Links

- npm: https://www.npmjs.com/package/rplacebot
- Repository: https://github.com/chirag-droid/rplace
- npm.io page: https://npm.io/package/rplacebot

## Dependencies (7)

- [jimp](https://npm.io/package/jimp.md) ^0.16.1
- [clear](https://npm.io/package/clear.md) ^0.1.0
- [figlet](https://npm.io/package/figlet.md) ^1.5.2
- [inquirer](https://npm.io/package/inquirer.md) ^8.2.2
- [superagent](https://npm.io/package/superagent.md) ^7.1.2
- [configstore](https://npm.io/package/configstore.md) ^6.0.0
- [gradient-string](https://npm.io/package/gradient-string.md) ^2.0.0

## Recent versions

- 1.2.0 (latest) — 2022-04-04
- 1.1.0 — 2022-04-04
- 1.0.0 — 2022-04-04
- 0.1.0 — 2022-04-03
- 0.0.2 — 2022-04-03
- 0.0.1 — 2022-04-03

## README

![https://i.imgur.com/rmWnNBG.png](https://i.imgur.com/rmWnNBG.png)

# r/place bot

A bot for the 2022 reddit place. Multiple users support.

## Requirements

- NodeJs latest version installed.

If you want to help develop this bot you need to have yarn installed.

## Installation

```bash
npm install -g rplacebot
```

and run using `rplace`

## How to get Client ID and Secret

- Go to https://reddit.com/prefs/apps
- Create a new app and give it the type Script
- Put http://localhost:3000/ in redirect_url

After getting client id and secret you can either make two environment variable `CLIENT_ID` and `CLIENT_SECRET`. Even if you don't you will be prompted to do so. don't worry about filling it again and again, the config is persisted.

![Image showing how the app prompts for client id and secret](https://i.imgur.com/ONIMrNJ.png)

## Setting up users

Make sure every username, and password you use to login must be added to the developers list of the app, otherwise you will get an error.

![The user prompt](https://i.imgur.com/oY1yhZq.png)

## Setting Up Image

> TODO

## Running (developer)

Clone the repo.

Clone the project

```bash
  git clone https://github.com/chirag-droid/rplace
```

Go to the project directory

```bash
  cd rplace
```

Install dependencies

```bash
  yarn install
```

Start the script in dev mode

```bash
  yarn dev
```

---
_Source: https://npm.io/package/rplacebot · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
