Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2 api #20

Draft
wants to merge 322 commits into
base: main
Choose a base branch
from
Draft

v2 api #20

wants to merge 322 commits into from

Conversation

dromzeh
Copy link
Member

@dromzeh dromzeh commented Jun 23, 2023

the v2 API no longer relies on indexing the CDN.

instead, we retrieve data directly from a database that stores comprehensive information about each asset.

  • asset's name, unique identifier, file path, tags, who it was uploaded by, uploaded date, file size, etc etc.

this approach allows for more efficient, precise & detailed search capabilities.

alongside this, the api also includes the following:

  • accounts [following, followers, etc]
  • favorite assets
  • saving assets to collections [w/ sharing]
  • users can upload their own assets
  • rewrite to hono

Ready to merge after wanderer-moe/site#230

@dromzeh dromzeh added the priority: high Issue needs to be fixed ASAP label Sep 20, 2023
@MrHBS
Copy link

MrHBS commented Jul 18, 2024

What made you switch over from D1 to Turso?

@dromzeh
Copy link
Member Author

dromzeh commented Jul 18, 2024

What made you switch over from D1 to Turso?

libsql has full compat with sqlite to begin with, significantly cheaper, actual support as you can't really get any out of CF unless you're paying them thousands a month + D1 also wasn't GA at the time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change db enhancement New feature or request priority: high Issue needs to be fixed ASAP
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

2 participants