Herdr UI
Herdr의 TUI가 뛰어나며, 창을 통해 추가되는 기능
BDF는 Go/WASM 변환기를 갖춘 23KB 압축 브라우저 문서 미리보기 스위트이며 간결한 중간 포맷을 제공합니다
BDF is a browser document-preview suite with Go/WASM converters, a browser renderer of about 23 KB gzipped, and a compact intermediate format.
개발 도구Go · JavaScriptGitHub @shibukawa온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기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.