Skip to content
← Back to Community
ShareDoc - Kind of a Google Docs Clone
Profile icon
Jonathan2018

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 hit DELETE 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!

Voters
Profile icon
apasajalah1
Profile icon
gatadada
Profile icon
f7ernandoiiii
Profile icon
5K-SUBS-WITH-NO
Profile icon
JasonDarbyshire
Profile icon
Muhammad-AlfaAl
Profile icon
MayFly404
Profile icon
Corus
Profile icon
maxina
Profile icon
parkerslv
Comments
hotnewtop
Profile icon
ch1ck3n

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 if it is, you password is secure and hashed by the sha256 algorithm, and even I, the creator, can't see what it is.

intensely hacks

Profile icon
Jonathan2018

@ch1ck3n lol, you could 'maybe' hack through it.

Profile icon
code-alt

@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.

Profile icon
[deleted]

um..pixlr used sha512 and got hacked. use sha512+base64+hex @ch1ck3n

Profile icon
ch1ck3n

@Jonathan2018 but i c a n hex+base64+sha521

Profile icon
IOP3

cool

Profile icon
Jonathan2018

@IcingBlaze Thanks!!

Profile icon
MayFly404

Hello! I am a big fan! I have actually used this since it was first made. I made my own spin-off. Check it out!

replbook.mayfly404.repl.co

Profile icon
Jonathan2018

@MayFly404 I'm glad you like it. Very nice website!

If you are interested, I've since made an improved version (it's essentially the same program, but it requires users to create an account):

Website

https://SharePost.jonathan2018.repl.co
The idea is actually quite similar to your project (replBook).

Code

https://replit.com/@Jonathan2018/SharePost
This new project might be slightly more difficult to customize and suit your needs as the code isn't as simple as ShareDoc. But please, change anything you want!

Profile icon
MayFly404

@Jonathan2018 Thanks for the tip! I have been planning on sharing this a YEAR ago!

I will let you know if i need help!

Discord: MayFly404#6273

Profile icon
LegendaryWolf
Profile icon
DynamicSquid

Woah, that's cool! Well done!

Edit: Bro, how is everyone guessing my password correctly!!??!? I thought it was foolproof!!!

Profile icon
Jonathan2018
Profile icon
IntellectualGuy

@DynamicSquid You might want to change the password of that doc you created.

Profile icon
Jonathan2018

@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!

Profile icon
DynamicSquid

@IntellectualGuy Wait what! How'd you guess it?

Profile icon
Jonathan2018

@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.

Profile icon
IntellectualGuy

@DynamicSquid It's kinda obvious.

Profile icon
Whippingdot

Lul bruh i guessed ur psw too. Check out the changes I made. 😁 @DynamicSquid

Profile icon
DynamicSquid

@Whippingdot impossible

Profile icon
Whippingdot

Lul but check out the changes I made @DynamicSquid

Profile icon
IntellectualGuy

@DynamicSquid I got it first try.

Profile icon
Jonathan2018

@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...

Profile icon
Codeverse

@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.

Profile icon
Username543210
Profile icon
Jonathan2018

@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.

Profile icon
smoldev

https://sharedoc.jonathan2018.repl.co/open/Dont%20look%20here

a cool doc made by myself (arguably the best author)

Profile icon
Jonathan2018

@smoldev Hehe... :(

Profile icon
[deleted]

lol i forgot the password to my own doc

-_-

Profile icon
Jonathan2018

@Rainbowstuff LOL. I'll change it for you if you want, then you can change it to something else.

Profile icon
[deleted]

@Jonathan2018 ok thanks lol XD
it's called hello. Xd

Profile icon
[deleted]

@Jonathan2018 thanks lol XDD

and chrome asked me if i wanted to save it and i said no-

Profile icon
Jonathan2018

@Rainbowstuff ok, done! I changed it to Rainbowstuff. You can change it to something else later since everybody can see this. Oh lol.

Profile icon
[deleted]

@Jonathan2018 thanks you! XD

Profile icon
Jonathan2018
Profile icon
[deleted]
Profile icon
[deleted]

this is great! love it! :)

Profile icon
Jonathan2018
Profile icon
[deleted]
Profile icon
smoldev

very original and works amazingly

Profile icon
Jonathan2018

@smoldev Thanks

Profile icon
smoldev

@Jonathan2018 thank you for making something like this, i can see myself using this

Profile icon
[deleted]

good job! this is amazing!

Profile icon
Jonathan2018

@snekattack Thanks!

Profile icon
[deleted]

Browse Docs By Great Minds Like You ahem @Jonathan2018 HAVE YOU SEEN THE DOCS LOL

Profile icon
Jonathan2018

@snekattack LOLOL, yea that's true, hmmm... what should I change it to?

Profile icon
[deleted]

@Jonathan2018 maybe try browse the docs written by the community of repl.it

Profile icon
Jonathan2018

@snekattack Yes! Great Idea!

Profile icon
Jonathan2018

Thank you @DynamicSquid for being the first random person on Repl to create a doc on the site!

Profile icon
Creatito1

image

It says it's in python, so why can I open it in a new tab? I'd like to learn to make visual python projects or even just ones that can be accessed with a link like this one, if someone could tell me a bit about how it's done. 🙂

Profile icon
[deleted]
Profile icon
Jonathan2018

@AJDevelopment lol, I changed it now.

Profile icon
MarcusWeinberger

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.

Profile icon
Jonathan2018

@MarcusWeinberger oooooh! Thanks so much!

Profile icon
Rockstar2004

Wtf this is incredibly fantastic!

Profile icon
Jonathan2018
Profile icon
vrishthika

@Gokul24 Do u really have to say the F word!?

Profile icon
potatojs

@vrishthika why not

Profile icon
vrishthika

@potatojs I live in UAE and the F word insult me.
Do be careful with your words please!

Profile icon
potatojs

@vrishthika lol i'm not gonna say it but just not be so sensitive about it, because you're gonna here it a lot

Profile icon
vrishthika

@potatojs k, lol, just not too much cuz, imma get arested if any muslim sees this. :P

Profile icon
vrishthika

@potatojs Just joking lol

Profile icon
potatojs

@vrishthika yeah i know muslims don't really like this stuff

Profile icon
SpotSign

nice

Profile icon
Jonathan2018

@SpotSign Thanks!

Profile icon
programmeruser

Little Bobby Tables' plan almost worked, until:
image

Profile icon
Jonathan2018
Profile icon
NotTani

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.

Profile icon
Jonathan2018

@NotTani Ok, Thanks!

Profile icon
Wilke000

Three letters:
W.
O.
W.
You know, I might call google docs and tell them to consider adding this to the're platform.

Profile icon
Wilke000

Ohh yay! I gave this post its 50th upvote!
image

Profile icon
Jonathan2018

@Wilke000 Wow! Thanks! Now I will unvote and re-upvote my own repl so i am 50th, lol jk.

Profile icon
Wilke000

Wait what @Jonathan2018? NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
LOL

Profile icon
Jonathan2018

@Wilke000 hehe >:)

Profile icon
RowanFromBJC

lines 6106-22541 docs.sql
"You like jazz?"

Profile icon
garyyang5

Make a README.md file

Profile icon
Jonathan2018

@garyyang5 Thanks! I will!

Profile icon
Kudos

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.

Profile icon
Jonathan2018

@Kudos Thanks for the suggestions!

Profile icon
Bookie0

Pretty cool, some suggestions:

Layout looks a bit awkward, maybe change it a little?

Screen Shot 2021-02-15 at 1.00.49 PM

Next, the most important thing is writing the doc, so maybe this text field should be the biggest?

Screen Shot 2021-02-15 at 1.01.25 PM

Perhaps instead of links you could use buttons:
Screen Shot 2021-02-15 at 1.02.21 PM

And there's a lot of white space, try to find something to do with it (background, images, buttons spread out, etc.)
Screen Shot 2021-02-15 at 1.04.47 PM

It's a bit spread out here:
Screen Shot 2021-02-15 at 1.05.44 PM

And maybe the option to add pictures and colors and text formatting! :D

Profile icon
Jonathan2018

@Bookie0 Ok! Thanks for the advice! I will see what I can do.

Profile icon
Bookie0

@Jonathan2018 sure np, good luck! :D

Profile icon
TurtleAndrew

This is grate!

Profile icon
Jonathan2018
Profile icon
VulcanWM

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?

Profile icon
Jonathan2018

@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. :)

Profile icon
VulcanWM
Profile icon
Jonathan2018
Profile icon
Whippingdot

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.

Profile icon
BananaJellyfish

@Whippingdot idk which one is yours but is the password wcgmptmd ?

Profile icon
Whippingdot

nope. Also the author name is whippingdot so... @BananaJellyfish

Profile icon
BananaJellyfish

@Whippingdot weird i cant find it. Whats it called? Then i can search for it

Profile icon
Whippingdot

Eh i can't find it who cares the p was 1 @BananaJellyfish

Profile icon
BananaJellyfish

Damn i was over thinking it @Whippingdot

Profile icon
Whippingdot
Profile icon
[deleted]

i didn't trust the site's password. i just used a RNG-based password. The command: head -c 512 /dev/urandom | base64
@Whippingdot

Profile icon
Whippingdot

very tricky password that is. me no uuunderstuuund @GaneshaSharma

Profile icon
JBloves27

Really cool!

Profile icon
Jonathan2018
Profile icon
JBloves27