News for hackers. Stuff that matters.
Re:Microphones by wooptoo on Wednesday March 08, 2023 @07:05PM (#35076530)
Somewhat offtopic: I really wish we had more websites like this one. We should make it easier for end users to learn how to build their own sites and host them, even if just as static pages.

I've scraped numerous websites like these put together by university teachers, intended as learning material for students. Lots of the have now disappeared.

They are crude and unpolished in the modern sense but the content they hold is invaluable. They are not bound by commercial motives and that's exactly what makes them special. The free-form of the medium also enables them to take whatever shape their creator envisages.

Re:Microphones by Aachen on Wednesday March 08, 2023 @07:23PM (#35076690)
Dunno if we should teach more people to make sites like these https://snipboard.io/vAmURn.jpg (zoomed in for obviousness but I noticed it's blurry straight away)

Generally I agree of course. My own site is hosted from a recycled laptop and weights a few kb per page. I don't post content just to have content and might go years between blogs, so no corporate publicity or ad revenue incentives. I miss sites like these, they're so hard to find nowadays.

Re:Microphones by dylan604 on Wednesday March 08, 2023 @11:35PM (#35078354)
Yeah, sites were every thing was a graphic so it's not "selectable" and searchable were all the rage in the days of Flash.

how much more light weight could it be by removing an image and just having text and some CSS to style it? I didn't say some CSS library, so enough to style it.

Re:Microphones by javajosh on Thursday March 09, 2023 @01:00AM (#35078676)
Adobe Flash (the player and authoring tool) was so good for the indie game scene! I'm pretty sure it was horrible for every other use-case, but back in the day Kongregate had some of the most interesting, inventive and well-done games I'd ever scene. I've never experienced so many novel game mechanics, and all because the barrier-to-entry was so low. I see why there was never any money in it for Adobe (btw valiant effort with Flex!) but the death of Flash still makes me sad for this reason alone.
Re:Microphones by javajosh on Thursday March 09, 2023 @12:52AM (#35078652)
>My own site is hosted from a recycled laptop and weights a few kb per page

It would be cool if such sites joined a web ring and helped promote each other that way. (If high-waisted jeans can come back, why not web rings?)

Re:Microphones by javajosh on Thursday March 09, 2023 @12:45AM (#35078623)
>We should make it easier for end users to learn how to build their own sites and host them, even if just as static pages.

Its definitely not easy. I recently spun up a public bespoke web server on a $5 VPS. I was surprised by the immediate and constant probes and attacks. Hardening the server was non-trivial for me, as I'm not a professional sysadmin. Nothing was trivial, from setting up DNS to ssh to fail2ban. My setup was as simple as possible (one node, one DNS name, one server process) and it still took me a full two days, plus some extra fiddling, to get it setup properly and reproducibility.

Starting from zero it takes enormous knowledge. Can it be made easier? Yes, I think so. On the high-tech side I think ChatGPT is going to play a role in lowering the learning curve for this kind of stuff. On the low-tech side I think experts could offer help to new learners, but I'm not sure what channels make sense. I'm not sure how it could be simplified without violating the primary purpose of the exercise.

Re:Microphones by thrashh on Thursday March 09, 2023 @01:56AM (#35078877)
Wym

Back in the 2000s you could just use Microsoft Frontpage, pay for a web host, click upload and your static site would be online in a few hours.

I’m sure there’s still some variation of that out there.

Re:Microphones by prox on Thursday March 09, 2023 @04:04AM (#35079501)
I am doing Obsidian > publish to html > upload to neocities.org account.

Easy peazy.

Re:Microphones by wooptoo on Thursday March 09, 2023 @01:45PM (#35084966)
This is _exactly_ what i meant! Can you share yours?
Re:Microphones by franga2000 on Thursday March 09, 2023 @03:52AM (#35079446)
If what you need is a web server, get a web server. You can get decent web hosting for 20€ per year and it will perform a lot better than your 5€ VPS.
Re:Microphones by javajosh on Thursday March 09, 2023 @07:31AM (#35080552)
Do you have an example? There is no unambiguous way to define "web server"! Consider all the ways you can rent a host in virtually every state between disassembled parts on a table (Newegg) to renting DC for your own hardware (Hetzner) to running an httpd process running in a hypervisor running on a fully managed server in a DC (VPS) to sharing wordpress db/virtual host space on a LAMP process (wordpress.com). And everything in between. (And that's not every option, either. "Push markdown and let github/gitlab publish it for me" or "write a gist" are in this space, as is codepen, meteor, aws, and reddit - really anything tool or stack that lets you "change the state of the public web". Even HN!).

In fact, understanding this spectrum of options is a task in itself - imagine starting from scratch and trying to pick a path!

At what point on this spectrum do you transition away from "self hosting"? Personally, I put the line at "vanilla VPS". I do not consider sharing wordpress space self-hosted, nor is having a webmin. (And yet, either is certainly more self-hosted than a Facebook group page!) My approach was "device oriented" in that I wanted to act as if I was configuring a fresh piece of server hardware with a new OS and so on. The cheapest way to get that is a VPS. It is at this level that I feel I have the most flexibility, the least lock in, and, importantly, the most leverage.

Re:Microphones by Tijdreiziger on Thursday March 09, 2023 @08:09AM (#35080803)
Shared webhosting as a concept is decades old and still works. You just upload your web pages via (S)FTP and then you can access them on the internet. That's how most people (including me) got started around 10-20 years ago.

I'm still hosting my personal websites on a shared host today, because it just works and requires no maintenance on my end.

Re:Microphones by javajosh on Thursday March 09, 2023 @08:53AM (#35081139)
Thanks for explaining. I had no idea the issue was so simple.
Re:Microphones by mturmon on Thursday March 09, 2023 @02:32PM (#35085539)
the service https://www.pair.com has been highly reliable for me for ~20 years now.

I use their "shared web hosting" tier and just upload a static site to my $HOME/public_html directory where it's served by their system. Very simple, and you control the site content (html/css/js and images or whatnot).

Re:Microphones by BizarroLand on Thursday March 09, 2023 @04:20PM (#35086884)
I understand the processes required but if you or anyone here knows, what would be the least expensive / most sustainable way to set up a personal VPN & pihole plus a simple website hosted on a server?

I already run a small server at home for NAS / HomeAssistant / PiHole, etc., but I would like to be able to access it anywhere and enjoy the benefits of ad blocking and personal media access on my phone outside of my home network, but I don't want to spend $25+/month for crap tier single 9 service, and at the same time, I don't need flawless service with five 9 uptime guarantees at any price, either.

I'm guessing that I would need a VPS provider that allows SSH access to some flavor of linux server with a static IP or at least a domain name.

Am I on the money with this, or is there something that I didn't consider?

If I am, would you still recommend pair.com or is there a VPS provider that might be a better fit?

Re:Microphones by castillar76 on Thursday March 09, 2023 @09:25PM (#35089686)
For something like this, I’d look at a small cloud instance running at Hetzner or similar. You can run Pihole on that so you don’t have to reflect your traffic through your home Internet connection. You can then use something like ZeroTier or Tailscale to be able to access your home server and the Pihole service while you’re on the road, so you’re not worried about making services available to the whole Internet.
Re:Microphones by solarkraft on Friday March 10, 2023 @12:12PM (#35097432)
> I was surprised by the immediate and constant probes and attacks. Hardening the server was non-trivial for me

What hardening do you need? My impression was that, with a good password (or password login disabled) a standard Debian + Apache setup was secure enough by default.

Re:Microphones by pabs3 on Thursday March 09, 2023 @01:04AM (#35078689)
ArchiveTeam tend to save those sorts of sites too. For the ones that are still up, they could be sent to archive.org via ArchiveBot:

https://wiki.archiveteam.org/ https://wiki.archiveteam.org/index.php/ArchiveBot

Re:Microphones by DeathArrow on Thursday March 09, 2023 @05:54AM (#35080075)
What's wrong with stuff like Wix, Squarespace or even Wordpress for simple content?
Re:Microphones by eternityforest on Thursday March 09, 2023 @06:02AM (#35080119)
Forums were a good compromise, not too commercial and full of great content, but also accessible to people who would rather not spend $5 a month and hand write HTML