Bielik โ local Ollama chat client (CLI + web)
Project description
๐ฆ bielik
Author: Tom Sapletta
License: Apache-2.0
๐ Features
- CLI
bielikโ interactive chat shell with Ollama (REST โ fallbackollamalib). - Web server (FastAPI on port 8888):
POST /chatโ send chat messagesWS /wsโ websocket chat
โ๏ธ Installation
pip install bielik
Optional dependency (official Ollama lib):
pip install "bielik[ollama]"
๐ Usage
CLI
bielik
Wpisz wiadomoลci, zakoลcz :exit.
Web API
uvicorn bielik.server:app --port 8888
- POST
/chat:
{"messages": [{"role":"user","content":"Hello!"}]}
- WebSocket
/ws
๐ง Environment Variables
OLLAMA_HOSTโ default:http://localhost:11434BIELIK_MODELโ default:bielik
๐ Development
git clone https://github.com/tomsapletta/bielik.git
cd bielik
python -m venv .venv
source .venv/bin/activate
pip install -e .[ollama]
๐ Struktura
bielik/
โโโ bielik/
โ โโโ __init__.py
โ โโโ cli.py
โ โโโ server.py
โโโ tests/
โ โโโ __init__.py
โ โโโ test_cli.py
โ โโโ test_server.py
โโโ pyproject.toml
โโโ setup.cfg
โโโ MANIFEST.in
โโโ LICENSE
โโโ README.md
โโโ Makefile
โโโ .github/workflows/python-publish.yml
๐ License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bielik-0.1.0.tar.gz
(9.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bielik-0.1.0.tar.gz.
File metadata
- Download URL: bielik-0.1.0.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4c55f8f092af9649881ff52c8edd449500bc6e07476134412780ec109aadf60
|
|
| MD5 |
b9f920a46dd95bd3bb21ee82fe72d515
|
|
| BLAKE2b-256 |
45818efc57313780f5c942d1dffc2395d4eb81084900cfd8697b9ed39c1c1ae0
|
File details
Details for the file bielik-0.1.0-py3-none-any.whl.
File metadata
- Download URL: bielik-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
483f0a4be36095a7c2be7a0acf4202f7f22acf6d1cbd468759ac0b85686cfdf9
|
|
| MD5 |
88d1f6818eb25b98805422d8834b98e5
|
|
| BLAKE2b-256 |
7b9d61403e1e125aa4ec8cbb82e359aabca44e71dda9954a2ee21b1bb8cdb48f
|