Visitors

AI Sidebar

AI Sidebar

Download

# SideBar Assistant

SideBar Assistant is a frameless, always-on-top sidebar application built with PySide6. It integrates a smart “assistant” chat interface (powered by an Open WebUI backend), Google web search, YouTube transcript extraction, local notes, clipboard history, process monitoring, and optional peer-to-peer synchronization with end-to--end encryption.

---

## Features

- **Auto-hiding Sidebar**

The window docks to the right edge of the screen and auto-hides when the mouse moves away, making it available on demand without cluttering your workspace. citeturn1file1

- **Clipboard History**

Monitors your clipboard and keeps up to 30 items; navigate, search, and re-paste previous entries. citeturn1file4

- **Notes Pane**

A simple notepad for quick text notes. Notes are auto-saved every 5 seconds when modified. citeturn1file4

- **Process Monitor**

Displays a live list of running processes and highlights critical system processes. citeturn1file8

- **Assistant Chat Widget**

- **Open WebUI Integration**: Connect to a locally running Open WebUI endpoint, fetch available models, and stream chat completions. citeturn1file15

- **Web Search**: Query the Google Custom Search API (requires API key and CX) and embed results into the chat. citeturn1file7

- **YouTube Transcripts**: Detect YouTube links in your prompt, fetch transcripts via the YouTube Transcript API (Korean first, then English fallback), and include them in the conversation. citeturn1file7

- **File Uploads**: Drag-and-drop or browse to upload text (txt, md, csv, code), images, and other binaries; content is encoded and appended to the prompt. citeturn1file6

- **P2P Synchronization (Experimental)**

- Peer-to-peer sharing of notes, clipboard, or other data with optional AES-GCM encryption using PBKDF2-derived keys.

- Salt-exchange and mutual authentication protocol ensure secure key negotiation.

- Manage peers (IP:port), toggle encryption, and set credentials in Settings. citeturn1file4

- **Configurable Settings**

All features are customizable via a unified Settings dialog:

- Notes directory

- P2P sync (enable/disable, encryption toggle, username/password, peer list)

- Open WebUI endpoint, API key, and model selection

- Google Search API key and Custom Search Engine ID

- Window behavior (auto-hide, always-on-top) citeturn1file15

- **Robust Logging**

Logs are written to a rotating file (5 MB max, 5 backups) under `log/`; debug, info, warning, and error events are captured. citeturn1file8

---

## Installation

1. **Clone the repository**

```bash

git clone https://github.com/ULTRAKKK1004/AI_Sidebar.git

cd AI_Sidebar

```

2. **Create a virtual environment & install dependencies**

```bash

python3 -m venv venv

source venv/bin/activate # Windows: venv\Scripts\activate

pip install --upgrade pip

pip install -r requirements.txt

```

3. **Configure Settings**

- Run the app once to generate default config and notes directory.

- Open Settings (tray icon ➔ Settings) to enter your API keys, WebUI endpoint, and P2P peers.

---

## Usage

```bash

python AI_Sidebar.py

```

- The app will appear as a thin sidebar on the right.

- Hover near the right edge to reveal, move away to hide (if auto-hide is enabled).

- Use the tabs to switch between Clipboard, Processes, Notes, and Assistant.


## Configuration

Launch Settings from the system tray menu:

1. **General**

- **Notes Directory**: Location where your notes are stored.

2. **P2P Synchronization**

- Enable or disable P2P.

- Toggle encryption (AES-GCM).

- Set Username & Password (used for key derivation).

- Specify Listen Port and peer addresses (IP:port).

3. **Open WebUI, OPEN AI Assistant**

- **Endpoint URL**: e.g. `http://localhost:8080`

- **API Key** (if your WebUI instance requires authentication)

- **Model**: Fetch and select from available models on the WebUI server.

4. **Google Search API**

- **Google API Key**

- **Custom Search Engine ID (CX)**

5. **Window**

- Auto-hide toggle

- Always-on-top toggle

---

## Project Structure

- **`AI_Sidebar.py`**: Single-file application containing all logic: GUI, P2P manager, WebUI worker, and helper functions.

- **`log/`**: Directory for rotating application logs.

- **`Notes/`**: Default directory under your OS’s AppData for saving notes.

---

## License

This project is released under the MIT License. Feel free to fork and modify!

Read more

AI, 국제수학올림피아드에서 금빛 업적 달성! 구글과 오픈AI의 놀라운 성과

AI, 국제수학올림피아드에서 금빛 업적 달성! 구글과 오픈AI의 놀라운 성과

AI의 수학적 혁명: IMO 금메달 도전기 AI, 국제수학올림피아드에서 금메달 획득! 2025년, 구글과 오픈AI의 인공지능이 세계 최고 난이도의 수학 대회에서 놀라운 성과를 거두었습니다. 이는 AI의 수학적 추론 능력이 인간 수준에 근접했음을 보여주는 획기적인 순간입니다. 주요 성과 * 🏅 오픈AI: 6문제 중 5문제 해결, 42점 만점 중 35점 획득 * 🏅 구글 Gemini: IMO 금메달 기준

By King
WebAgent: Alibaba's Next-Gen AI Agent for Autonomous Web Information Exploration

WebAgent: Alibaba's Next-Gen AI Agent for Autonomous Web Information Exploration

WebAgent란 무엇인가? WebAgent는 알리바바의 통이랩(Tongyi Lab)에서 개발한 혁신적인 오픈소스 프로젝트로, AI 기반 웹 탐색의 한계를 넓히는 기술입니다. 핵심은 대형 언어 모델(LLM)을 기반으로 한 자율 에이전트로, 최소한의 인간 개입으로 웹을 탐색하고 정보를 수집하며 복잡한 추론 작업까지 수행할 수 있습니다. 이제 이 흥미로운 기술을 자세히 살펴보고 어떻게 작동하는지

By King
YOLO 모델 학습 결과 비교 기준과 효율적 평가 방법에 관한 고찰

YOLO 모델 학습 결과 비교 기준과 효율적 평가 방법에 관한 고찰

YOLO 모델 학습을 진행하며 데이터셋 증강, 배치 구성 등의 변수 조작 후 학습 결과 비교를 위한 연구는 매우 중요한 과정입니다. 특히, 논문 작성 시 수정이 가해지지 않은 기본 상태와 고안한 방법을 적용한 상태의 학습 결과를 비교할 때 어떤 모델 파일을 기준으로 할지 고민하는 경우가 많습니다. YOLO 학습을 400 epoch로 설정할

By King
역사의 장막을 벗기다: MLK 기밀문서, 정치 스캔들, 그리고 헌터 바이든의 충격 발언

역사의 장막을 벗기다: MLK 기밀문서, 정치 스캔들, 그리고 헌터 바이든의 충격 발언

미국 정치의 숨겨진 진실들, 이제 공개된다! 🔍 마틴 루터 킹 주니어 암살 문서 23만쪽 전격 공개 2025년 7월 21일, 국가정보국(DNI)이 MLK 암살 사건의 숨겨진 진실을 담은 6,000여 건의 문서를 최초로 공개했습니다. 트럼프 대통령의 행정명령에 따라 국민의 알 권리를 위해 추진된 이번 공개는 역사적 투명성의 중요한 이정표로 평가됩니다. 📂 오바마-코미

By King