All Projects → viperadnan-git → wallpaper-api

viperadnan-git / wallpaper-api

Licence: GPL-3.0 License
An api which can use different sites to scrape images and serve them through API

Programming Languages

HTML
75241 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to wallpaper-api

Lively
Stars: ✭ 5,721 (+31683.33%)
Mutual labels:  wallpaper, wallpaper-changer
iris
An easy-to-use, customizable, cross-platform, and open-source wallpaper manager.
Stars: ✭ 13 (-27.78%)
Mutual labels:  wallpaper, wallpaper-changer
Bank-Note-Authentication
💸 Authenticate Bank Notes on the basis of Genuity and Forged using Sklearn and deployed on Heroku and FastAPI Server 💳 💲
Stars: ✭ 17 (-5.56%)
Mutual labels:  heroku, fastapi
Coronavirus Tracker Api
🦠 A simple and fast (< 200ms) API for tracking the global coronavirus (COVID-19, SARS-CoV-2) outbreak. It's written in python using the 🔥 FastAPI framework. Supports multiple sources!
Stars: ✭ 1,577 (+8661.11%)
Mutual labels:  heroku, fastapi
Minimalistic-Wallpaper-Collection
Minimalistic, flat art, and colorful, digital nature wallpapers and an API for randomly selecting them
Stars: ✭ 65 (+261.11%)
Mutual labels:  wallpaper, wallpaper-changer
LiveWallpaper
A tiny win10 (dynamic) wallpaper changer | 巨应壁纸 | 动态壁纸 | Free wallpaper engine
Stars: ✭ 396 (+2100%)
Mutual labels:  wallpaper, wallpaper-changer
daily-wallpaper
Change wallpaper automatically with the Photo of The Day of your loved source
Stars: ✭ 70 (+288.89%)
Mutual labels:  wallpaper, wallpaper-changer
yarc
No description or website provided.
Stars: ✭ 109 (+505.56%)
Mutual labels:  fastapi, deta
wallpaper-learn
Learn languages, facts, schoolwork, and more from your wallpaper by setting a cycling background with computer-generated images.
Stars: ✭ 22 (+22.22%)
Mutual labels:  wallpaper, wallpaper-changer
jimbru
A lightweight analytics server with FastAPI and deta.sh Base as DB. A glorified hit-counter of sorts 😁
Stars: ✭ 43 (+138.89%)
Mutual labels:  fastapi, deta
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 (+266.67%)
Mutual labels:  wallpaper, wallpaper-changer
lswc
Change your wallpaper on Gnome, Mint or Mate.. lets say gnome2 or gnome3
Stars: ✭ 19 (+5.56%)
Mutual labels:  wallpaper, wallpaper-changer
set-top-reddit-wallpaper
PowerShell script to set the wallpaper as the top post of the day/week/month from /r/wallpapers and /r/wallpaper or any other subreddits.
Stars: ✭ 17 (-5.56%)
Mutual labels:  wallpaper, wallpaper-changer
freshpaper
This utility automatically sets the wallpaper of the day from various sources as your Desktop wallpaper.
Stars: ✭ 35 (+94.44%)
Mutual labels:  wallpaper, wallpaper-changer
heroku-buildpack-activestorage-preview
Official Heroku Rails 5.2 Active Storage Previews Buildpack
Stars: ✭ 21 (+16.67%)
Mutual labels:  heroku
serverless-mangum-examples
Example ASGI applications and Serverless Framework configurations using Mangum
Stars: ✭ 26 (+44.44%)
Mutual labels:  fastapi
cookiecutter-django-herokuapp
A cookiecutter template for creating Django 1.7+ / Python 3 projects quickly, thought optimized for Heroku in the meantime.
Stars: ✭ 20 (+11.11%)
Mutual labels:  heroku
OpenCV-REST-API
Learn to create a REST API microservice for extracting faces from images using OpenCV, OpenCV-python, Flask, Docker, and Heroku
Stars: ✭ 71 (+294.44%)
Mutual labels:  heroku
fastapi-mail
Fastapi mail system sending mails(individual, bulk) attachments(individual, bulk)
Stars: ✭ 321 (+1683.33%)
Mutual labels:  fastapi
MLOps
MLOps template with examples for Data pipelines, ML workflow management, API development and Monitoring.
Stars: ✭ 28 (+55.56%)
Mutual labels:  fastapi

Wallpapers API

An api which can use different sites to scrape images and serve them through API

This API can be used for setting daily wallpapers on a mobile device by combining it with an app such as IFTTT

Installation

This is an ASGI server built using FastAPI. Here are some PaaS which is supported and you can deploy directly by clicking on the link below.

Deploy to Heroku Deploy

Or you can install it on your private server, the steps are given below.

Installing Prerequisite

This project is written on python. Hence, install python-3.8.6 or later, see runtime.txt for exact version.

On Ubuntu-18.04 or later

apt-get install -y python3 python3-pip

Installing Python Packages

Install the required packages using pip

pip install -r requirements.txt

Configuration

Wallpaper website

By default, it's scrapes wallpapers from https://wallpapercave.com. You can configure your desired wallpapers site's url and scraping regex in config.json

Collections

This app uses collections name from collections.txt to fetch wallpapers from website and this list can be updated (as new collections arriving daily) by running the collection scraper. It have two modes, add collection from search or automaticaly fetch all collections.

Note: Random wallpaper feature didn't work if collections file is empty so we added some nice collections already. You can remove file and add your own desired collections

python3 scrape_collections.py

This will fetch and update the collection file automatically.

Start Server

Start the ASGI server using uvicorn

uvicorn main:app

If using a VPS then set the host and port accordingly

uvicorn main:app --host 0.0.0.0 --port 80

Procfile already exists if you want to deploy it on railway or heroku etc.

Copyright & License

Copyright (©) 2022 by Adnan Ahmad. Licensed under the terms of the GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007

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].