kodadot / kodadot/workers

Storage Worker

Open
#33 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
11
Forks
14
PR merge metrics
No merged PRs in 30d

Description

While talking with @yangwao about our current architecture.
We found out that our pinning service slightly suck.

The proposed idea:
- export same interface as `nft-storage` has
- when user requests to pin a content
- pin it via `nft-storage` worker
- call to store the data `direct-upload`
- `direct-upload` needs to be extended with ability to store non-image content on r2 ^-^

Smol preview of architecture
Screenshot 2023-02-14 at 19 58 13

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the repository's existing worker structure and the direct-upload entry point, then compare the requested interface with nft-storage. Trace how pin requests and R2 storage currently work. Done means a storage worker exposes the compatible interface, routes pinning through nft-storage, and supports non-image direct uploads to R2.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.