Skip to content

An app for easy control over whisker's litter robot 4 using Python, Sveltekit, WebSockets, FastAPI, and Ubuntu.

Notifications You must be signed in to change notification settings

engageintellect/litterbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

litterbot

Description

An app to interact with the "Litter Robot", by Whisker.

Kitty Crapper

This app uses Python and FastAPI (with Web Sockets) as a backend wrapper around @natekspencer's pylitterbot library. The frontend is built using SvelteKit, TailwindCSS, and DaisyUI.

Inspired by @natekspencer's pylitterbot.

Getting Started

Clone and navigate to the the repository.

git clone https://engageintellect/litterbot
cd litterbot

Configure environment variables.

cp /server/.env.example /server/.env

Note: You will need to get your Litter Robot's username and password credentials from the Whisker app.

cp /client/.env.example /client/.env

Note: Be sure to update the example values with your own.

Server

Configure and run backend.

cd server
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python main.py

Client

Configure and run client.

cd client
pnpm i
pnpm run dev --host