ScriptBook - Interactive terminal and document browser with web interface
Project description
Scriptbook
交互式终端和文档浏览器,支持在 Web 界面中浏览 Markdown 文档、执行脚本和管理终端会话。
特性
- Markdown 渲染 - 支持代码块语法高亮和一键执行
- 交互式终端 - 基于 xterm.js 的现代化终端体验
- 窗口管理 - 支持分割、拖拽重排、布局保存
- 多语言支持 - bash、python、shell 等
安装
pip install scriptbook
快速开始
# 启动服务
scriptbook server <目录> --port 8080
# 访问 http://localhost:8080
截图
文件选择器
文件类型
| 扩展名 | 说明 |
|---|---|
.md |
Markdown 文档,代码块可执行 |
.tl |
Terminal 配置文件 |
.layout.json |
窗口布局文件 |
快捷键
| 快捷键 | 功能 |
|---|---|
Ctrl+P |
打开文件选择器 |
Ctrl+Enter |
右侧分割打开 |
Alt+Enter |
下侧分割打开 |
Esc |
取消焦点 |
文档
License
MIT
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
scriptbook-2.1.8.tar.gz
(495.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
scriptbook-2.1.8-py3-none-any.whl
(496.8 kB
view details)
File details
Details for the file scriptbook-2.1.8.tar.gz.
File metadata
- Download URL: scriptbook-2.1.8.tar.gz
- Upload date:
- Size: 495.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
114b16fad7f64a0e3b7b30ef3bdd0f7f755929e4a07e5b58c80ec843e57ba6b0
|
|
| MD5 |
010c8995f70a9426a7f4256ed64e2609
|
|
| BLAKE2b-256 |
eec047504560fb671061201fd845128203bfdc62de6c27e1dc172adeef516ff0
|
File details
Details for the file scriptbook-2.1.8-py3-none-any.whl.
File metadata
- Download URL: scriptbook-2.1.8-py3-none-any.whl
- Upload date:
- Size: 496.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
089c7738daeabb98042c14b861ac1b3efbe8ff9e162a9dc80b1bf415eacf2a5f
|
|
| MD5 |
6214fcc6364939202ebbec76b95dc657
|
|
| BLAKE2b-256 |
1c1e87b0de92e000e8cc0782ab5bb642a5e1ee0f567bf45f2337f9334cb5a816
|