Submit your sharing themed repl created by your group

← Back to all posts
Share the memes you love
h
generationXcode (27)

This hackathon, we made a web app to share laughter.visit it at https://mememe.generationxcode.repl.co/?

MEME.ME is a web app designed for everyone to share their love of memes and receive memes they will enjoy.

Users can sign up to access the web app through their emails. Their data will be saved using cookies.All we need is their emails (in case someone spams the website)/we dont ask for passwords because, frankly, they aren't needed.

Users can share links to their favorite meme images(file extension of .png, .jpeg or any other image extension) in the "Share a joke" section, and tag it as either a CLASSIC meme, a COMIC/SCREENSHOT meme, or a DANK meme. Their post will be added to website and shared for everyone to see.

The cool part:

Based on how a user tags their favorite memes when they share them, a machine learning program (linear regression) will determine their favorite category of memes. The x intercept of this algorithm is the tag (we transform it into a number) and the y value is whether the person will like the meme(1 or 0). The memes that the algorithm determines as relevant to the user are shown as a table for him/her.(we aren't sure whether it works perfectly)

this is what the sign up page looks like

this is what the index page looks like(mind you, they are both on the same page...)

this is what your feed will look like:

credits:team members( @TylerBernardo for HTML and @meekell for the amazing CSS) and non team members( @dudeisbrendan01 for advice and feedback on the website)

Enjoy!

Commentshotnewtop
Kognise (347)

you really need to moderate the images on there. jesus christ my eyes are ruined

Kognise (347)

@TaylorLiang 10 different kinds of pornography, that's all I'll say

TaylorLiang (99)

@Kognise ok, I though it was dank memes, but um
ok
did you save the images

generationXcode (27)

It's all gone. I feel safe looking at my site again...

ThePhoenixfish (30)

@generationXcode I mean i have no idea how to do that...

generationXcode (27)

@ThePhoenixfish ohh.Well I'll take that as a compliment

TaylorLiang (99)

Hello ####posts folder, here i come!
EDIT: Add option to upload images. Then my 2.7 gigs of images will be on the site

ThePhoenixfish (30)

I can totally do that
looks at code
AaAaAaH
O.o

JackLesher (17)

It's a good idea, but you forgot about the people who post inappropriate content. User-made content is something that needs to be managed constantly. You should make your account a ban feature so that you can ban memes and people if they break the rules. This is a great idea, but you just need to put some rules and consequences into place. Keep on developing this site and maybe approve memes before they can become posted.

generationXcode (27)

@JackLesher Thanks for the feedback. I am quite busy now, so I will do it later but I know exactly what to do and I'll add some small fixes to my code that will block everyone else from seeing what the innapropriate content posters are posting.Lots of tests coming up in school and GCI has begun...

generationXcode (27)

@JackLesher It's like if you tell someone not to do something, they do it as a joke. It's not funny though...

AdCharity (157)

@generationXcode nah it happened to everyone... I'm like 90% sure ours got judged with a bunch of NSFW content on it

generationXcode (27)

@AdCharity ik I saw. 🤢🤢🤢 some ppl r the worst

pieromqwerty (15)

oh my god....MY EYES

generationXcode (27)

@pieromqwerty IK try it again. I deleted ALL the images

amasad (1718)

getting a blank page
it loaded it just took some time.

@generationXcode it needs some moderation

PDanielY (280)

@amasad you might want to take this down until he fix the images.

generationXcode (27)

@amasad I deleted the whole table. Thank you for your feedback. We will try to optimize load times

generationXcode (27)

Guys, I know we haven;t set any rules but pls stop uploading adult(and inappropriate) images. Thank you!

sanjaykdragon (171)

@generationXcode I feel like that doesn't need to be said. People shouldn't be uploading weird stuff on here in general (even if a rule saying that doesn't exist).

TylerBernardo (16)

@generationXcode , is there a way for us to clear the database? and make sure nothing goes up until it is reviewed?

sanjaykdragon (171)

what was the point of adding ML? its not even proper usage of ML...

generationXcode (27)

@sanjaykdragon Thank you for your feedback. Keep in mind that many devlopers this ML aren't proffesionals, so we tried our best. Its not something schools teach you. Maybe after the hackathon is over, you can help us develop it further (:
i know its just linear regression though.

sanjaykdragon (171)

@generationXcode I'm not an expert in ML, and to be honest, this is very high level ML stuff you are trying to do. Start with something more basic. Also slapping linear regression onto everything doesn't work (learned this from experience).

generationXcode (27)

@sanjaykdragon I am learning data science presently(online). So once I'm done I'll add something more complex. ik linear regression doesn't work everywhere(I have some knowledge of ML) and maybe we'll use neural nets later to classify the pics. But for u to know ( maybe u could help later ) we are using the tags as x values and 1 or 0 as the y values. So I guess I got a bit lazy and made it like a logistic-linear regression. I'll correct that with better AI. Thanks again for the feedback (:

generationXcode (27)

@sanjaykdragon I kinda like python for this kind of stuff more though. So in hindsight, maybe we could have used django?? idk

sanjaykdragon (171)

@generationXcode i have no idea what django is

generationXcode (27)

@sanjaykdragon Its a python framework for creating websites. You can easily create secure db . its a very nice library, if u like python u should try it out

AdCharity (157)

@sanjaykdragon wdym what about mongodb... anyway @generationXcode did you use brain.js? I highly recommend it. Seems like you used tensorflow.js... can you teach me how to use it? :D

generationXcode (27)

@AdCharity sure! pls teach me node.js !

AdCharity (157)

@generationXcode sure I'll leave my discord here so we can contact more freely.
Discord: AdCharity#5737
If it doesnt work then message me :D

generationXcode (27)

@AdCharity I sent u a friend request I am awesomecoder

AdCharity (157)

@generationXcode yeah I would respond.... unfortunately I can receive things (you just sent who you are), but not send things while I am at school (they did something tricky with the filters...)
Edit: I'll use my hotspot

generationXcode (27)

@AdCharity no problems. We aren't allowed phones in school so I guess I can relate

meekell (2)

This was really fun to work on, hope everyone likes it!

generationXcode (27)

after this hackathon is over, you can help us add all these extra features!

generationXcode (27)

Thanks guys! I will surely add the upload button in the coming days
Its nice to know that someone likes our creation

generationXcode (27)

Guys we did it! no spamming for like 12 hours? thats a high score!

AdCharity (157)

kk my team is going to port ours to node.js to make it more secure (u should too - your firebase token is kind of exposed). Also, I recommend using nsfw.js as a neural network to classify nsfw posts... although idk how that would work w/ real links

TylerBernardo (16)

@generationXcode , what is your discord, I need to message you in private

AdCharity (157)

Is it just me, or did you just console.log ever single email in your db? that's probably not a good idea.

Zavexeon (631)

The only complaint I have is the loading time.

Thecrowbar1234 (1)

Jesus Christ you should have a ban system so that my eyes don't burn.
Jesus Christ, all I wanted to share was shiva guatama christ-chan with the world.

Thecrowbar1234 (1)

my pure innocent eyes have been scarred for life.

generationXcode (27)

Now someones started botting us

generationXcode (27)

I Found a way to moderate these images.I will apply this fix as soon as possible

generationXcode (27)

PLEASE STOP UPLOADING EXPLICIT CONTENT. I am under 19😡😡😡😡😡

generationXcode (27)

I just deleted the whole table

generationXcode (27)

Guys I know what ur talking about and I'm trying my best to moderate the content