Loading database...
36 |├── screenshot.png ├── Dockerfile ├── .dockerignore ├── .gitignore ├── docker-compose.yml ├── index.html ├── .github └── workflows │ └── docker-publish.yml ├── server.py ├── README.md ├── styles.css ├── app.js └── LICENSE /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeJawn/karakeep-homedash/HEAD/screenshot.png -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM python:3.9-slim 2 | 3 | # Set working directory 4 | WORKDIR /app 5 | 6 | # Copy application files 7 | COPY index.html . 8 | COPY styles.css . 9 | COPY app.js . 10 | COPY server.py . 11 | 12 | # Create config directory 13 | RUN mkdir -p config 14 | 15 | # Expose port 16 | EXPOSE 8595 17 | 18 | # Run the server 19 | CMD ["python", "server.py"] -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | # Git 2 | .git 3 | .gitignore 4 | 5 | # Documentation 6 | README.md 7 | screenshot.png 8 | mockup.html 9 | 10 | # Database files (will be mounted) 11 | db.db 12 | *.db 13 | 14 | # Config directory (will be mounted) 15 | config/ 16 | 17 | # Python 18 | __pycache__/ 19 | *.py[cod] 20 | *$py.class 21 | *.so 22 | .Python 23 | 24 | # IDE 25 | .vscode/ 26 | .idea/ 27 | 28 | # OS 29 | .DS_Store 30 | Thumbs.db -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Database files 2 | db.db 3 | *.db 4 | *.sqlite 5 | *.sqlite3 6 | 7 | # Config directory (user-specific) 8 | config/ 9 | 10 | # Python 11 | __pycache__/ 12 | *.py[cod] 13 | *$py.class 14 | *.so 15 | .Python 16 | env/ 17 | venv/ 18 | .env 19 | .venv/ 20 | 21 | # IDE 22 | .vscode/ 23 | .idea/ 24 | *.swp 25 | *.swo 26 | 27 | # OS 28 | .DS_Store 29 | Thumbs.db 30 | desktop.ini 31 | 32 | # Logs 33 | *.log 34 | 35 | # Temporary files 36 | *.tmp 37 | *.temp 38 | screenshot.html 39 | TODO -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3.8' 2 | 3 | services: 4 | karakeep-homedash: 5 | image: ghcr.io/codejawn/karakeep-homedash:latest 6 | container_name: karakeep-homedash 7 | ports: 8 | - "8595:8595" 9 | volumes: 10 | # Mount the KaraKeep database (read-only) 11 | - /path/to/karakeep/db.db:/app/db.db:ro 12 | # Mount config directory for persistence 13 | - ./config:/app/config 14 | restart: unless-stopped 15 | 16 | # Example paths: 17 | # Linux: /home/user/.local/share/karakeep/db.db 18 | # macOS: /Users/user/Library/Application Support/karakeep/db.db 19 | # Docker: /var/lib/docker/volumes/karakeep_data/_data/db.db -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 |Loading database...
36 |${escapeHtml(message)}
Please ensure db.db is in the same directory as this HTML file.