Live data from Hacker News

Run Your Own Website

zacs.site

121–130 of 160 posts

Re: Run Your Own Website

#121

The title made me hope for a quite literal way to run your website: using some kind of energy harvesting (bicycle?) used to power a small computer with a web server. This is an issue that is quite simple to solve. Many podcasters (espescially Joe Rogan) like to talk about being afraid of getting removed from a platform without having your own hosting set up. Most of the controversial big names of youtube and other pl…

If you just want to distribute content, you're better off sharing bittorrent links. The problem is that those podcasters want the visibility and the ad money of those platforms. Which is valid, but not something that is solvable by self-hosting at home.

There's actually a browser that basically does this, called Beaker [0]. It uses a protocol called Dat which is very similar to Bittorent, but allows you to update your files after you originally publish them (in the form of an append-only log, so you can always see old versions of a particular site if you want to).

[0]: https://beakerbrowser.com/

Re: Run Your Own Website

#122
post #103
post #36

Earlier quoted context omitted.

Enormous fonts is a trend in modern web design for some reason. I browse most sites at about 66% zoom. Get used to the Ctrl+- shortcut.

My personal page has a front end font size range in 30s and 40s. ive done that because mobile reading the page would see microdots instead of characters at 14 pt font. i read and access at the ass end, the front is for mobies i havnt wanted to use JS to check and set font as i really dont want to build a JS site.

You don't need JS to get a website that behaves properly on mobile. Just add one meta tag to set the viewport scaling and text will scale properly:

Re: Run Your Own Website

#123

I do run my own site. Moreover, I do all the coding, styling, and layout manually and without any 3rd-party libraries or frameworks. Or even in-house libraries for that matter. This works for me in terms of freedom. I can do interactive plots, quizzes, games and all kind of programmable things I can imagine. No restrictions. In fact, I left Medium because I was restricted to text and images only. I want more. I want…

Your website is fantastic! I love how minimal and fast loading it is. Could you please enlighten on how you manage to make an HTML page interactive (for e.g. on vectorization page where I can move bezier curve handles)?

Re: Run Your Own Website

#124
post #103

Earlier quoted context omitted.

My personal page has a front end font size range in 30s and 40s. ive done that because mobile reading the page would see microdots instead of characters at 14 pt font. i read and access at the ass end, the front is for mobies i havnt wanted to use JS to check and set font as i really dont want to build a JS site.

You don't need JS to get a website that behaves properly on mobile. Just add one meta tag to set the viewport scaling and text will scale properly:

i did that for a while, ill have to look into finer details, there were issues with screen rotation breaking the formatting, so i might have to redo the CSS; im looking at gridding the pages, as this seems to be the direction to go for the next version of the page. I basically want to make the navigation UX a first person RPG themed frontend. so that the files are accessed by e.g. moving to the library, talking to the librarian for help or searching for a document etc. finding the sword of git! slaying the maldragon [not necessary but if you want to side quest for fun it would be there]

and thanx BTW

Re: Run Your Own Website

#125
post #106

Earlier quoted context omitted.

> At least own your domain name Serious question: How? Aside from .onion[0], all TLDs I know of only allow you to rent a domain name, and will take it away if you don't keep paying their protection racket year-on-year. I would be happy to pay >1000$ to purchase a (human-readable, second-level, etc) domain, if I could actually find where to do so. 0: which is less "own" and more "conjure out of the platonic ether some…

try out freedns.afraid.org there is a small fee for a premium private account, or you can ride on supermans cape for free and make a secondary domain on those who choose to make thier domain public.

That doesn't help you own a domain name. That just lets you configure DNS for domains.

Re: Run Your Own Website

#126
post #106

Earlier quoted context omitted.

try out freedns.afraid.org there is a small fee for a premium private account, or you can ride on supermans cape for free and make a secondary domain on those who choose to make thier domain public.

That doesn't help you own a domain name. That just lets you configure DNS for domains.

it has free subdomains you can use

Re: Run Your Own Website

#127
$12 + tax a year for each domain name. If you know a way around this, let me know.

Using a single dynamic IP address, if the IP address changes I manually point the domain names to the new IP address. It's a bit of a pain, but the IP address really doesn't change that often. I could automate this with a great amount of time and trouble. I wish the Domain Registrar didn't have such a crazy panel for configuring such things.

The ISP gave me a simpler version of their modem for what they call "bridge mode" that doesn't block ports. I'm paying for Internet Service, if they block ports they are not providing that service. The notion of a server is lost on me, there are packets being sent and received over the internet, if they block that they are not providing Internet Service.

Port 80 on the home router forwards to a Raspberry Pi. My outages are when the power goes out, the IP address changes, or the ISP goes down.

A Raspberry Pi 2 Model B / raspbian runs Apache, I've considered trying others like nginx. I don't need https and auto-renewing SSL certificates from Let's Encrypt, if you want to read something everyone can read it. If someone happens to modify the packets in the middle somewhere out there, so be it. I don't want you to login, and I definitely don't want your information -- if you have something interesting maybe I'll find it out there wherever and on whatever that might be...

Re: Run Your Own Website

#128
post #93
post #87

Earlier quoted context omitted.

I appreciate the amount of work and effort you've put in here. I also maintain my own site which is statically generated and deploys to a VPS running docker via git pushes. I haven't written interactive articles yet, but having absolute freedom is imperative for me. I always end up fighting with whatever system I use, except here I can just extend it to do what I need.

Oh cool! What did you use to build that? I did the same thing with blog.winricklabs.com

I used Zola [0] + Caddy [1] with the http.git plugin [2] and docker. I generate the assets with Zola, then rsync them to a separate repository and Caddy automatically pulls in the changes whenever I git push.

Source here: https://git.sr.ht/~andrewzah/personal-site/tree

[0]: https://github.com/getzola/zola [1]: https://github.com/caddyserver/caddy [2]: https://caddyserver.com/docs/http.git

Re: Run Your Own Website

#129
post #89
post #87

Earlier quoted context omitted.

I appreciate the amount of work and effort you've put in here. I also maintain my own site which is statically generated and deploys to a VPS running docker via git pushes. I haven't written interactive articles yet, but having absolute freedom is imperative for me. I always end up fighting with whatever system I use, except here I can just extend it to do what I need.

What do you mean deploys to docker? Does it deploy in a container running the web server?

I have a container running on a VPS that uses Caddy's http.git plugin to check for new commits. Whenever I do a git push it pulls in the changes.

See my sibling comment [0] for links.

[0]: https://news.ycombinator.com/item?id=20366137

Re: Run Your Own Website

#130
post #126

Earlier quoted context omitted.

That doesn't help you own a domain name. That just lets you configure DNS for domains.

it has free subdomains you can use

Yes, but that doesn't solve any of the problems that a1369209993 mentioned. Those subdomains can be taken away from you at any time. You have no legal ownership of them.
Post reply on HN