ShareDoc - Kind of a Google Docs Clone
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.
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.
- 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
- 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
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!
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.
Woah, that's cool! Well done!
Edit: Bro, how is everyone guessing my password correctly!!??!? I thought it was foolproof!!!
a cool doc made by myself (arguably the best author)
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.
You know, I might call google docs and tell them to consider adding this to the're platform.
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.
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?
And maybe the option to add pictures and colors and text formatting! :D
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?
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
To verify it:
Let me know if you have any problems. :)
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.