https://github.com/stowyh/ente-photos-tool
A simple tool that merges metadata to the photos/videos
https://github.com/stowyh/ente-photos-tool
ente ente-io metadata photos typescript
Last synced: 3 months ago
JSON representation
A simple tool that merges metadata to the photos/videos
- Host: GitHub
- URL: https://github.com/stowyh/ente-photos-tool
- Owner: stowyh
- License: mit
- Created: 2025-01-29T00:05:49.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-02-28T01:53:48.000Z (4 months ago)
- Last Synced: 2025-02-28T09:55:13.761Z (4 months ago)
- Topics: ente, ente-io, metadata, photos, typescript
- Language: TypeScript
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ente-photos-tool
A simple tool that merges metadata from `.json` files into photos and videos.
More info: [Ente Metadata FAQ](https://help.ente.io/photos/faq/metadata)
## Table of Contents
- [Installation](#installation)
- [Usage](#usage)
- [To-Do](#to-do)
- [License](#license)## Installation
1. **Clone the repository**:
```bash
git clone https://github.com/stowyh/ente-photos-tool.git
```2. **Navigate to the cloned repository and install the required packages**:
```bash
npm install [email protected] fs-extra exiftool-vendored
npm install --save-dev @types/fs-extra typescript tsx
```
**Note**: Due to compatibility issues, this script uses an outdated version of the `file-type` package.## Usage
1. **Modify the source directory** (if needed):
- The source directory can now be specified as a command-line argument.2. **Run the script**:
```bash
npx tsx src/index.ts --source /path/to/source --output /path/to/output --error /path/to/error --tmp /path/to/tmp
```
- Replace `/path/to/source`, `/path/to/output`, `/path/to/error`, and `/path/to/tmp` with the actual paths you want to use.## To-Do
- [x] Allow passing directories as a parameter.
- [ ] Improve performance for large directories.## License
[MIT](LICENSE.md)