Show HN: A simple Pastebin Clone using Deno (github.com)
This is a simple Pastebin clone I made using the Deno Typescript runtime.
I created a simple templating system, and implemented server-side rendering for the UI.
I created a simple templating system, and implemented server-side rendering for the UI.
15 comments
[ 3.0 ms ] story [ 46.3 ms ] threadI feel like the biggest issues with pastebins are:
- Data is known by the provider - Not enough economic incentive to keep the pastebin running for a long time (you still need pocket money and some maintenance to keep it running)
But you could extremely easily wrap some End-to-End-Encryption around this, right?
In fact I might just try and do that when I find the time soon.
https://github.com/JLCarveth/nutty/blob/master/client.sh
Not only because they would be more secure by default, but also because Deno apps don't seem to need/want to be dockerized. Which means less overhead.
Not sure if it's a cultural thing or just some features of Deno that make Docker less necessary.
[1] https://matklad.github.io/2023/02/12/a-love-letter-to-deno.h...
Why do you say that? I can’t think of any reason a Deno project wouldn’t benefit from Docker more or less any other application. There’s an official Deno Docker image, so I wouldn’t say that not using Docker is a part of Deno culture.
But I could see the single executable being easier to use than Docker if you’re just trying to run a script on a home server!
Personally, I tend to run my Deno/Node services using simple SystemD services rather than using docker or running the executable as-is.
https://fwoar.co/pastebin/3daaf7ce49ca221702c70b0d10ac5caec8...
https://github.com/altercation/solarized
https://github.com/fiddlerwoaroof/dotfiles/blob/master/emacs...