Skip to main content

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


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.9.tar.gz (495.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scriptbook-2.1.9-py3-none-any.whl (496.8 kB view details)

Uploaded Python 3

File details

Details for the file scriptbook-2.1.9.tar.gz.

File metadata

  • Download URL: scriptbook-2.1.9.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

Hashes for scriptbook-2.1.9.tar.gz
Algorithm Hash digest
SHA256 016443b27b423a445f155c7d3137765eb0ea13544b68f858d51d95e3e8fe9806
MD5 f0bbb7bb710ea904fc462ee85db9a088
BLAKE2b-256 d8df2554871c5bbf3b3486c38e3071707c7f37c951c39f8d2b8492b0ef16333e

See more details on using hashes here.

File details

Details for the file scriptbook-2.1.9-py3-none-any.whl.

File metadata

  • Download URL: scriptbook-2.1.9-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

Hashes for scriptbook-2.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 9b734ff798fa1bdaf14ba5282ead492bd0468b7b1aebd3b848d8164fe2e86f8c
MD5 06dcc5f18434e0ebe2e298c665ac9ea4
BLAKE2b-256 e6054f13e440244b0c4fee29a231c20cc8d30a9fbce3b1f6f15f590cf01599c2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page