moulecorp / pasthis Goto Github PK
View Code? Open in Web Editor NEWSimple stupid pastebin
License: Other
Simple stupid pastebin
License: Other
It should be redesigned.
Maybe we should show the remaining time before expiration of the current paste ?
When the user has javascript, should insert a tab instead of going to the next input.
Currently, anyone can download the database.
It would be nice to fix a throttle, to avoid/reduce spam.
Storing a timestamp and a hash of the ip?
There has been quite a few commits since v4, especially some fixing PHP 8 compatibility issues.
Would it be possible to create a new tag, so php update.php
works?
Thanks! :)
Maybe with strftime ?
Redirect on / with a 307 when the paste doesn't exist ?
It would be nice to have a cli application to paste files.
Hi there,
I get always a 404 error, my files.conf look like this:
server {
listen 80;
server_name paste.blah.org;
root /srv/htdocs/paste.blah.org;
index index.php;
location / {
if (!-e $request_filename){
rewrite "^([a-zA-Z0-9]{6}(@raw)?)$" /index.php?p=$1;
}
}
location /pasthis.db {
deny all;
}
location ~ \.php$ {
include fastcgi.conf;
fastcgi_index index.php;
fastcgi_pass 127.0.0.1:9000;
}
}
Thanks in advance for helping.
Cheers,
When trying to use the "burn after reading" option the paste becomes unavailable, using the latest version of this repo.
Create a new paste, get redirected to it but let it be available one more time. I think that the issue comes from step 4 described above.
It would be nice to have line numbers displayed on pastes.
Improve coding style consistency
When the syntax highlight fails, the read is rendered in black, on a black background.
Pasthis should come with an .htaccess to have nice urls, and the equivalent for nginx ;)
This should also fix #3 .
CSS height attribute seems to be ignored.
Currently, the input and the show pages are not assorted at all. Either use the default theme from the browser, or force the black and white one.
Make it more clear on how to install pathis
I think we should return an HTTP code to spammers. Either:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.