tricticle / wallipy

discover wallpaper using reddit api

Home Page:https://wallipy-tricticle.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wallipy

Wallipy is a React application that fetches and displays images from various subreddits. Users can save and like images, search a custom subreddit, and manage their liked posts. Authenticated users can also toggle the display of NSFW content.

animeaienginewallpapercustom

Features

  • Fetches and displays images from different subreddits.
  • Supports different categories of subreddits, including anime, AI engines, and wallpapers.
  • Allows searching for a custom subreddit.
  • Displays images randomly and filters NSFW content based on user preferences.
  • Allows users to log in and log out using Auth0 authentication.
  • Allows authenticated users to save and like images.
  • Provides a Liked Posts section for authenticated users to manage their liked posts.
  • Downloads images upon user request.

Installation

  1. Clone the repository:
git clone https://github.com/tricticle/wallipy
  1. Navigate to the project directory:
cd wallipy
  1. Install the dependencies:
npm i
  1. create .env file and add your auth0 credentails
REACT_APP_AUTH0_DOMAIN=your_auth0_domain
REACT_APP_AUTH0_CLIENT_ID=your_auth0_client_id
MONGODB_URI_APP=your_mongodb_uri
REACT_APP_SERVER_URL=your_api(vercel-serverless)

Usage

  1. Start the development server:

The application will be available at http://localhost:3000.

  1. Log in to access the full functionality of the application.

  2. Choose a category or enter a custom subreddit to fetch and display images.

  3. Toggle the "Show NSFW" option to filter NSFW content.

  4. Save images by clicking the "Save" button.

  5. Like images by clicking the "Like" button. Liked images will be stored and can be managed in the Liked Posts section.

  6. Download images by clicking the "Save" button and selecting the download option.

  7. Log out to exit the application.

Dependencies

The application relies on the following dependencies:

  • React: A JavaScript library for building user interfaces.
  • react-hooks/exhaustive-deps: A React lint rule plugin to ensure exhaustive dependencies for useEffect hooks.
  • @auth0/auth0-react: An SDK for integrating Auth0 authentication into React applications.

Acknowledgments

All credits for the artwork go to the talented creators on Reddit.

About

discover wallpaper using reddit api

https://wallipy-tricticle.vercel.app


Languages

Language:JavaScript 66.2%Language:CSS 29.5%Language:HTML 4.3%