Skip to content
← Back to Community
Brainy - A survey API that collects data from forms
Profile icon
ruiwenge2

I've spent about a month working on Brainy, a survey API that can collect data from your forms.

Features

  • Dashboard with table
  • Redirecting after submitting a form
  • Download/view/fetch JSON data
  • Download CSV data
  • Create/rename/delete surveys
  • Create/rename/delete input fields
  • Change privacy
  • End surveys

To test it out, create a new HTML repl, create a new account and survey in Brainy, and follow the instructions in the docs or in the code page for the survey.

Here's a demo of the dashboard:
dashboard image

And here's a demo form for @DynamicSquid that uses Brainy lol: https://survey.ruiwenge2.repl.co

Click here for the GitHub repo

Credits

I hope you found this useful!

Voters
Profile icon
LoganHudson
Profile icon
PythonCplusplus
Profile icon
CodingElf66
Profile icon
buggingTheCode
Profile icon
rickysong
Profile icon
Maxb0tbeep
Profile icon
ruiwenge2
Profile icon
ShaikAshraf
Profile icon
jatinyadav1067
Profile icon
sojs
Comments
hotnewtop
Profile icon
Bunnytoes

very cool but I don't know html ☹

Profile icon
ruiwenge2

@Bunnytoes thanks :D

Profile icon
ruiwenge2

follow the code page, it shows you the code

Profile icon
Bunnytoes

@ruiwenge2 I know, I will try how do I add code?

Profile icon
ruiwenge2

@Bunnytoes create a new html repl, and inside the body tag, insert the code

Profile icon
ruiwenge2

@Bunnytoes lol I saw you submit the survey about squids

Profile icon
Bunnytoes

@ruiwenge2 ohhhh ok

Profile icon
Bunnytoes

@ruiwenge2 yep :) can you help me with the survey please (you made it so I think you can do it :)) NOOOOOO calamari is squid :(

Profile icon
ruiwenge2
Profile icon
enews

open the index.html page of your webpage or your html editor, and paste the code that @ruiwenge2 had added in the 'code' page of the docs page.

Profile icon
Bunnytoes

@enews he said that, but thanks :)

Profile icon
PixiGem

finally. your hard work's worth it! THIS IS REALLY A POGGY API

Profile icon
ruiwenge2

@PixiGem yay thanks!!!

Profile icon
PixiGem

@ruiwenge2 but pls help me make a posting app in team repl :(

Profile icon
PixiGem

@ruiwenge2 i wud be in danger if my mom catches me on replit, so pls fast :(

Profile icon
SilvermoonCat

pog! css could be improved tho lol

Profile icon
ruiwenge2

@SilvermoonCat thanks! Yes many people think the css can be improved

Profile icon
lostintheabyss

@ruiwenge2 hey, I'm pretty decent at CSS and have worked on many stuff like https://www.rainry.me & I can help out if you wish.

Profile icon
SilvermoonCat

@ruiwenge2 yea, if you need help I can help a bit xD
the design is ok, just the colors and a few details look…. not pleasing

Profile icon
sojs

cool!

Profile icon
ruiwenge2

thanks! @sojs

Profile icon
Whippingdot

I
no
under
stand

Profile icon
PixiGem

@Whippingdot it
is
an
API
you
know
what
is
an
API?
go to the docs page &
follow the tutorial &
use
the
API
in
the
code
and
the
submission
results
will
appear
in ur survey (I forgot to tell u to create a new survey xD)
it is basically like google forms results page if u ever used that

Profile icon
Whippingdot

So basically how do you create a survey...lol

Wait so you create a server from the API too? And then whenever someone fills the results you get an updated counter of how many people chose this and how many people chose that? @PixiGem

Profile icon
ruiwenge2
Profile icon
ruiwenge2
Profile icon
PixiGem

@Whippingdot Click on new survey after u create ur account

Profile icon
kannibalistic

@PixiGem lol that looks like a poem

Profile icon
PixiGem

@kannibalistic that was meant to be a poem. Sorry for my bad poetic skills LOL

Profile icon
kannibalistic

@PixiGem no i think its a GREAT poem(at least in programming)

Profile icon
PixiGem

@kannibalistic lol u kiddin me right? xD

Profile icon
Drik0the0gen

Just too good, Will be very helpful to me!

Profile icon
ruiwenge2

@Drik0the0gen no problem!

Profile icon
TheDNAHero

This is super duper awesome

Profile icon
ruiwenge2
Profile icon
yeetboy123

Bro this is so cool, I wish I knew html. I only know python though. I hope you keep up the good work!

Profile icon
ruiwenge2
Profile icon
RayhanADev

I like it :D

Profile icon
ruiwenge2

@RayhanADev thanks!

Profile icon
PixiGem

hey! im good at frontend, so if u wish, may you pls invite me to this repl, I'll try to change the css and make it better :)

Profile icon
ruiwenge2

@RonaldLeung1, do I have to give you credit every time I use your repl badge project? If so, thanks :)

Profile icon
RonaldLeung1

@ruiwenge2 nope, no need :D

Profile icon
ruiwenge2
Profile icon
palodog

that’s cool

Profile icon
SixBeeps
Profile icon
ruiwenge2

@SixBeeps ok thx for telling me

Profile icon
SixBeeps

@ruiwenge2 You really should implement a fix rather than just adding whitespace to the script. I'll admit my hack was rather jank and not really meant to do too much harm, but anyone could still just as easily do better.

TL;DR, don't have your freaking API keys as visible as they are.

Profile icon
QuantumCodes

In replit newsletter, they wrote SixBeeps made it?? Is that a
Mistake?

Profile icon
ch1ck3n

@QuantumCodes umm i dont see this project in the newsletter

Profile icon
QuantumCodes

But what can you do with all those posts? Sure you can read them, enjoy them, learn from them, but is that really enough? [@SixBeeps] didn’t think so, and decided to use thousands of repl talk posts to create an AI. If you’d like to learn how they accomplished this feat, check out this YouTube video. ||||||||
They say sixbeeps made an AI but here i see ruiwenge2 @ch1ck3n

Profile icon
QuantumCodes

@QuantumCodes OHH wait.. this isnt AI

Profile icon
SixBeeps

@QuantumCodes Congrajulashins

Profile icon
QuantumCodes

*@SixBeeps i should say u.. why u saying me??

Profile icon
SNStudio

Woah that's Very nice

Profile icon
ruiwenge2

@SNStudio thanks

Profile icon
haotinghuang

Bad

Profile icon
jihhyuu202
Profile icon
IshanKarpe

He is just on fire knowing every coding language!

Profile icon
IshanKarpe

Ye

Profile icon
G0RG3

Cool!

Profile icon
enews

Hey! Thanks for this cool tool, i really love it!
The only problem is that when i add in

Select a file to upload:



And upload an image, it only shows the name of the image file. Any help?

Profile icon
Jessica0519

ruiwenge2, can I ask something? When will your birthday come? In fact, I asked this because I like you, you are very smart and want to make a birthday card using Pygame for you. I am really just 11 but please!!! Let's be friends!

Profile icon
ruiwenge2

@Jessica0519 lol my birthday just passed

Profile icon
ruiwenge2
Profile icon
Jessica0519

@ruiwenge2 Oh no! Sorry that I did not see your post about your birthday. Did you know that I will see your post everyday, even on school days??? I like you...but are you a girl or a boy? You know that I am a girl don't you. Oh, why I told you my gender. Okay, let's forget about it. ruiwenge2, are you a girl or a boy???

Profile icon
DefaultModels

@Jessica0519 I doubt online dating is allowed. Also isn’t 11 to young to even be here?

Profile icon
Jessica0519

@DefaultModels Hah, am I? A kid that is younger than my age, I know, she program here too! And her project will always go on trending. I will tell you a great knowledge about script programming. Kids over 7 years old have already formed essential thinking, which is right for script programming!

Profile icon
Jessica0519

@ruiwenge2 Please reply me!!! Are you a boy or a girl? I am a girl which is 11 :)

Profile icon
DefaultModels

@Jessica0519 I didn’t say you were underage to code, I started young as well. What I’m saying is you’re underage for repl.it talk. For your friend, she hasn’t had consequences as no one knows her real age

Profile icon
Jessica0519

@DefaultModels When did you started script programming? I started about 3~4 months ago.

Profile icon
DefaultModels

A few years ago @Jessica0519

Profile icon
Jessica0519

@DefaultModels Oh yeah. Me, 3~4 months ago.

Profile icon
RayhanADev

@Jessica0519 @DefaultModels @ruiwenge2 this thread is weird... chill out xD

@DefaultModels see what happens when non-moderators try and intervene, just leave things at a report :)

@Jessica0519 don't ask for people's age, gender, other personal info on the internet its weird and makes you look like a predator.

Also shoot an email to [email protected] (@TheDrone7) with parental approval for using Replit or else you'll get banned the community.

@ruiwenge2 thanks for doing nothing, I appreciate it :)

Profile icon
KadenBlox

Does this use the same database as your other projects? My account is the same as the ping pong

Profile icon
ruiwenge2
Profile icon
nameless12321

ERROR for site owner: Invalid domain for site key

Profile icon
ruiwenge2

@nameless12321 open it in a new tab

Profile icon
DillonB07

Squids are delicious 🦑🐙😋

Profile icon
RayhanADev

@DillonB07 how dare you..

poor DynamicSquid :P

Profile icon
DillonB07
Profile icon
PixiGem

@DynamicSquid here ya goo

Profile icon
TheDNAHero

@DillonB07 Dynamic squid has entered the chat...

Profile icon
DillonB07
Profile icon
xfinnbar

Please hash the passwords to prevent accounts from being hacked if the database gets breached.

Profile icon
dogsaregud

how do you use this?

Profile icon
ruiwenge2
Profile icon
calmoven

nice

Profile icon
VulcanWM

Woah nice! This is definitely going to go on trending!

Profile icon
ruiwenge2

@VulcanWM yay thanks!!!

Profile icon
VulcanWM
Profile icon
DynamicSquid

Very nice :D

Profile icon
ruiwenge2
Profile icon
Bunnytoes

@DynamicSquid I didn't know calamari was squid :(

Profile icon
illuminatieye

Impressive