A small CLI to purge your Reddit history.
Project description
Wipeit!
A small CLI to purge your Reddit history.
Table of Contents
👶 Dependencies
🛠️ Installation
Install from PyPI using pip
, you may need to use pip3
depending on your installation:
pip install wipeit
🚀 Usage
wipeit is a command-line program to purge your Reddit history. It requires a Python interpreter version 3.7+.
To authenticate without wiping history you can use the login
command, a browser window will open prompting you to login to Reddit:
wipeit login
To wipe your Reddit history you can use the wipe
command. The following command will clear the last 30 days of comment and submission history, and will overwrite them with random text before deletion:
wipeit wipe -d 30 -sco
Note: A browser window will open to request access to your account if you have not previously authenticated.
To remove Reddit credentials from your computer you can use the logout
command:
wipeit logout
⚙️ Options
wipeit
Usage: wipeit [OPTIONS] COMMAND [ARGS]...
Options:
--version Show the version and exit.
--help Show help message and exit.
Commands:
login Authorize wipeit with a Reddit account, will open a browser
window...
logout Remove Reddit credentials from wipeit, you will be prompted to...
wipe Wipe your Reddit history.
wipeit wipe
Usage: wipeit wipe [OPTIONS]
Wipe your Reddit history.
Options:
-d, --days INTEGER RANGE Number of days worth of content to delete.
Defaults to 365.
-f, --from-date TEXT Date relative to --days, in ISO format (YYYY-MM-
DD). Defaults to today.
-c, --comments Delete comments.
-s, --submissions Delete submissions.
-o, --overwrite Overwrite content with random text before
deletion.
--help Show help message and exit.
wipeit login
Usage: wipeit login [OPTIONS]
Authorize wipeit with a Reddit account, will open a browser window to
authenticate.
Options:
--help Show help message and exit.
wipeit logout
Usage: wipeit logout [OPTIONS]
Remove Reddit credentials from wipeit, you will be prompted to login the
next time the program is run.
Options:
--help Show help message and exit.
🪄 Autocompletion
To enable tab completion you will need to configure your preferred shell to use it. Currently bash
and zsh
are supported.
This configuration is totally optional, but may be useful if you use wipeit
often.
bash
Add the following to ~/.bashrc
:
eval "$(_WIPEIT_COMPLETE=bash_source wipeit)"
zsh
Add the following to ~/.zshrc
:
eval "$(_WIPEIT_COMPLETE=zsh_source wipeit)"
⚖️ License
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
Built Distribution
File details
Details for the file wipeit-0.1.7.tar.gz
.
File metadata
- Download URL: wipeit-0.1.7.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4265adb73f96fd060f2fda8e0e9928e76290da439d1987dee7fce9496e066262 |
|
MD5 | 2ab5ce4407f4e16fbaba522ad0bdcca6 |
|
BLAKE2b-256 | d85c373b91b3eed2013bcbe7965d44c20386fc7aa56c0cf99eda50cfdfe1e819 |
File details
Details for the file wipeit-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: wipeit-0.1.7-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83b3ef9dc01230327fc12e86f551acfabc209cd6eede06803975a9994b633be5 |
|
MD5 | f1335726a7d87a74b63c0746a3098a8a |
|
BLAKE2b-256 | d62bcc6bb550c9552d35d17965543825711a9fdef5d037a0266160ffd53e4379 |