4 ms·
Show HN: An open-source r/place canvas for realtime painting
- Meldiron 4y agoTL;DR https://almost-reddit-place.vercel.app/ https://almost-reddit-place.vercel.app/ I cloned the Reddit minigame that was available this year's April Fools' Day on the r/place subreddit. Anyone all around the globe can join the journey of painting a canvas with millions of pixels. The main difference, I made it open sourced! Host your own canvas and share it privately only with your community or just share it with everyone! I built all of this in around 4 hours and the best part, I spent more time on the front end than on the backend. The biggest challenge I expected was how to synchronize 4 million pixels between hundreds of users. Appwrite Realtime server managed everything for me and results show up to 1 million users could use the app at the same time! Feel free to play around! And no phalluses please Tech Stack - Alpine.js - Tailwind - Appwrite ( Realtime Database + Authentication + Cloud Functions ) If you'd like to check out the code, its here https://github.com/Meldiron/almost-reddit-place https://github.com/Meldiron/almost-reddit-place
- christyjacob4 4y agoLooks really cool! 4 hours! Wow great job
- ArmanNik 4y agoI like it!
- Haimantika 4y agoThis is cool!
- TicklishTiger 4y agoLooking at the repo, I see this: Before using this application, make sure you have Appwrite server up and running Then I looked ad Appwrites website for a while. Since Appwrite probably did not write all the components (Like a database) themselfes, wouldn't the first thing one wants to know what components make Appwrite? I can not see that info anywhere on the website.
- Meldiron 4y agoThe project uses Appwrite as a backend. Appwrite solved problems like database or real-time. After you have the Appwrite backend ready, you can use CLI commands from README to prepare a project for this specific repo (project). Regarding the question about components, not sure if I understand. I found out all about Appwrite and its services from documentation on appwrite.io
- TicklishTiger 4y agoComponents: For example, which database is Appwrite using?
- Meldiron 4y agoUnder the hood? I believe MariaDB, but thankfully, I never had to write a single SQL query. I used Appwrite SDK to do operations like db.getDocument, db.listDocuments, db.createDocument...
- TicklishTiger 4y agoIf you don't care for which components Appwrite uses, that means you bet on Appwrite being around forever? Most technologies come and go. So when Appwrite goes away, your applications will fall apart?