Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/libreservice/my_file_type
- Owner: LibreService
- License: agpl-3.0
- Created: 2022-08-10T22:47:50.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-03-22T00:47:31.000Z (almost 2 years ago)
- Last Synced: 2024-10-30T04:50:20.500Z (about 2 months ago)
- Topics: file, libmagic, naive-ui, pwa, saas, vue, wasm
- Language: Vue
- Homepage: https://my-file-type.vercel.app/
- Size: 95.7 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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+