Skip to content

Instantly share code, notes, and snippets.

View Xitee1's full-sized avatar

Xitee Xitee1

  • Baden-Württemberg, Germany
  • 22:09 (UTC +02:00)
View GitHub Profile
@Xitee1
Xitee1 / README.md
Last active August 27, 2026 12:27
claude2openwebui-converter

Script to convert a claude data export (conversations.json) to a OpenWebUI compatible format.

Usage:

  1. Request a Claude data export
  2. Wait for the mail with the download and download and extract everything
  3. Run claude2openwebui.py. You should use --split 100 to split the output into multiple files because in my case it was too large and caused OpenWebUI to crash
  4. Optional: Go to claude.ai and paste the project export script
  5. Create a OpenWebUI API Key (currently it's off by default, go to admin settings and turn it on)
  6. Make sure all chats from claude2openwebui.py are imported
  7. Run the owui_project_folders.py script to create the project folders and map the chats to it
@Xitee1
Xitee1 / README.md
Last active April 24, 2026 11:35
Log to owntracks from Hom Assistant location entities

Use home assistant device_tracker entities with coordinates to log to OwnTracks

@Xitee1
Xitee1 / README.md
Last active August 25, 2026 02:43
Claude.ai Wide Mode

Claude.ai Wide Mode

A minimal, configurable Stylus UserStyle that widens the chat area on claude.ai. No ads, no branding, no bloat.

Install

  1. Install the Stylus browser extension (Firefox / Chromium).
  2. Open the raw URL of claude-wide.user.css in your browser — Stylus will prompt to install.
  3. Reload claude.ai. Tweak the options via the Stylus popup.
@Xitee1
Xitee1 / light-status-controller.yaml
Last active April 3, 2026 18:14
Home Assistant - Light Status Controller
blueprint:
name: "LED Priority Controller"
description: >
Controls a light based on up to 10 priority slots, each linked to a
trigger entity and a custom action.
**How it works:**
- Each slot has a priority (Slot 1 = highest, Slot 10 = lowest).
@Xitee1
Xitee1 / home-assistant-shower-controller.yaml
Last active April 2, 2026 23:25
Home Assistant - Shower Controller
blueprint:
name: ShowerController
description: >
A state-machine controller for shower sessions with the flow:
IDLE → PREPARING → READY → IN_USE → GET_OUT → IDLE.
A physical button advances to the next state (short press) or
cancels back to IDLE from any state (long press). Optional virtual
input_button helpers allow UI control as well.
@Xitee1
Xitee1 / Notification LED.yaml
Last active April 3, 2026 17:57
Home Assistant Notification Boolean
blueprint:
name: "Notification Boolean"
description: >
Toggles an `input_boolean` per app based on the Last Notification /
Last Removed Notification sensors from the HA Companion App.
**How it works:**
- When a notification arrives from a configured app, the matching
`input_boolean` is turned **on**.
@Xitee1
Xitee1 / claude-opus-default.user
Created March 7, 2026 18:28
Claude.ai Opus default
// ==UserScript==
// @name Claude.ai – Default to Opus
// @namespace https://github.com/xitee1/claude-opus-default
// @version 1.1.0
// @description Automatically selects Claude Opus as the default model on claude.ai instead of Sonnet. Shows a warning banner when Sonnet is active.
// @author Mato (via Claude)
// @match https://claude.ai/*
// @grant GM_getValue
// @grant GM_setValue
// @run-at document-idle
@Xitee1
Xitee1 / docker-compose.yaml
Created June 23, 2023 06:38
coTurn docker server setup for NextCloud Talk. I created this because I could not find any working and simple docker compose for the coTurn server. This compose is really simple to set up. It already has configured everything neccessary. Just change out your secret and realm and you're ready to go. Make sure to open the port 3488 and 49160-49200…
version: '3'
services:
coturn:
image: coturn/coturn:alpine
command: >
-n --log-file=stdout
--min-port=49160 --max-port=49200
--listening-port=3488
--fingerprint
@Xitee1
Xitee1 / Regensensor.ino
Created October 30, 2022 18:33
This is a modified version of https://tutorials-raspberrypi.de/esp8266-regensensor-selber-bauen-wie-viel-pro-qm/ . I made lots of changes and made the code a bit cleaner looking (at least for me it is). Some main features are WiFi sleep to reduce power consumption, INBUILT_LED blinking on detections and overall a few "improvements".
#include <ESP8266WiFi.h>
#include <PubSubClient.h>
#include <ArduinoJson.h>
// WiFi
#define WIFI_AP "WiFi SSID"
#define WIFI_PASSWORD "Password"
// MQTT
#define MQTT_SERVER "192.168.x.x" // MQTT Server IP (e.g. the IP of HA)
#define MQTT_USER "mqtt" // MQTT username