chattable
1 year ago
There's no limit to how big a JSON file can be. JSON databases can become difficult to manage/query efficiently on deeply nested structures, but with a good, simple structure JSON can be very efficient and perfect for database applications.
chattable
1 year ago
The entirety of the Chattable database is a 10mb JSON file, hundreds of chats, and hundreds of thousands of messages. Not to mention account & chat data. If you can keep the structure simple, it will work for any project.
iwishyouroses
1 year ago
Ok, that is actually cool. Awesome to learn something like this because it might turn out to be helpful later. Thanks for the explanation!
Thank you for the tip! I did not notice. Also, to get the custom thumbnail:
add this script to your index.html file, make a folder of your choice (I just made a /preview/ folder), add a new index.html file to THAT folder, and use that to make your custom preview. Here's mine for ref
https://iwishyouroses.yorniq.xyz/preview/index.html
const urlParams = new URLSearchParams(window.location.search); if (navigator.userAgent.includes('Screenjesus')) { window.location.replace("/preview/"); }
(btw, credits to ARandomSite for the code)
it works, thank you!!! currently working on an actual thumbnail, lol