6 ms·
Show HN: I made a small site to share text and files
- matthewtse 1y agoCan I curl this file to a linux machine easily? I was just the other day looking for a tool to easily move a non-sensitive file from my macbook, to my network-locked production machine. Rather than doing many hops through SSH tunnels, the easiest thing to do would be to host the file online, and wget it down to my linux machine. The options out there were lacking. I used https://bashupload.com/ https://bashupload.com/ for a bit, but the problem is that after you download the file once, it gets deleted. Sometimes I want to share the file to multiple machines.
- MarsB 1y agoIt wasn't a usecase I thought of, so it's not really accommodated for it, but I like it! I'll try make a nice little "for devs" page with simple endpoints :)
- xur17 1y agoSomething like a `/raw` suffix would be amazing. Example: `https://www.dum.pt/dump/302460a1-1ed0-40b0-b637-e9d04a168678/raw https://www.dum.pt/dump/302460a1-1ed0-40b0-b637-e9d04a168678...`.
- skydhash 1y agohttps://github.com/dutchcoders/transfer.sh https://github.com/dutchcoders/transfer.sh I’m currently using Gokapi for transfer, but planning to switch to this one.
- ac29 1y ago> I was just the other day looking for a tool to easily move a non-sensitive file from my macbook, to my network-locked production machine. You can do this with tailscale: https://tailscale.com/kb/1106/taildrop https://tailscale.com/kb/1106/taildrop
- 1317 1y agoyou can just use catbox https://litterbox.catbox.moe/ https://litterbox.catbox.moe/
- zie 1y agoI use ffsend, the old send.firefox.com stuff https://github.com/timvisee/send https://github.com/timvisee/send There are a bunch of public instances available here: https://github.com/timvisee/send-instances/ https://github.com/timvisee/send-instances/
- MarsB 1y agoI made an initial version, let me know if you find it useful! Docs at dum.pt/dev or just curl https://dum.pt https://dum.pt :)
- rickydroll 1y agoMagic wormhole?
- AfterHIA 1y agoThis is the kind of neat, small, useful tool I carouse HN for. I'm going to add this to my giant list of, "neat ass little tools that I found on Hacker News." Now if only somebody could make a tool that can audit my giant ass list of neat little tools so that when a use case comes around I remember, "ah yes this!"
- air7 1y agoI'd be happy to see that list. Perhaps consider sharing it.
- sawirricardo 1y agodo you mind to share them?
- AfterHIA 1y agoYes I do.
- MarsB 1y agoAppreciate the comment, feels great
- blacksmith_tb 1y agoCarouse != peruse? Though maybe on Fridays everything has a party atmosphere...
- AfterHIA 1y agoI'm influenced by Tom Nook's usage of the term in, "Animal Crossing" or, "どうぶつの森" for the Nintendo Gamecube.
- therealpygon 1y agoI can’t think of a more relevantly time to carouse than when browsing my deep archive of ADHD-sorted bookmarks.
- staindk 1y ago
- codefined 1y agoLooks fantastic! As someone who has done it before, if this gets popular you'll run into some abusive users that you'll want to deal with. Microsoft will often give out free access to it's PhotoDNA service for detection of explicit images of minors. VirusTotal will often do the same for malware in exchange for samples. You'll also want to have a structured retention process, e.g. size is inversely proportional to storage time. Good luck, get in contact (see my profile) if you run into any issues.
- MarsB 1y agowow thank you so much for the tips! I had mostly just worried about piracy and thought that the maximum 24 hour retention policy would be "good enough". Naively, I had not thought of things I'd want to nip right in the bud (Like CP). So I will definitely be looking into the solutions you've mentioned. Thanks again!
- josefritzishere 1y agoOh that's nice!
- MarsB 1y agoThank you!
- nomel 1y agoWhy not simplify the URI? https://www.dum.pt/25d16868-60b7-4a5e-bf2f-828341ff7c1a https://www.dum.pt/25d16868-60b7-4a5e-bf2f-828341ff7c1a "dump" seems redundant.
- MarsB 1y agoI've been giving this some thought... While I definitely agree with you, adding the extra route seems more "future-proof". And it's not like the urls are rememberable anyway... But it might be worth just making the whole link much much shorter over all. I'll think about this!
- chrisstanchak 1y agoThe $0.01 solution is to use /d/
- msephton 1y agoOr /y/ for dumpty
- nomel 1y ago> And it's not like the urls are rememberable anyway They're what everyone sees, when a link is shared. It's a fundamental part of the user experience, for a service like this. As stupid as it is, I would be a bit embarrassed to share a link with "dump" in it. Dump.ty is fine/great. > adding the extra route seems more "future-proof". I'd claim this is a separate issue. "routing" isn't real, after all, it's just string matching. Most/all routers have regex match options that might take some ns longer. You're free to do whatever you want in the future, trivially so if you make sure whatever future path doesn't look like an ID.
- MarsB 1y agoI liked your points, I updated the link structure. :)
- defanor 1y agoApparently the "Show HN" prefix would be appropriate here [0]. And this kind of a service is usually called a pastebin [1]. [0] https://news.ycombinator.com/newsfaq.html https://news.ycombinator.com/newsfaq.html [1] https://en.wikipedia.org/wiki/Pastebin https://en.wikipedia.org/wiki/Pastebin
- MarsB 1y agoThanks for the heads up! I update the title to show the appropriate tag. I'm familiar with the term pastebin, but this is not limited to just text and I do feel like pastebin.com has taken ownership of the term so I wanted to avoid confusion.
- bapak 1y ago[flagged]
- MarsB 1y agoI considered it, but I (naively) thought that the 24 hour maximum retention policy would take care of most abuse. As others in the comments have pointed out, it won't! So I will be taking more steps towards abuse prevention :)
- 7bit 1y agoIf someone uploads just one CP picture, our are fucked for live.
- quesera 1y agoOne has to believe that law enforcement forensics folks have the wherewithal to distinguish a stray image in browser cache, from a large downloads folder full of similar content. One has to believe this, for their own sanity. One does wonder though, particularly in countries with increasingly-weakenened rules of law.
- MarsB 1y agoI ran a social media site years ago, had a few instances of CP where we personally notified law enforcement. It was taken care of, we got in absolutely no trouble. But it's worrying how inefficient the whole process is. Or at least was back then.
- eth0up 1y agoI love these websites. I think as bapak (and codefined) suggested, they tend not to last though, which is unfortunate. I also imagine it's fun to build. Good old fashioned simple utility. Thanks for sharing.
- MarsB 1y agoThis was in all honesty a very self-serving project! Fun to build, something I wanted and that's that. Fingers crossed it's smooth sailing and it doesn't end up in the graveyard like all the other :')
- fsflover 1y agoThe page uses Google Tag Manager. Related discussions: Google Tag Manager, the new anti-adblock weapon (2020) (woolyss.com) 1384 points by thyrox on Feb 21, 2022 | 883 comments Incapacitating Google Tag Manager (2022) (backlit.neocities.org) 213 points by fsflover 70 days ago | 155 comments
- MarsB 1y agoThanks for the feedback! I've removed google analytics in favour of minimalistic in-house (public!) analytics https://dum.pt/analytics https://dum.pt/analytics
- fsflover 1y agoThank you!
- msephton 1y agoPlease link to the discussions!
- fsflover 1y agoSorry, indeed I forgot the links: https://news.ycombinator.com/item?id=30411049 https://news.ycombinator.com/item?id=30411049 https://news.ycombinator.com/item?id=44466697 https://news.ycombinator.com/item?id=44466697
- jaharios 1y agoAnd another one! How long will it last? All bets on the table.
- MarsB 1y agoHopefully longer than the other ones, but who knows. Time will tell :)
- crtasm 1y agoThanks but I'll continue to use similar services that don't embed google tracking.
- BobbyTables2 1y agoWhat happens if people use this to publish base64 versions of pirated works? Or other illegal activities?
- MarsB 1y agoI've added a report functionality. It's not the perfect solution, that's for certain. But it's something while I figure out better ones :)
- AlexClickHouse 1y agoI've implemented a similar site a few years ago, with one crucial difference, which makes it even simpler: https://pastila.nl/ https://pastila.nl/ The difference is that there is no "share" button, so you don't have to press it, and just copy the page URL any time.
- MarsB 1y agoNeat! I like your solution, much better for simple text sharing.