Skip to content

Releases

Nibble v0.3.6

Choose a tag to compare

@github-actions github-actions released this 04 Dec 08:13

Nibble 0.3.6

Meet the Nibble mascot in Settings → About. Click it, tap it, or press Enter or Space to cycle through 12 hand-picked poses. The mascot responds to pointer interactions and respects the system’s reduced-motion preference. The sprite sheet is bundled with Nibble and works offline.

中文

在 设置 → 关于 可以和 Nibble 吉祥物互动。点击吉祥物或使用 Enter、空格键,可轮换 12 个表情和姿势。悬停和点击有轻量动效,开启系统的「减少动态效果」后可静态切换。图集随应用内置,离线也能使用。

Nibble v0.3.5

Choose a tag to compare

@github-actions github-actions released this 04 Dec 01:07

Nibble 0.3.5

  • The snippet editor now uses the available width and scales to the window height. File controls wrap on narrow screens.
  • Collapse the desktop navigation into larger icons with the chevron on the divider. Nibble remembers the choice on this browser.
  • The snippet actions distinguish viewing forks from creating a fork. Owners can turn revision history off per snippet and turn it back on later. Authorized Git clones still include the repository history.
  • Panels have quieter translucent accents. Press, hover, and confirmation feedback follow the system’s reduced-motion preference.

中文

  • 新建和编辑片段随窗口宽高伸展,窄屏工具栏会换行。
  • 桌面侧栏中部的箭头可切换至仅图标模式。浏览器会记住选择。
  • 片段菜单区分「查看派生」和「派生此片段」。所有者可暂停旧版本及其分享页面,重新开启后可恢复访问。获授权的 Git 克隆仍包含仓库历史。
  • 菜单采用轻量磨砂,按钮补齐按压、悬停和完成反馈,并遵循系统的减少动态效果设置。

Schema 10 adds the revision history preference. Existing snippets keep history enabled.

Nibble v0.3.4

Choose a tag to compare

@github-actions github-actions released this 03 Dec 17:38

中文

  • 代码阅读区优先通过本地 WebGPU 运行 gpu-lexer。模型和权重随 Nibble 打包,离线实例可用。不支持 WebGPU、解析失败或超时时,按文件扩展名或 Markdown 围栏语言回退到 Shiki。新增 Fish、Lua、C、C++、C#、Java、Kotlin、PHP、PowerShell、Ruby 和 Swift 语法。
  • CodeMirror 编辑器加入折叠栏和折叠快捷键,Markdown 围栏代码按语言上色。代码配色可跟随站点外观,也可选择 CodeMirror 浅色或 One Dark。

English

  • Code reading uses the bundled gpu-lexer model on WebGPU when available. Shiki highlights by file extension or Markdown fence language when GPU highlighting fails or times out. The browser needs no external model download.
  • The CodeMirror editor adds a fold gutter, keyboard folding and highlighting inside Markdown fences. Code colors can follow the site appearance or use CodeMirror Light or One Dark.

Nibble v0.3.3

Choose a tag to compare

@github-actions github-actions released this 03 Dec 15:50

Nibble v0.3.3

  • 通用 OIDC 登录支持通过环境变量或 YAML 配置用户名与显示名字段,继续请求标准 profile。空值、无效用户名和原始 sub 会回退到标准资料或本地注册表单。
  • UserInfo 未授权或不存在时,登录使用已验证的 ID Token。已有账户保留本地用户名、昵称和身份绑定。

Generic OpenID Connect now supports configurable username and display-name claims. Sign-in falls back to the verified ID token when UserInfo is unavailable to the client. Existing accounts retain their local names and identity bindings.

Nibble v0.3.2

Choose a tag to compare

@github-actions github-actions released this 03 Dec 10:42

Nibble v0.3.2

  • 搜索结果显示文件、行号和命中预览,打开的是对应的 Git 修订。
  • 可配置 Ollama 启用 HawDB 0.42 混合搜索。关键词和语义排名共同决定结果,可直接跳到代码的行范围。公开状态、所有者、版本或有效期变更后,从主库重新确认结果。
  • 默认头像改用 Boring Avatars,在本地按用户名生成图形,界面继续优先显示昵称。

沿用数据库 Schema 9。从源码构建需要 Rust 1.97.1 或以上。语义搜索默认关闭,部署选项见 README。

English

Search links to the matching file and line in a fixed Git revision. Optional Ollama embeddings add semantic retrieval and reciprocal rank fusion with HawDB 0.42. Search checks visibility and revisions against the database. Default avatars use locally generated Boring Avatars. This patch retains schema 9 and requires Rust 1.97.1 for source builds.

Nibble v0.3.1

Choose a tag to compare

@github-actions github-actions released this 03 Dec 08:54

Nibble v0.3.1

  • 界面优先显示昵称。公开人员入口仅列出拥有可公开列出片段的账户。
  • 管理员可以更换站点名称和 Logo,并立即控制新账户注册。关闭注册也会阻止邀请兑换。
  • GitLab Snippets 插件 0.1.0 支持手动和定时同步,提供拉取、推送和双向模式。
  • 新建和编辑片段时,输入 Tag 后按回车即可添加。第三方登录按钮直接显示服务名称。
  • 私密片段可以创建独立的只读网页分享。所有者可以设置有效期和口令,并管理已创建的链接。
  • amd64 和 arm64 容器在各自的原生 GitHub Actions runner 上构建并运行冒烟测试。

数据库启动时会升级至 Schema 9。升级前请同时备份数据库、Git 仓库和实例密钥。

English

This patch prioritizes display names, keeps accounts without publicly listed snippets out of public people listings, and adds site branding, a site-wide registration switch, GitLab Snippets sync, Enter-to-add topic tags, and managed browser shares for private snippets. Linux containers now build and smoke-test on native amd64 and arm64 runners. The database migrates to schema 9 on startup.

Nibble v0.3.0

Choose a tag to compare

@github-actions github-actions released this 03 Dec 07:10

新功能

  • GitHub Gist 插件 0.1.0。在「设置 → 插件」安装、配置和启用。支持按间隔拉取、推送或双向同步,检测到两边都修改时报告冲突。定时推送只更新已关联的公开或链接可见片段。
  • 新建片段。桌面端将代码和片段信息并排显示,手机端改为单列。支持自定义路径、过期预设、拖放文本上传、每个文件的缩进与换行,以及可见性菜单。新片段默认私密。
  • 个人资料与邀请。可自行修改用户名,旧片段地址和 Git remote 继续有效。管理员可以查看、复制和删除邀请链接。
  • 设置与维护。「关于」显示版本、Logo 和源码仓库。管理员可用「修复片段索引」处理 Git 推送后片段列表或预览未更新的情况。

升级

数据库会自动升级到 Schema 8。已有 GitHub 连接和定时拉取偏好保留,定时推送默认关闭。备份请同时保留数据库、Git 仓库和实例密钥。

English

  • Install and enable the independently versioned GitHub Gist plugin (0.1.0) in Settings. Sync can pull, push linked snippets, or run in both directions on a schedule.
  • The new snippet form adds custom URLs, expiration presets, text-file uploads, per-file indentation and wrapping, and a visibility menu.
  • Rename your account while keeping existing snippet links and Git remotes. Administrators can copy and delete invitations.
  • The About page shows the running version and source repository. The database migrates to Schema 8 and preserves existing GitHub sync preferences.

Nibble v0.2.1

Choose a tag to compare

@czyt czyt released this 03 Dec 04:49

更新内容

  • 支持通过 OpenGist 兼容接口修改当前账户的用户名和邮箱。改名后,已有片段链接及带凭据的 Git remote 可继续使用。
  • 补齐 OpenGist 原始路径上的用户查询、用户片段列表和指定提交快照。
  • 列表采用 OpenGist 的 since 边界和收藏可见性规则,并在数据库分页。

Changes

  • Update the current account's username and email through the OpenGist-compatible API. Renames preserve existing gist URLs and authenticated Git remotes.
  • Add the original OpenGist routes for user lookup, user gist lists, and commit snapshots.
  • Align since filtering and starred-list visibility with OpenGist, and paginate lists in the database.

Nibble v0.2.0

Choose a tag to compare

@github-actions github-actions released this 03 Dec 03:48

v0.2.0

  • Git 兼容加入命名初始化、推送选项、/init 跳转和 Dumb HTTP 克隆。Web 编辑和 Git 推送使用 Git ref CAS,重启后根据持久写入意图和 Git 回执恢复发布状态。
  • Web 新增发现目录、修订 diff、评论直达、Mermaid 和只读 Jupyter 预览。Git 推送中的二进制文件可以按原字节下载。
  • 登录支持 Passkey、LDAP 和邀请注册。REST 兼容层提供 OpenAPI、历史 JSON 链接、提交统计和 Gist 写入,已用原版 gh gist 验证查看、列表、Raw 和编辑。

升级

从 v0.1.0 升级时保留现有数据库、Git 仓库和 instance.key,启动后自动迁移。已用 v0.1.0 的正式 Linux 二进制生成 SQLite 数据并验证升级。容器镜像支持 linux/amd64 和 linux/arm64,默认 HTTP 端口为 6157。

Nibble 与 OpenGist 仍有差异,包括旧数据库导入、全文索引和 Helm 部署。兼容清单

In English

Use native Git to initialize named snippets, publish push options, and clone over Smart or Dumb HTTP. The web app adds discovery, revision diffs, comment links and file previews. Sign in with passkeys or LDAP. The REST compatibility layer extends Gist reads and writes. Keep the instance key, database and Git repositories when upgrading.

Nibble v0.1.0

Choose a tag to compare

@czyt czyt released this 02 Dec 22:47