Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/libreservice/my_font_converter
Convert ttf/woff2 fonts.
https://github.com/libreservice/my_font_converter
naive-ui pwa saas ttf vue wasm woff2
Last synced: about 1 month ago
JSON representation
Convert ttf/woff2 fonts.
- Host: GitHub
- URL: https://github.com/libreservice/my_font_converter
- Owner: LibreService
- License: agpl-3.0
- Created: 2023-05-13T17:02:58.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-06-11T04:28:43.000Z (over 1 year ago)
- Last Synced: 2024-11-05T19:44:43.910Z (about 2 months ago)
- Topics: naive-ui, pwa, saas, ttf, vue, wasm, woff2
- Language: TypeScript
- Homepage: https://my-font-converter.vercel.app/
- Size: 40 KB
- Stars: 18
- Watchers: 0
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# My Font Converter
![](https://img.shields.io/github/license/LibreService/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, thanks to Web Assembly.
It's also a [PWA](https://web.dev/progressive-web-apps/), so you can install it like a native App and use it **OFFLINE**.
## Self host
Download latest [artifact](https://github.com/LibreService/my_font_converter/releases/download/latest/my-font-converter-dist.zip) built by GitHub Actions.## Development workflow
My Font Converter can be built on Linux and macOS.For Windows, you may use WSL.
### Clone repo
```sh
git clone --recursive https://github.com/LibreService/my_font_converter
```
### Install node
You may use [nvm](https://github.com/nvm-sh/nvm) to install node.
### Install pnpm and dev dependencies
```sh
npm i -g pnpm
pnpm i
```
### Install emsdk
https://emscripten.org/docs/getting_started/downloads.html
### Build wasm
```sh
pnpm run lib
pnpm run wasm
```
### Run develop server
```sh
pnpm run dev
```
The app is accessible at http://localhost:5173
### Lint
```sh
pnpm run lint:fix
```
### Check type
```sh
pnpm run check
```
### Build
```sh
pnpm run build
```
### Test
```sh
pnpm run test
```
### Preview
```sh
pnpm run preview
```
### Deploy (maintainer only)
```sh
# 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 --prod
```
## License
AGPLv3+