←back to thread

199 points IdreesInc | 1 comments | | HN request time: 0.25s | source

I made a simple open-source letter editor inspired by Animal Crossing NH. Took me forever to look over each card, but I'm quite pleased with how it turned out. You can even click the bottle in the bottom right to see a random letter design shared by other users! Now to see how long it stays up...

Check out the source code here: https://github.com/IdreesInc/Animal-Crossing-Letter-Generato...

Show context
0rangemang0 ◴[] No.45073769[source]
This was really fun, and instantly brought me back to my island. The share message function is also super cute, but looking at the code, all the bottle messages seem to be preprogrammed in bottles.json?

I guess moderation would be a nightmare. Are the bottle messages actually stored or sent anywhere?

replies(2): >>45073932 #>>45079672 #
1. IdreesInc ◴[] No.45079672[source]
I'm so glad you enjoyed it! And yes the messages are sent to me, no worries. Submitted messages are sent to an AWS API Gateway endpoint for rate limiting and then to me. I then manually commit the ones that are not rude and don't include identifying info/don't seem to have been submitted by mistake! I have a couple of reasons for manually committing them rather than using a simple DynamoDB database or something. First, since I have to moderate through the messages manually anyways, it's about the same amount of effort tbh. Second, I wanted the messages to be available forever and having them committed allows for people to save them in the future should they wish to!