slides
11,706
Stars
318
Forks
59
Watchers
79
Open Issues
MIT
许可证
Go
语言
2021-05-05
创建时间
2026-07-08
最近更新
项目能做什么
基于终端的演示文稿展示工具。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# Slides
Slides in your terminal.
<p align="center">
<img src="./assets/slides-1.gif?raw=true" alt="Slides Presentation" />
</p>
### Installation
[](https://formulae.brew.sh/formula/slides)
[](https://snapcraft.io/slides)
[](https://aur.archlinux.org/packages/slides)
<details markdown="block">
<summary>Instructions</summary>
#### MacOS
```
brew install slides
```
#### Arch
```
yay -S slides
```
#### Nixpkgs (unstable)
```
nix-env -iA nixpkgs.slides
```
#### Any Linux Distro running `snapd`
```
sudo snap install slides
```
#### Go
```
go install github.com/maaslalani/slides@latest
```
From source:
```
git clone https://github.com/maaslalani/slides.git
cd slides
go install
```
You can also download a binary from the [releases](https://github.com/maaslalani/slides/releases) page.
</details>
### Usage
Create a simple markdown file that contains your slides:
````markdown
# Welcome to Slides
A terminal based presentation tool
---
## Everything is markdown
In fact, this entire presentation is a markdown file.
---
## Everything happens in your terminal
Create slides and present them without ever leaving your terminal.
---
## Code execution
```go
package main
import "fmt"
func main() {
fmt.Println("Execute code directly inside the slides")
}
```
You can execute code inside your slides by pressing `<C-e>`,
the output of your command will be displayed at the end of the current slide.
---
## Pre-process slides
You can add a code block with three tildes (`~`) and write a command to run *before* displaying
the slides, the text inside the code block will be passed as `stdin` to the command
and the code block will be replaced with the `stdout` of the command.
```
~~~graph-easy --as=boxart
[ A ] - to -> [ B ]
~~~
```
The above will be pre-processed to look like:
┌───┐ to ┌───┐
│ A │ ────> │ B │
└───┘ └───┘
For security reasons, you must pass a file that has execution permissions
for the slides to be pre-processed. You can use `chmod` to add these permissions.
```bash
chmod +x file.md
```
````
Checkout the [example slides](https://github.com/maaslalani/slides/tree/main/examples).
Then, to present, run:
```
slides presentation.md
```
If given a file name, `slides` will automatically look for changes in the file and update the presentation live.
`slides` also accepts input through `stdin`:
```
curl http://example.com/slides.md | slides
```
Go to the first slide with the following key sequence:
* <kbd>g</kbd> <kbd>g</kbd>
Go to the next slide with any of the following key sequences:
* <kbd>space</kbd>
* <kbd>right</kbd>
* <kbd>down</kbd>
* <kbd>enter</kbd>
* <kbd>n</kbd>
* <kbd>j</kbd>
* <kbd>l</kbd>
* <kbd>Page Down</kbd>
* number + any of the above (go forward n s
阅读完整原文
项目深度分析 AI 生成
技术布道与讲师专属的Web互动幻灯片托管平台 (SaaS)
| 产品构想 | 将 slides 的 Markdown + 实时代码执行能力搬上云端,生成带有终端主题的可交互Web演讲稿,观众可通过网页端实时查看代码并沙箱试运行。 |
| 核心功能 | Markdown一键导入生成交互式Web幻灯片、云端隔离的代码执行沙箱环境、观众端实时同步/提问互动、演讲数据分析面板 |
| 目标用户 | 技术大会讲师、企业DevRel、线上编程训练营讲师 |
| 难度/周期 | 中等 · 2-3个月 · 成本:开发机器 + 沙箱计算节点服务器(如轻量级Docker集群)约 $50-200/月 |
| 收费模式 | Freemium模式:免费版限制观众人数与沙箱运行时长;Pro版/企业版按月订阅收费(提供私有沙箱、自定义域名、无限制代码执行) |
| 竞争风险 | 代码沙箱的容器逃逸与安全防御成本高;计算资源开销大导致边际成本不可控 |
| 依据 | AI推测 |
企业内部工程技术分享与文档演示一体化工具 (On-Prem / CLI Pro)
| 产品构想 | 以 slides CLI 为核心打造企业增强版,解决团队演示文稿协同、品牌风格定制以及接入公司内网微服务/CI/CD环境进行现场验证演示的需求。 |
| 核心功能 | 团队私有模板库/主题管理、企业SSO与权限集成、内网安全环境下的受控代码执行插件、一键导出PDF/静态HTML演讲记录 |
| 目标用户 | 中大型科技团队、内训负责人、架构师团队 |
| 难度/周期 | 较低 · 1-2个月 · 成本:主要为独立开发者的个人时间成本 |
| 收费模式 | B2B买断制授权或按席位订阅许可(商业授权) |
| 竞争风险 | 小众终端工具难以走通企业采购流程,决策周期长 |
| 依据 | 尚需验证的假设 |
高级主题资产包与演讲者生产力套件 (数字资产/扩展)
| 产品构想 | 开发适配终端渲染的高保真ASCII/Unicode主题包,配合配套的辅助CLI工具(如双屏演讲者视图、倒计时提示器、实时Markdown绘制图表预处理器)。 |
| 核心功能 | 开箱即用的专业终端主题风格包、演讲者双屏控制工具(手机/副屏遥控翻页与看备注)、配套图形预处理指令集扩展 |
| 目标用户 | 极客演讲者、技术自媒体博主、常年在大会演讲的资深工程师 |
| 难度/周期 | 低 · 2-4周 · 成本:极低(仅Gumroad/Lemon Squeezy等交易手续费) |
| 收费模式 | 一次性买断制数字商品销售($9 - $29) |
| 竞争风险 | 目标受众DIY能力极强,盗版容易且付费转化率可能偏低 |
| 依据 | 已验证事实 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
相似项目数据正在完善中,暂不展示(避免误导)
项目优势与风险
| 技术成熟度 | 创建于 2021-05-05,最近推送 2026-07-08,发布过 17 个 Release |
| 社区活跃 | Star 11,706 / Fork 318 / Issue 79(数据支持,可自行核实) |
| 许可证 | MIT |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。