ShareDoc - Kind of a Google Docs Clone
ShareDoc
ShareDoc is a site I finished just today, and it is going to be updated constantly. I took 4 days to make it (and it was pretty worth it!), it allows you to create documents. You can set your view mode of your document to public or private. Public being everybody can see your document on the homepage. Private meaning you can only access it through the unique link that is given to you after you create the doc.
Notes
If you are going to run this site, I recommend to run it in a new tab because it will look ugly and weird in the small Repl.it box. It was not made for smartphones and also not supposed to be displayed vertically on a screen. It will work fine on tablets that are set to horizontal rotation, and horizontal monitors and laptop screens.
Common Issues
- This project is running on Python Flask Server, so if Repl.it gives you an error when you open the site, try refreshing... If that doesn't work, then copy the link to the Repl and check back in later (as I may have seen the issue and fixed it by then). The problem is that the server sometimes crashes or shuts down periodically after no traffic.
- When you are in edit mode, the last time you edited maybe the wrong time depending on your timezone. The timezone is GMT, and most likely you are not using that as the time where you live.
Some Small Requirements
Pick a unique name, because ShareDoc only allows you to choose a name that is not already taken.
Information and Security
Sometimes when you enter your password, Chrome may give you a password breached warning. Just ignore it, most likely nobody is breaching this site. Even there is a breach, you password is secure and hashed (encrypted) by the sha256
algorithm, and so even I, the creator, can't see what YOUR password is.
Features and Other
You can access your doc at anytime by going to your document link which you saved or if you set the doc to public, you can also find your doc on the homepage.
You can also delete your document by going into edit mode of your doc, scroll to the bottom to the
DANGER Zone
, then type your password into the input, and hitDELETE DOC
- You can search for documents on the homepage if there are too many too look through.
- You can also change your password by scrolling to the
CAUTION Zone
.
Please upvote if you liked this project
If you have a problem or suggestion, leave a comment regarding it. The best way to improve ShareDoc is to use the advice of our community!
Thank You for coming by to see it!
If you didn't like this, please leave a comment or create a public doc with feedback of how to improve. If you liked it, please upvote this!
cool
@IcingBlaze Thanks!!
Woah, that's cool! Well done!
Edit: Bro, how is everyone guessing my password correctly!!??!? I thought it was foolproof!!!
Thanks! @DynamicSquid
@DynamicSquid You might want to change the password of that doc you created.
@IntellectualGuy Yea... I was able to guess it too. Oh yea, as of now, password changing is not an included feature. But that's a good idea! Thanks!
@IntellectualGuy Wait what! How'd you guess it?
@DynamicSquid Haha, only way to change it rn, is to copy and paste your current doc to a new one with a different pass, but you need to delete the old one first or else it will give you a 'Doc Title Taken' on creating of your new doc. I will be adding a change pass soon.
@DynamicSquid It's kinda obvious.
Lul bruh i guessed ur psw too. Check out the changes I made. 😁 @DynamicSquid
@Whippingdot impossible
Lul but check out the changes I made @DynamicSquid
@DynamicSquid I got it first try.
@DynamicSquid I added the feature to change your password. Scroll to the bottom of your doc when you are in edit mode. If you want to change it, you will find it there...
https://sharedoc.jonathan2018.repl.co/open/Dont%20look%20here
a cool doc made by myself (arguably the best author)
@smoldev Hehe... :(
lol i forgot the password to my own doc
-_-
@Rainbowstuff LOL. I'll change it for you if you want, then you can change it to something else.
@Jonathan2018 ok thanks lol XD
it's called hello. Xd
@Jonathan2018 thanks lol XDD
and chrome asked me if i wanted to save it and i said no-
@Rainbowstuff ok, done! I changed it to Rainbowstuff. You can change it to something else later since everybody can see this. Oh lol.
@Jonathan2018 thanks you! XD
this is great! love it! :)
very original and works amazingly
@smoldev Thanks
@Jonathan2018 thank you for making something like this, i can see myself using this
@Jonathan2018 this app is amazing. One tip tho, can you something can shrink the size of the docs' titles, and enlarge the viewing screen. Still, I can see that you put a lot of effort into it.
good job! this is amazing!
@snekattack Thanks!
Browse Docs By Great Minds Like You ahem @Jonathan2018 HAVE YOU SEEN THE DOCS LOL
@snekattack LOLOL, yea that's true, hmmm... what should I change it to?
@Jonathan2018 maybe try browse the docs written by the community of repl.it
@snekattack Yes! Great Idea!
@Username543210 I fixed the link issue, use this link: https://ShareDoc.jonathan2018.repl.co/open/test%20sharedoc
When there is a space in the link, it goes to the wrong page.
Thank you @DynamicSquid for being the first random person on Repl to create a doc on the site!
Hey, pro tip if you want to keep your server running even if there's no traffic: head over to UptimeRobot. It's what I use.
@MarcusWeinberger oooooh! Thanks so much!
Wtf this is incredibly fantastic!
@Gokul24 Do u really have to say the F word!?
@vrishthika why not
@potatojs I live in UAE and the F word insult me.
Do be careful with your words please!
@vrishthika lol i'm not gonna say it but just not be so sensitive about it, because you're gonna here it a lot
@potatojs k, lol, just not too much cuz, imma get arested if any muslim sees this. :P
@potatojs Just joking lol
@vrishthika yeah i know muslims don't really like this stuff
nice
@SpotSign Thanks!
Hey! You exposed your secret key in your code -- it's dangerous, because it's pretty easy to forge a cookie and log in to somebody else's account (I can do a proof of concept if you want). I'd recommend generating a new one and putting it in a .env file.
@NotTani Ok, Thanks!
Three letters:
W.
O.
W.
You know, I might call google docs and tell them to consider adding this to the're platform.
@Wilke000 Wow! Thanks! Now I will unvote and re-upvote my own repl so i am 50th, lol jk.
Wait what @Jonathan2018? NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
LOL
@Wilke000 hehe >:)
lines 6106-22541 docs.sql
"You like jazz?"
Make a README.md file
@garyyang5 Thanks! I will!
387 LOC in python = effort put into this
Sqlite = good (heroku offers 1gb postgresql space for free if you want to try)
Features = good
Layout / UI / UX = little more color, less gray, better font, etc..
This is a project that deserves to be on trending.
@Kudos Thanks for the suggestions!
Pretty cool, some suggestions:
Layout looks a bit awkward, maybe change it a little?
Next, the most important thing is writing the doc, so maybe this text field should be the biggest?
Perhaps instead of links you could use buttons:
And there's a lot of white space, try to find something to do with it (background, images, buttons spread out, etc.)
And maybe the option to add pictures and colors and text formatting! :D
@Bookie0 Ok! Thanks for the advice! I will see what I can do.
@Jonathan2018 sure np, good luck! :D
This is grate!
@TurtleAndrew Thanks!
Hey I am making a game in which u have to enter a password, I found out a way u could encrypt the password but that involved pip installing. How does sha256 work and can u show me a simple way to encrypt and verify?
@VulcanWM
sha256 works by putting a string in an algorithm/equation that’s easy to solve one way but not the other. For example, 5 * 123456 = 617280. If we say the password was ‘5’ in this equation, and we only know the other two numbers, doing 617280/123456 to find the ‘password (5)’ is not as easy.
Every time you encrypt the same string with werkzeug.security, the hash is different, so the only way to check it, is to use the check_password_hash() function.
This solution didn’t require pip installing for me, but you do need to import.
I used werkzeug.security (this didn’t require pip installing for me):
from werkzeug.security import generate_password_hash, check_password_hash
To create the hash/encryption, I used
generate_password_hash(“password
_here”)
To verify it:
check_password_hash(“Insert_Hash_Here”, “Check_with_this_unhashed_string“)
Let me know if you have any problems. :)
Thanks! @Jonathan2018
I am having a challenge. WHO CAN GUESS MY PASSWORD TO MY DOC.
Hint: 1 - It is very simple. In this 'line' itself there was the password written.
@Whippingdot idk which one is yours but is the password wcgmptmd ?
nope. Also the author name is whippingdot so... @BananaJellyfish
@Whippingdot weird i cant find it. Whats it called? Then i can search for it
Eh i can't find it who cares the p was 1 @BananaJellyfish
Damn i was over thinking it @Whippingdot
i didn't trust the site's password. i just used a RNG-based password. The command: head -c 512 /dev/urandom | base64
@Whippingdot
very tricky password that is. me no uuunderstuuund @GaneshaSharma
Really cool!
lol my doc keeps getting deleted
@Corus Oh, Which one is it?
@Jonathan2018 it had SiteIdeas for ShareDoc by Anonymous? The site said that the name wasn't taken the first time I had maken it.
@Corus Hmmm, did you make the document public?
@AJDevelopment lol, I changed it now.
MORE CSS
intensely hacks
@ch1ck3n lol, you could 'maybe' hack through it.
@Jonathan2018 it should take a few months or year to decode the SHA family. You should use bcrypt cause I don't trust stuff that doesn't.
um..pixlr used sha512 and got hacked. use sha512+base64+hex @ch1ck3n
@Jonathan2018 but i c a n hex+base64+sha521