Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dpbm/exif-backend
backed of exif website
https://github.com/dpbm/exif-backend
backend cleaner curl exif-metadata exif-remover exiftool expressjs image-metadata images mutter nodejs remove-metadata vercel website
Last synced: about 9 hours ago
JSON representation
backed of exif website
- Host: GitHub
- URL: https://github.com/dpbm/exif-backend
- Owner: Dpbm
- Created: 2021-10-30T14:37:47.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-25T20:50:51.000Z (10 months ago)
- Last Synced: 2024-04-16T04:59:42.460Z (7 months ago)
- Topics: backend, cleaner, curl, exif-metadata, exif-remover, exiftool, expressjs, image-metadata, images, mutter, nodejs, remove-metadata, vercel, website
- Language: TypeScript
- Homepage:
- Size: 3.92 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Exif-Backend
This is the backend part of the exif-remover website.
This is a express/nodejs based backend that gets a file as input and return a medatada cleaned file, using [exiftool](https://exiftool.org/) for it.
## requirements
to run this project you'll need:* [nodejs](https://nodejs.org/en)
* [npm](https://www.npmjs.com/) [or similar, like yarn and pnpm]
* [wget](https://www.gnu.org/software/wget/)
* [bash](https://www.gnu.org/software/bash/)
* [tar](https://www.gnu.org/software/tar/)
* [a linux distro](https://en.wikipedia.org/wiki/Linux_distribution)## run as dev
to run as dev, first get the exiftool binary by running:
```bash
chmod +x ./setup.sh
./setup.sh
```then run:
```bash
npm install && npm run dev
```## build the project
to build the project, first get the exiftool binary by running:
```bash
chmod +x ./setup.sh
./setup.sh
```then run:
```bash
npm install && npm run build
```and finally start using:
```bash
npm run start
```## getting cleaned files
With all seted up and running send a file to `localhost:3333/files`
```bash
#example with curl
curl -i -X POST -H "Content-Type: multipart/form-data" -F "data=@file/path.jpeg" localhost:3333/files```
then it may return a json array containing the cleaned files in base64 format.