debanjum / ai-wallpaper

Get fresh, personal AI painted wallpapers on your phone or computer. Paints by using your current city, weather and even your recent experiences. Powered by Khoj AI
GNU General Public License v3.0
17 stars 0 forks source link
ai ai-image-generation ai-wallpaper dalle-3 dynamic-wallpaper generative-ai khoj live-wallpaper paint timed-wallpaper wallpaper-app wallpaper-changer wallpaper-manager

✨ AI Wallpaper

Get fresh, personal AI painted wallpapers daily

πŸ’Ž Features

βœ… Prequisites

⚑️ Quickstart

pip install ai-wallpaper && KHOJ_API_KEY=<YOU_KHOJ_API_KEY> aiwall

🎁 Showcase

Day Night

https://github.com/debanjum/ai-wallpaper/assets/6413477/823c1624-6452-472e-8786-4cb79bcfa029

πŸͺ’ Customize

Minimal

   KHOJ_API_KEY=<YOUR_KHOJ_API_KEY> aiwall

Uze Custom Prompt

   KHOJ_API_KEY=<YOUR_KHOJ_API_KEY> aiwall "Generate a wallpaper based on the latest news here"

Use Custom Wallpaper Path

   KHOJ_API_KEY=<YOUR_KHOJ_API_KEY> WALLPAPER_PATH="~/Pictures/wallpaper.png" aiwall

Use Self-Hosted Khoj

   KHOJ_HOST="http://localhost:42100" aiwall

πŸš€ Upgrade

Automatically get a fresh and personal wallpaper painted for you every day and night

Weave experiences from your notes into the Wallpapers

The AI wallpaper script can automatically incorporate any recent experiences from your notes into it's paintings. To use this you will need to sync your notes with Khoj.

πŸ–₯️ Develop

  1. Download and Install

    # Clone the repository
    git clone https://github.com/debajum/ai-wallpaper
    
    # Install dependencies
    cd ai-wallpaper && pip install .
  2. Edit application

  3. Run any of the following commands to paint using your updated application

    # Minimal
    KHOJ_API_KEY=<YOUR_KHOJ_API_KEY> python src/aiwall/paper.py
    
    # With Custom Prompt
    KHOJ_API_KEY=<YOUR_KHOJ_API_KEY> python src/aiwall/paper.py "Generate a wallpaper based on the latest news here"
    
    # With Custom Wallpaper File Path
    KHOJ_API_KEY=<YOUR_KHOJ_API_KEY> WALLPAPER_PATH="~/Pictures/wallpaper.png" python src/aiwall/paper.py
    
    # With Self-hosted Khoj
    KHOJ_HOST="http://localhost:42100" python src/aiwall/paper.py

πŸ”– LICENSE

This program is free software; it is distributed under the GNU General Public License v3.

GPLv3 Β© debanjum