https://github.com/cutls/wasm-pdf-pwd-unlock
https://github.com/cutls/wasm-pdf-pwd-unlock
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cutls/wasm-pdf-pwd-unlock
- Owner: cutls
- License: mit
- Created: 2020-11-18T04:51:50.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-07T18:39:55.000Z (about 3 years ago)
- Last Synced: 2025-01-03T23:30:26.049Z (over 1 year ago)
- Language: JavaScript
- Homepage: wasm-pdf-pwd-unlock.vercel.app
- Size: 8.96 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# パスワードロックを解除したPDFを生成するやつ
Goのpdf-cpuをWebAssembly(wasm)経由でブラウザから叩けます。pdfcpuはv0.1.24、Goは1.12を使わないと動かなかった。
フォーク元ではpdfcpuが0.1.23になっているのですが、0.1.24で新しい暗号化形式に対応したのでアップデートしました。
This is a fork: https://github.com/wcchoi/go-wasm-pdfcpu
## Running a command line tool written in Go on browser with WebAssembly
This repo contains code/assets from the [original article](https://github.com/wcchoi/go-wasm-pdfcpu/blob/master/article.md)
Files:
```
.
├── article.md --- Article explaining the code
├── index.html --- Demo UI page
├── worker.js --- JS code for Demo UI Page
├── oldindex.html --- Code from the article
├── pdfcpu --- Linux x86_64 native binary
├── pdfcpu.wasm --- Compiled wasm module of pdfcpu
├── pdfcpu.wasm.br --- Brotli compression output
├── pdfcpu.wasm.gz --- Gzip compression output
├── README.md --- This file
├── static_server.js --- A simple HTTP static file server in Node.js, with wasm MIME type support for development
├── wasm_exec.js.orig --- Original wasm_exec.js from Go v1.12.4 installation (misc/wasm), for diff'ing changes
└── wasm_exec.js --- Modified to add Filesystem emulation support in browser with BrowserFS
```