HNNewShowAskJobs
Built with Tanstack Start
Show HN: I made a small site to share text and files(dum.pt)
38 points by MarsB 11 hours ago | 42 comments
  • defanor10 hours ago

    Apparently 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

    [1] https://en.wikipedia.org/wiki/Pastebin

    • MarsB9 hours ago |parent

      Thanks 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.

  • AfterHIA10 hours ago

    This 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!"

    • staindk9 hours ago |parent

      Can probably set up some kind of AI workflow that exports your bookmarks -> attaches them to an LLM chat -> asks the LLM if anything across your bookmarks can be useful for the problem you're tackling/googling/etc.

    • air72 hours ago |parent

      I'd be happy to see that list. Perhaps consider sharing it.

    • MarsB10 hours ago |parent

      Appreciate the comment, feels great

    • blacksmith_tb10 hours ago |parent

      Carouse != peruse? Though maybe on Fridays everything has a party atmosphere...

      • therealpygon6 hours ago |parent

        I can’t think of a more relevantly time to carouse than when browsing my deep archive of ADHD-sorted bookmarks.

      • AfterHIA5 hours ago |parent

        I'm influenced by Tom Nook's usage of the term in, "Animal Crossing" or, "どうぶつの森" for the Nintendo Gamecube.

  • BobbyTables29 hours ago

    What happens if people use this to publish base64 versions of pirated works?

    Or other illegal activities?

    • MarsB7 hours ago |parent

      I'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 :)

  • AlexClickHouse8 hours ago

    I've implemented a similar site a few years ago, with one crucial difference, which makes it even simpler: 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.

    • MarsB8 hours ago |parent

      Neat! I like your solution, much better for simple text sharing.

  • matthewtse11 hours ago

    Can 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/ 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.

    • zie10 hours ago |parent

      I use ffsend, the old send.firefox.com stuff https://github.com/timvisee/send There are a bunch of public instances available here: https://github.com/timvisee/send-instances/

    • ac2910 hours ago |parent

      > 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

    • MarsB8 hours ago |parent

      I made an initial version, let me know if you find it useful! Docs at dum.pt/dev or just curl https://dum.pt :)

    • skydhash10 hours ago |parent

      https://github.com/dutchcoders/transfer.sh

      I’m currently using Gokapi for transfer, but planning to switch to this one.

    • MarsB11 hours ago |parent

      It 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 :)

      • xur1710 hours ago |parent

        Something like a `/raw` suffix would be amazing. Example: `https://www.dum.pt/dump/302460a1-1ed0-40b0-b637-e9d04a168678...`.

    • 131710 hours ago |parent

      you can just use catbox https://litterbox.catbox.moe/

    • rickydroll6 hours ago |parent

      Magic wormhole?

  • codefined10 hours ago

    Looks 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.

    • MarsB10 hours ago |parent

      wow 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!

      • morkalork10 hours ago |parent

        Hackers like to use these types of services (eg pastebin) as remote C&C servers too where infected computers both retrieve commands from them and also exfiltrate data to them

        • MarsB10 hours ago |parent

          Thanks for flagging this! I will definitely be doing a deep dive into all this this weekend

  • nomel10 hours ago

    Why not simplify the URI?

    https://www.dum.pt/25d16868-60b7-4a5e-bf2f-828341ff7c1a

    "dump" seems redundant.

    • MarsB10 hours ago |parent

      I'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!

      • nomel7 hours ago |parent

        > 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.

      • chrisstanchak8 hours ago |parent

        The $0.01 solution is to use /d/

        • msephton7 hours ago |parent

          Or /y/ for dumpty

  • crtasm9 hours ago

    Thanks but I'll continue to use similar services that don't embed google tracking.

    • MarsB7 hours ago |parent

      Thanks for the feedback! I've removed google analytics in favour of minimalistic in-house (public!) analytics

      https://dum.pt/analytics

  • fsflover9 hours ago

    The 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

    • MarsB7 hours ago |parent

      Thanks for the feedback! I've removed google analytics in favour of minimalistic in-house (public!) analytics

      https://dum.pt/analytics

    • msephton7 hours ago |parent

      Please link to the discussions!

  • eth0up10 hours ago

    I 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.

    • MarsB9 hours ago |parent

      This 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 :')

  • josefritzishere10 hours ago

    Oh that's nice!

    • MarsB9 hours ago |parent

      Thank you!

  • jaharios9 hours ago

    And another one! How long will it last? All bets on the table.

    • MarsB9 hours ago |parent

      Hopefully longer than the other ones, but who knows. Time will tell :)