[MEGATHREAD] GlitchyPastePen - Create simple front-end projects using an online code editor with instant hosting

I got the term wrong, it wasn’t password encryption, what I did was password hashing. That’s what the bcrypt library does.

1 Like

What you did was password hashing and salting. They are all different - bcrypt using hashing and salting which is the best method.

3 Likes

Best video explanation. I watched that and it’s great!

2 Likes

@ihack2712 @EddiesTech @Anish @javaarchive @idodev @RiversideRocks @17lwinn and everyone else who has created an account on GPP (sorry for the mass mentioning) I’ve deleted all user accounts and projects as a safety measure, as a result of the implementation of the hashing and salting password protection. Kindly excuse me for the inconvenience.

4 Likes

Is it protected by license or can I remix it on GitHub

1 Like

It’s licensed under MIT, which is not a strict license at all.

4 Likes

when i copy the git url and import as a project in glitch then try to vist the site it just shows errors
@khalby786

1 Like

What are the errors?

1 Like

@khalby786 the glitch link doesnt work

1 Like

@khalby786 the errors are:
Error: secret option required for sessions
at session (/rbd/pnpm-volume/5934a41f-ada9-4390-af69-85f10bd25889/node_modules/.registry.npmjs.org/express-session/1.17.1/node_modules/express-session/index.js:200:12)
at Layer.handle [as handle_request] (/rbd/pnpm-volume/5934a41f-ada9-4390-af69-85f10bd25889/node_modules/.registry.npmjs.org/express/4.17.1/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/rbd/pnpm-volume/5934a41f-ada9-4390-af69-85f10bd25889/node_modules/.registry.npmjs.org/express/4.17.1/node_modules/express/lib/router/index.js:317:13)
at /rbd/pnpm-volume/5934a41f-ada9-4390-af69-85f10bd25889/node_modules/.registry.npmjs.org/express/4.17.1/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/rbd/pnpm-volume/5934a41f-ada9-4390-af69-85f10bd25889/node_modules/.registry.npmjs.org/express/4.17.1/node_modules/express/lib/router/index.js:335:12)
at next (/rbd/pnpm-volume/5934a41f-ada9-4390-af69-85f10bd25889/node_modules/.registry.npmjs.org/express/4.17.1/node_modules/express/lib/router/index.js:275:10)
at SendStream.error (/rbd/pnpm-volume/5934a41f-ada9-4390-af69-85f10bd25889/node_modules/.registry.npmjs.org/serve-static/1.14.1/node_modules/serve-static/index.js:121:7)
at SendStream.emit (events.js:196:13)
at SendStream.error (/rbd/pnpm-volume/5934a41f-ada9-4390-af69-85f10bd25889/node_modules/.registry.npmjs.org/send/0.17.1/node_modules/send/index.js:270:17)
at SendStream.onStatError (/rbd/pnpm-volume/5934a41f-ada9-4390-af69-85f10bd25889/node_modules/.registry.npmjs.org/send/0.17.1/node_modules/send/index.js:421:12)

2 Likes

May I know which Glitch link you are talking about?

1 Like

Sessions need a secret, which is stored in the .env.

1 Like

this one: https://glitch.com/edit/#!/glitchypastepen

2 Likes

but what do I do with it

1 Like

@idodev, can you try again now?

1 Like

Looks awesome!

  1. It’s not mobile friendly
  2. I think it would look better with a menu instead of buttons
3 Likes

When I remix it and open it up it still shows the errors

@khalby786

1 Like
  1. Yes, it is not mobile-friendly yet.
  2. I think the current look of buttons instead of menu is suitable for the editor right now.
5 Likes

One request I have is to just add a raw paste tool (I tried php and the <? of php made nothing show up).

2 Likes

I don’t understand :pensive::thinking:

1 Like