sync-different / sync-different/alt-core

Add support for .webp files

Open
#1 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature good first issue
Dominant language
JavaScript
Stars
16
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Currently alt-core support several image formats. Image format supported currently: JPEG, PNG, GIF.

This task is to track adding support for WEBP files.

When a WEBP file is found, system needs to do the following:

(Backend)
1- Add the file to the search index.
2-Notify the server the file exists
3-Extract the thumbnail of the file and store it in thumbnail directory.

(Frontend)
1-Display the file in search results
2-When file is clicked, fetch the file and show it in full view.

The frontend side should "just work". The work is on the backend side.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the backend handles the currently supported JPEG, PNG, and GIF formats. Verify the WEBP path adds the file to the search index, notifies the server, and stores a thumbnail in the thumbnail directory; the existing frontend behavior should continue to display and open the file.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.