pastedown
Pastedown is a very simple but easy to use Markdown Pastebin. Why did I make it?
Many Pastebins will show you a bunch of ads
pastebin.com will ask if you are a robot if you use their API. And they tell you to upgrade to PRO but they aren’t selling pro accounts
Many pastebins don’t have markdown support or syntax highlighting
So, Introducing: Pastedown!
It’s very simple. There are three buttons:
Editor/Preview: It shows which window you are looking at
Save: Save your work. It should redirect you to your link.
: Toggles Night mode.
Self-hosting:
Unlike many apps, you can’t just remix and go. Instead, you have to install some packages and create a database by running:
composer install && echo "{}" > database.json
This might take a while because composer will max out Glitch’s memory.
Abuse reports and contact: https://pastedown.glitch.me/contact
7 Likes
no_one
October 19, 2020, 4:56pm
2
Cool! But uhm… you gotta fix some display settings:
I stopped the creation of new pastes and deleted old pastes because I have to add recaptcha.
2 Likes
Mhm, I’m working on that.
curl -X POST -F "paste=oof" https://pastedown.glitch.me/api.php?o=[2-9999]
How to automate your requests lol
1 Like
Have you tried clearing your cache?
Pastedown is back up and running with ReCaptcha v3!
no_one
October 19, 2020, 6:53pm
11
Yeah, but the text is still under the navbar, you have to press enter to see the text.
Can you take a screenshot?
Occasionally I will wipe the database (because I have to save space) so please do not use this for long-term things and remix the project yourself.
Maybe wait till it is at 99.99999% or 100% I don’t know 90% so it takes a few weeks.
Public demos usually have a bunch of spam so I usually wipe the database. For example: this
1 Like
Patched lol
omg nothing is getting through
also Glitch, sorry for DoSing my site, i’m just doing some security testing
3 Likes
no_one
October 19, 2020, 9:20pm
19
WhY iSn’T iT wOrKiNg
It’s pretty easy, just add a “<br>
” after the navbar.
1 Like
I’m trying to fix this PHP script so DoS attacks don’t happen. I will work on that in a moment
1 Like
DDoSing is illegal (not on a site you own though)
but it’s glitch, I suppose. Are you the owner of glitch?
1 Like
You can’t really say it’s DoSing (the correct term as only one machine was involved) as not many requests were made (like 100)
1 Like
Well, not technically. If you self host or use a VPS, the people who own your internet or server probably don’t want 100,000s of thousands of requests going through their networks in such a short amount of time, thus, it might be against their TOS.
However , if you are your own ISP and own your server, then knock yourself out.
3 Likes
Can you go to prison for dosing
Yes, DDoSing is just plain out stupid. You don’t want to do it.
a better example would be Mediawiki on Glitch demo.
2 Likes
Yes, but I do not advise you to look at it. You’ve all been warned.
I think I have been blocked by my own script
5 Likes
I’ve been blocked by cloudflare on my own site quite a few times
1 Like
You can now edit your old pastes. I just have to add the ability to see your edit codes. Edit codes allow you to edit your pastedowns without a login.
2 Likes
no_one
October 20, 2020, 8:51am
33
it’s fixed now… and it has a better design!
2 Likes
The edit feature is now up and running! When you create a paste (or edit one), you will be given an edit link or a edit code. These allow you to edit your pastedowns without a login system.
Try it here
Now, I’m working on a “private” mode where you have to enter a password to create pastedowns.
Yeah I was trying something. The issue is fixed now.
Also, I think I might open source Pastedown
2 Likes
The “edit” feature is currently disabled until the API is fixed.
No, I made a mistake which was a big mistake.
I’m rewriting Pastedown in Node
Edit: I’ve decided not to do that as well the edit feature had to be remade anyways.
Ok, it’s open source now!
I have a 100 tabs open so I can’t do this right now
1 Like
I think I might start to add IPFS features to Pastedown (because you can use their HTTP API)
I recommend getting the great suspender if you love opening tabs
2 Likes
I guess my admin doesn’t want me to have less stress
1 Like
no_one
October 22, 2020, 11:32am
47
I suggest you add a system that detects some specific words to prevent hacker pastes (tokens, passwords, and other malicious stuff hackers share on paste sites). Here’s a list of what pastes usually contain:
password, email, token, ID, <script>, script, console
That really isn’t the best way to protect “hacker” pastes.
<script>
could just be someone sharing code
Many people put their email for like a “contact me/who made this” section
Blocking the word “console” doesn’t do anything as you could be talking about a video game console
Script could just mean JavaScript.
You could say “don’t forget to make a secure password” and get blocked by a script.
It’s really not a good idea.
6 Likes
no_one
October 22, 2020, 12:33pm
49
I meant, if you use this, you have to go trough a verification, like “Please click this button if you’re not a robot”
He already has google captcha in place
5 Likes
Ok, I want to add a few features:
AMP for mobile users
Make it more like a webpage
Delete/Edit feature
What do you think? Do you have any feature ideas?
1 Like
I’ll make a community home page!
1 Like
no_one
October 25, 2020, 11:02pm
53
i suggest saving snapshots of the last edit to see if the user wrote something mean, and then changed it.
Also, couldya add comments?
Oops I made it too big
I am not stealing glitch’s code, this is my own
Thats too complicated and will take up a bunch of space.
That would require a login and I’m not sure about adding a login system
I’ve actually already stared on that.
1 Like
ya know I am not sad anymore as the HTML converter failed to get curves and images lol
Lol, that’s similar to the momment when you open microsoft office files in google apps. I wonder how you can make things similar to the glitch homepage or use glitch’s style
1 Like
I use F - - - - for prototyping my stuff that’s glitch related
yes I do not want to reveal it now
It’s like photoshop 2.0
Pretty sure the dev process is this
Prototype front end looks in something like photoshop(export css plugins aren’t really that nice)
Keep trying to get it right with trial and error in css or tailwind
Yep, pretty much it. It’s better off just to export most of the drawings except for basic glitch stuff (like the highlighted text)
Hey can someone test this login system I made for Pastedown? Maybe @code-alt and @no_one ? This will allow for comments and stuff like that.
They are called “magic” links which get sent to your email to login (like Glitch) but however you don’t need a email and I can just send them to your PMs for testing.
1 Like
@code-alt would you like to try the login link system? I need two people to try it out because of the way this API service works.
Also, I made you a login-link and sometimes it can take a second to make one.
Edit: Ok, I’ll PM it to you.
Edit2: Sent!
2 Likes
If you wanna guess do it in PMs
1 Like
system
Closed
April 26, 2021, 12:08am
68
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.