api
                                
                                
                                
                                    api copied to clipboard
                            
                            
                            
                        v2 api
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
What made you switch over from D1 to Turso?
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