@libreservice/my-font-converter
v0.2.0
Published

Readme
My Font Converter
Convert ttf/woff2 fonts.
https://my-font-converter.vercel.app/
This is a STATIC website so you DON'T need to own a server to host it.
All computation is performed in browser, thank to Web Assembly.
It's also a PWA, so you can install it like a native App and use it OFFLINE.
Self host
Download latest artifact built by GitHub Actions.
Development workflow
My Font Converter can be built on Linux and macOS.
For Windows, you may use WSL.
Clone repo
git clone --recursive https://github.com/LibreService/my_font_converterInstall node
You may use nvm to install node.
Install pnpm and dev dependencies
npm i -g pnpm
pnpm iInstall emsdk
https://emscripten.org/docs/getting_started/downloads.html
Build wasm
pnpm run lib
pnpm run wasmRun develop server
pnpm run devThe app is accessible at http://localhost:5173
Lint
pnpm run lint:fixCheck type
pnpm run checkBuild
pnpm run buildTest
pnpm run testPreview
pnpm run previewDeploy (maintainer only)
# set VERSION to avoid CDN and browser caching old version
export LIBRESERVICE_CDN=https://cdn.jsdelivr.net/npm/@libreservice/my-font-converter@VERSION/dist/
vercel build --prod
npm publish
vercel deploy --prebuilt --prodLicense
AGPLv3+
