AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證BDF is a browser document-preview suite: it combines converters for many formats (Go/WASM), a browser renderer of about 23 KB gzipped, and a compact intermediate format.
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
BDF (Browser-specific Document Format) is a document format for previews that browsers can draw straight onto Canvas 2D. Its stable wire format is version 1.0.檢視完整 README ↗English | 日本語
BDF (Browser-specific Document Format) is a document format for previews that browsers can draw straight onto Canvas 2D. Its stable wire format is version 1.0.
Previewing a PDF, a Word file, or a CAD drawing in a browser usually means running a full office suite, or a headless browser, on the server. BDF's converters need neither: they're plain Go, and the same code also builds as WebAssembly, so it can convert inside the browser too. PDF, Office files (Word, PowerPoint, Excel, CSV, Parquet, Visio), InDesign (IDML), draw.io diagrams, CAD drawings (DXF, Jw_cad, SXF, CGM, HP-GL/2), circuit boards (Gerber, Excellon, KiCad), Illustrator, Photoshop, HTML, Markdown, EPUB, music (MML, MIDI, MusicXML, playable in the viewer), audio files (MP3, M4A, FLAC, Ogg, WAV, AIFF: their cover art, tags and lyrics, playable in the viewer) and font files all convert this way, and one renderer, running in a Web Worker, draws every one of them.
Try it — drop a file on the demo site; it converts and draws inside your browser, without being uploaded. Read the docs for why BDF exists, every format it reads, three sample server architectures, and how it's built.
go run ./cmd/bdf generate report.pptx report.bdf # convert
go run ./cmd/bdf ls report.bdf # inspect
npm ci && npm run demo # open it in a browser
# http://127.0.0.1:8765/examples/viewer/.out/?src=/report.bdf
Go 1.27+ and Node.js are needed to build from source; see Getting started for the rest, including converting from Go code directly.
For an npm integration, including server-converted BDF and browser conversion presets, see npm packages.
| Path | Contents |
|---|---|
*.go, converter/, encoding/, raster/, contrib/, internal/ | The Go encoder/decoder, one converter package per input format, and the Parquet encoding of the tables of values a document holds |
form/, vector/, text/ | Filling templates of forms with data: Excel, Word and PowerPoint files with tags, PDFs with form fields, templates of pdfme, text files of the lines of continuous forms and receipts (QR codes and barcodes are image/barcode/); and writing documents as PDF files, tagged and PDF/A too, and as Markdown |
packages/ | The decoder, renderer, viewer surface and TinyGo-backed browser converter npm packages |
examples/, site/ | The demo viewer, four sample server architectures, and the site published on GitHub Pages |
docs/ | This documentation |
See Repository layout for the full breakdown, and Building and testing for go test, browser integration tests, and regenerating fixtures.
MIT.
The fonts in this repository have licenses of their own:
image/formula, as the font formulas are laid out with. It is the file of the upstream release, unmodified (stipub/stixfonts, tag v2.13b171; image/formula/fonts/README.md has its SHA-256), under the SIL Open Font License 1.1. Copyright 2001-2021 The STIX Fonts Project Authors, with Reserved Font Name "TM Math". A program that imports formula holds this font.converter/internal/music/smufl) is under the SIL Open Font License 1.1. Copyright © 2015 Steinberg Media Technologies GmbH, with Reserved Font Name "Bravura".image/barcode for the numbers below JAN/EAN/UPC bars, under the SIL Open Font License 1.1.converter/kicad) is CC0.fixture, for the sample document) are under the DejaVu Fonts License.testdata directories.Fonts and licenses lists them with the fonts the demo site serves.