All Projects → Kandeel4411 → RedditWallpaperBot

Kandeel4411 / RedditWallpaperBot

Licence: MIT license
A Bot for Reddit that gets top Hot sorted picture from a given Subreddit and sets it as background.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to RedditWallpaperBot

reddit-image-fetcher
A JavaScript package for fetching reddit images, memes, wallpapers and more.
Stars: ✭ 40 (+166.67%)
Mutual labels:  reddit, wallpapers
KustomPyper
Get amazing wallpapers from reddit, unsplash, bing and wallhaven for your Desktop
Stars: ✭ 24 (+60%)
Mutual labels:  reddit, wallpapers
wallpapers
🖼️ Wallpapers to match your Catppuccin setups!
Stars: ✭ 176 (+1073.33%)
Mutual labels:  themes, wallpapers
PrawWallpaperDownloader
Download images from reddit
Stars: ✭ 18 (+20%)
Mutual labels:  reddit, wallpapers
hide-comments-everywhere
A browser extension for hiding major commenting systems like Disqus, Livefyre, Facebook plugin, WordPress, YouTube, etc.
Stars: ✭ 27 (+80%)
Mutual labels:  reddit
colorcli
Collection of harmonized, light command-line interface (CLI) color themes for tmux, cmus, newsboat, mcabber, Vim, Vifm, and Mutt.
Stars: ✭ 40 (+166.67%)
Mutual labels:  themes
Slide-iOS
A powerful new way to Reddit on iOS.
Stars: ✭ 461 (+2973.33%)
Mutual labels:  reddit
serializer
A linearizing social tech news reader
Stars: ✭ 89 (+493.33%)
Mutual labels:  reddit
entrepot
A list of free GitHub.com hosted WordPress plugins, themes & blocks
Stars: ✭ 29 (+93.33%)
Mutual labels:  themes
Xresources-themes
A big (huge) collection of rxvt / xterm terminal themes
Stars: ✭ 247 (+1546.67%)
Mutual labels:  themes
The-Wall
The Wall automatically changes desktop wallpaper based on the tags selected by the user
Stars: ✭ 48 (+220%)
Mutual labels:  wallpapers
doki-theme-web
Cute anime character themes for your Chrome, Edge, & Brave browser.
Stars: ✭ 97 (+546.67%)
Mutual labels:  themes
slate-cli
This repo has been deprecated. Please open any new issues or PRs in the Shopify/slate repo.
Stars: ✭ 19 (+26.67%)
Mutual labels:  themes
angular-material-dynamic-themes
Making able the app to switch between material themes at run-time
Stars: ✭ 24 (+60%)
Mutual labels:  themes
Accomplisher
Motivational app to accomplish daily goals.
Stars: ✭ 16 (+6.67%)
Mutual labels:  wallpapers
lovelace-light-soft-ui-theme
🎨 Home Assistant soft UI light theme, with help from @JuanMTech, @thomasloven, and @N-l1.
Stars: ✭ 59 (+293.33%)
Mutual labels:  themes
SciFi Conky HUD
SciFi theme for Conky
Stars: ✭ 33 (+120%)
Mutual labels:  themes
new-game-website
🚀 New Game! fan site made by the new game discord community
Stars: ✭ 29 (+93.33%)
Mutual labels:  reddit
ng-vcl
Angular VCL ‒ an Angular component library based on the VCL CSS eco system
Stars: ✭ 17 (+13.33%)
Mutual labels:  themes
DownloadRedditImages
Easily download all the images from any subreddit (also select sort_type if you want hot/top/new/controversial, and also sort_time day/week/month/year/all). Randomly select downloaded images and set as wallpaper, updating every 30 mins (or whenever you want duh)!
Stars: ✭ 66 (+340%)
Mutual labels:  reddit

🎇 RedditWallpaperBot 🔮

Generic badge GitHub license Maintenance made-with-python

A Bot for Reddit that gets top Hot sorted picture from a given Subreddit and sets it as background.

Supported OS & Environments

Windows, Mac and Linux(Ubuntu, Linux Mint)

Prerequisite

  • Must have python3.7+ installed.

Installation: 🔨

  • Download the repository by clicking the green "Clone or download" button on the top-right of the repository's main page, then click on "Download ZIP"

  • Extract folder to desired location

  • With the Reddit account that the bot will use go to Preferences -> Apps and create an app. Pick any name, choose script, and set the redirect url to http://localhost. Description and about url can be blank.

    Reddit App preferences

    • In etc/config.ini add your client id and client secret from the app you just created. Client id is the id underneath the name of the app. Client secret is labeled.
    • Choose one of the following methods:
      • Installing in closed environment (Recommended):
        • Install pipenv through pip.
          pip install pipenv

        • Open the extracted folder in terminal and run pipenv install.
          cd RedditWallpaperBot-master && pipenv install

      • Installing globally:
        • Open the extracted folder in terminal and run:
          pip install -r requirements.txt

Usage: 🤖

Usage Demo

  • if you installed in closed environment

    • Open extracted folder and run main.py script directly by double clicking.
      Or
    • Open extracted folder in terminal and run:
      pipenv run python main.py
  • if you installed globally

    • Open extracted folder in terminal and run:
      python main.py

Task scheduling:

You can follow this guide to schedule the bot to run daily!

If you want to use the script directly, you can mention the subreddit name and prompt("-y" or otherwise) as such for automated downloading and setting:

python main.py <subreddit_name> <prompt>

i.e: python main.py wallpapers -y
If you installed in a closed environment, you may need to append pipenv run at the start of the command.

Running the tests: 🔧

Tests are written using the pytest framework. Open terminal and navigate to the project directory

  • If you installed globally run:
    pytest

  • If you installed using the pipenv method:

    • Run the following command to install pytest:
      pipenv install --dev
    • Close and re-open the terminal to the project directory and run:
      pytest

Importing: 📦

  • Notes: If you want to import the bot functions, it by default uses sys.exit() to exit program once an error has been caught. You may want to use bot.raise_bot_exception(option=True) to raise BotExceptions instead that you can catch.

License:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].