Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/libreservice/my_file_type

Find type of your file in a fast and secure way.
https://github.com/libreservice/my_file_type

file libmagic naive-ui pwa saas vue wasm

Last synced: about 1 month ago
JSON representation

Find type of your file in a fast and secure way.

Awesome Lists containing this project

README

        

# My File Type
![](https://img.shields.io/github/license/LibreService/my_file_type)

Find type of your file in a fast and secure way.

https://my-file-type.vercel.app/

## Development workflow
My File Type can be built on Linux and macOS.

For Windows, you may use WSL.
### 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 autoconf, automake and libtool
```sh
# Ubuntu
apt install autoconf automake libtool
# macOS
brew install autoconf automake libtool
```
### Install emsdk
https://emscripten.org/docs/getting_started/downloads.html
### Get submodule
```sh
git submodule init
git submodule update
```
### Build wasm
```sh
pnpm run native
pnpm run lib
pnpm run wasm
```
### Run develop server
```sh
pnpm run dev
```
### 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
```sh
export LIBRESERVICE_CDN=https://cdn.jsdelivr.net/npm/@libreservice/my-file-type@VERSION/dist/ # optional
vercel build --prod
vercel deploy --prebuilt --prod
```

## License
AGPLv3+