diff options
| author | tanaka takashi <isazaka@gmail.com> | 2026-08-16 19:38:42 +0900 |
|---|---|---|
| committer | tanaka takashi <isazaka@gmail.com> | 2026-08-16 19:38:42 +0900 |
| commit | e45e2dbf160445891ec765ffb3e0e14f106cfb56 (patch) | |
| tree | 795dce377a23cfbd32995585548da07dd366d3b5 | |
| parent | 8ce6627324c258fead9164b1532241a698284fc4 (diff) | |
release: prepare version 0.5.0
Document the project as a lightweight personal Ollama Web UI that runs directly on the host OS without Docker or a virtual machine, and align the English and Japanese highlights.
Add a Keep a Changelog-style history and record the clipboard fallback, final tool-round disabling, packaging metadata compatibility, and runtime asset inclusion fixes delivered in v0.5.0.
Synchronize the package and runtime version at 0.5.0, remove duplicate setuptools license metadata, and explicitly include templates, static assets, translations, prompts, and bundled fonts in built distributions.
Validated with 115 tests, Ruff, mypy, uv lock checking, sdist/wheel builds, and wheel-installed application initialization.
| -rw-r--r-- | CHANGELOG.md | 165 | ||||
| -rw-r--r-- | README.md | 19 | ||||
| -rw-r--r-- | README_ja.md | 19 | ||||
| -rw-r--r-- | pyproject.toml | 20 | ||||
| -rw-r--r-- | src/ollama_web/__init__.py | 2 |
5 files changed, 203 insertions, 22 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..1381129 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,165 @@ +# Changelog + +このプロジェクトの注目すべき変更は、このファイルに記録します。 + +形式は [Keep a Changelog](https://keepachangelog.com/ja/1.1.0/) を参考にし、 +バージョン番号は [Semantic Versioning](https://semver.org/lang/ja/) に従います。 + +## [Unreleased] + +## [0.5.0] - 2026-08-16 + +### Added + +- タグごとのGitHub Releaseノートを管理するため、`CHANGELOG.md`を追加しました。 + +### Changed + +- READMEの冒頭説明と主な特徴を整理し、個人利用向けの軽量なWeb UIであること、Dockerや仮想マシンを使わずホストOS上で直接動作することを明確にしました。 + +### Fixed + +- Clipboard APIを利用できないHTTP接続や権限拒否時に、コピーボタンが無反応に見える問題を修正。失敗時は警告アイコンを一時表示し、詳細をブラウザコンソールへ記録するようにしました。 +- ツールラウンド上限到達後の最終回答生成でツール定義を渡していた問題を修正。標準ツールとMCPツールを無効化し、それまでの調査結果だけから回答を生成するようにしました。 +- 新しいsetuptoolsでライセンスメタデータが重複してパッケージをビルドできない問題を修正しました。 +- wheelおよびsource distributionにWeb UI、翻訳、プロンプトの実行時アセットが含まれない問題を修正しました。 + +## [0.4.5] - 2026-08-02 + +### Added + +- `scrape_url`、`pdf_to_text`、`search_and_fetch` に継続トークン方式のページングを追加しました。 + +### Fixed + +- `search_and_fetch` のページングトークンが、長い検索結果によって欠損・破損する問題を修正しました。 + +## [0.4.4] - 2026-07-09 + +### Fixed + +- Ollamaが空のレスポンスを返した場合に再試行するようにしました。 + +## [0.4.3] - 2026-07-09 + +### Added + +- チャットメッセージのコピー機能を追加しました。 +- コンテキストのトークン消費量を表示するリングゲージを追加しました。 +- 英語版READMEを追加しました。 + +### Changed + +- LLMのストリーミング中でも、ユーザーがチャット履歴をスクロールしやすいように自動スクロールを調整しました。 + +### Fixed + +- 停止ボタンを押した後にメッセージを送信できなくなる問題を修正しました。 +- トークン消費量リングゲージの表示タイミングを調整しました。 + +## [0.4.2] - 2026-06-28 + +### Fixed + +- モデル名にスラッシュが含まれる場合、モデル情報取得時にStarlette側でパスが正しく処理されない問題を修正しました。 +- 上記の影響で、対応モデルでもthinkingトグルが無効になる問題を修正しました。 + +## [0.4.1] - 2026-06-28 + +### Added + +- システムプロンプトへローカル時刻を注入する機能を追加しました。 + +## [0.4.0] - 2026-06-27 + +### Added + +- UIの表示言語を切り替える多言語対応を追加しました。 +- UIとOllamaの一般設定画面を追加しました。 +- システムプロンプト、temperature、コンテキスト長などの設定を`settings.json`へ保存できるようにしました。 + +### Fixed + +- MCP設定画面の言語切り替え表示を修正しました。 +- CSPによってインラインJavaScriptがブロックされる問題を修正しました。 +- Ollama詳細設定のプレースホルダーを修正しました。 + +### Changed + +- READMEの画面イメージを更新しました。 + +## [0.3.3] - 2026-06-27 + +### Security + +- クライアント側URLリダイレクトに関するコードスキャンの指摘へ対応しました。 + +## [0.3.2] - 2026-06-27 + +### Changed + +- MarkdownのHTML変換をレスポンス完了時にまとめて行うようにし、チャットのレンダリング処理を最適化しました。 + +## [0.3.1] - 2026-06-27 + +### Changed + +- MCPツール名による不要な実行制限を削除しました。 +- READMEのスクリーンショットをGIFへ変更し、表示サイズを調整しました。 + +## [0.3.0] - 2026-06-27 + +### Added + +- stdioおよびStreamable HTTPのMCPサーバーからツールを利用するMCPクライアント機能を追加しました。 + +### Security + +- MCPサーバー設定と実行処理をセキュア化しました。 + +### Fixed + +- MCP stdioサーバーの作業ディレクトリに関する不整合を修正しました。 + +## [0.2.0] - 2026-06-25 + +### Added + +- Ollamaモデルのthinking、tools、vision対応状況を取得し、UIとリクエストをモデル能力に応じて切り替える機能を追加しました。 +- READMEへスクリーンショットを追加しました。 + +### Fixed + +- チャット履歴のクリアボタンに関する問題を修正しました。 +- レスポンシブ表示時にヘッダーのレイアウトが崩れる問題を修正しました。 + +## [0.1.0] - 2026-06-25 + +### Added + +- Ollamaモデルとのストリーミングチャットを追加しました。 +- 会話セッションの保存と左サイドバーからの管理を追加しました。 +- ファイル添付、ファイル検索・取得、PDFテキスト抽出を追加しました。 +- visionモデル向けの画像添付処理を追加しました。 +- Web検索とURLスクレイピングを追加しました。 +- 数式レンダリングを追加しました。 +- デスクトップとモバイル向けのレスポンシブUIを追加しました。 + +### Security + +- Web UIのセキュリティヘッダーと表示処理を強化しました。 + +[Unreleased]: https://github.com/takashi000/ollama-web/compare/v0.5.0...HEAD +[0.5.0]: https://github.com/takashi000/ollama-web/compare/v0.4.5...v0.5.0 +[0.4.5]: https://github.com/takashi000/ollama-web/compare/v0.4.4...v0.4.5 +[0.4.4]: https://github.com/takashi000/ollama-web/compare/v0.4.3...v0.4.4 +[0.4.3]: https://github.com/takashi000/ollama-web/compare/v0.4.2...v0.4.3 +[0.4.2]: https://github.com/takashi000/ollama-web/compare/v0.4.1...v0.4.2 +[0.4.1]: https://github.com/takashi000/ollama-web/compare/v0.4.0...v0.4.1 +[0.4.0]: https://github.com/takashi000/ollama-web/compare/v0.3.3...v0.4.0 +[0.3.3]: https://github.com/takashi000/ollama-web/compare/v0.3.2...v0.3.3 +[0.3.2]: https://github.com/takashi000/ollama-web/compare/v0.3.1...v0.3.2 +[0.3.1]: https://github.com/takashi000/ollama-web/compare/v0.3.0...v0.3.1 +[0.3.0]: https://github.com/takashi000/ollama-web/compare/v0.2.0...v0.3.0 +[0.2.0]: https://github.com/takashi000/ollama-web/compare/v0.1.0...v0.2.0 +[0.1.0]: https://github.com/takashi000/ollama-web/releases/tag/v0.1.0 @@ -1,20 +1,21 @@ # ollama-web -A local web UI for using Ollama from a browser. +A lightweight personal web UI for Ollama that runs directly on your machine — no Docker or virtual machine required. -A lightweight Starlette-based server providing chat, session storage, file attachments, web search / fetch tools, and PDF text extraction. It listens on localhost only by default and protects the UI and API with PIN login. +Use Ollama from your browser with streaming chat, web search and URL fetching, image, file, and PDF attachments, and MCP tool calling. It is designed for personal use when you want these capabilities in a small host-OS setup without deploying a large, complex AI platform. <img src="./docs/capture.gif" width="100%" alt="Screenshot of the chat" /> -## Features +## Highlights - Streaming chat with Ollama models -- Local storage of conversation sessions and attachments -- Image attachment resizing and sending for vision models -- Web search, URL scraping, file search / fetch, and PDF text extraction tools -- MCP client support: use tools from stdio / Streamable HTTP MCP servers -- PIN authentication, CSRF protection, CSP, locally distributed frontend dependency files -- External URL fetching with SSRF protection +- Web search and URL fetching +- Image, file, and PDF attachments +- MCP tools via stdio and Streamable HTTP +- Runs directly on the host OS — no Docker or VM required +- Local conversation and attachment storage +- PIN authentication, CSRF protection, CSP, and SSRF protection +- Japanese and English UI ## Requirements diff --git a/README_ja.md b/README_ja.md index 5cb7441..2cc8c39 100644 --- a/README_ja.md +++ b/README_ja.md @@ -1,20 +1,21 @@ # ollama-web -Ollama をブラウザから利用するためのローカル Web UI です。 +Docker や仮想マシンを必要とせず、ホスト OS 上で直接起動して利用できる、軽量な個人向け Ollama Web UI です。 -Starlette ベースの軽量なサーバーで、チャット、セッション保存、ファイル添付、Web 検索/取得ツール、PDF テキスト抽出を提供します。既定ではローカルホストのみで待ち受け、PIN ログインで UI と API を保護します。 +ブラウザから Ollama とのストリーミングチャット、Web 検索・URL 取得、画像・ファイル・PDF 添付、MCP Tool Calling を利用できます。大規模で複雑な AI プラットフォームを導入せず、個人利用に必要な機能を小さな構成で使うことを意図しています。 <img src="./docs/capture.gif" width="100%" alt="Screenshot of the chat" /> -## Features +## 主な特徴 - Ollama モデルとのストリーミングチャット -- 会話セッションと添付ファイルのローカル保存 -- 画像添付のリサイズと vision モデル向け送信 -- Web 検索、URL スクレイピング、ファイル検索/取得、PDF テキスト抽出ツール -- MCP クライアント機能:stdio / Streamable HTTP の MCP サーバーからツールを利用可能 -- PIN 認証、CSRF 保護、CSP、ローカル配布のフロントエンド依存ファイル -- SSRF 対策付きの外部 URL 取得 +- Web 検索・URL 取得 +- 画像・ファイル・PDF 添付 +- stdio / Streamable HTTP による MCP ツール連携 +- Docker / VM 不要でホスト OS 上で直接動作 +- 会話履歴と添付ファイルのローカル保存 +- PIN 認証、CSRF・CSP・SSRF 対策 +- 日本語・英語 UI ## Requirements diff --git a/pyproject.toml b/pyproject.toml index 363e4ef..43fb316 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,14 +4,13 @@ build-backend = "setuptools.build_meta" [project] name = "ollama-web" -version = "0.4.5" +version = "0.5.0" description = "Ollama web project" readme = "README.md" license = "MIT" license-files = ["LICENSE", "THIRD_PARTY_LICENSES.txt"] requires-python = ">=3.10" classifiers = [ - "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", @@ -45,6 +44,21 @@ ollama-web = "ollama_web.main:main" [tool.setuptools.packages.find] where = ["src"] +[tool.setuptools.package-data] +ollama_web = [ + "i18n/messages/*.json", + "prompts/*.json", + "static/*.css", + "static/*.js", + "static/vendor/*.css", + "static/vendor/*.js", + "static/vendor/*.map", + "static/vendor/fonts/*.ttf", + "static/vendor/fonts/*.woff", + "static/vendor/fonts/*.woff2", + "templates/*.html", +] + [tool.ruff] line-length = 100 target-version = "py310" @@ -61,4 +75,4 @@ filterwarnings = [ [tool.mypy] python_version = "3.10" -strict = true
\ No newline at end of file +strict = true diff --git a/src/ollama_web/__init__.py b/src/ollama_web/__init__.py index 04b06c6..343ed75 100644 --- a/src/ollama_web/__init__.py +++ b/src/ollama_web/__init__.py @@ -1,3 +1,3 @@ """Ollama web project.""" -__version__ = "0.1.0" +__version__ = "0.5.0" |
