Live data from Hacker News

Tiny websites are great

tinyprojects.dev

211–220 of 227 posts

Re: Tiny websites are great

#211

Earlier quoted context omitted.

We had a similar scenario at my workplace, but with React rather than Vue. We wanted an internal component to be able to change the page title, which ended up with a project to transition to using react-helmet. It ended up taking a few weeks before this project completed.

Which is nuts, because you can also just write your own little one-liner to manipulate the title ```ts const setTitle = (t: string): void => document.title = t ```

Yeah, that would've been great but it was a shared codebase among many teams and one of the hard rules was no access to stuff like document :(

We also couldn't console.log in this codebase, it was very ideologically pure but it took ages to make any changes

Re: Tiny websites are great

#213

Earlier quoted context omitted.

I do exactly what you recommend. My website, https://cyrialize.dev/ , is hosted on Neocities. I used jekyll to create it and I use water.css which I found on CSS Bed ( https://www.cssbed.com/ ). The Neocities gem is VERY useful. My process is super simple, it's basically: - Make changes - Commit & Push - jekyll build - neocities push _site/

I agree with you so much, I even removed the push step and have Gitlab CI do it for me: https://gitlab.com/stavros/neocities-gitlab-ci-demo

Nice! You can actually get even a bit simpler with it. I am working on contributing a template for Neocities to GitLab that does not require even a subscription account: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/32640

I'm using it to deploy my own site (which happens to be subscription, but that isn't required): https://metaluna.io/

Re: Tiny websites are great

#214
post #213

Earlier quoted context omitted.

I agree with you so much, I even removed the push step and have Gitlab CI do it for me: https://gitlab.com/stavros/neocities-gitlab-ci-demo

Nice! You can actually get even a bit simpler with it. I am working on contributing a template for Neocities to GitLab that does not require even a subscription account: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/32640 I'm using it to deploy my own site (which happens to be subscription, but that isn't required): https://metaluna.io/

Oh that would be fantastic! Where will this template show up? I didn't know Gitlab had CI templates.

How do you upload files without WebDAV? As far as I know, there's no API.

BTW I'm not sure if it still exists, but they had a lifetime supporter account, where you can get a lifetime subscription for $100 in Bitcoin. I got it to support the effort, though I don't really use it, but a bunch of Terabytes of bandwidth and 50 GB of hosting space won't go to waste.

Re: Tiny websites are great

#215
post #213

Earlier quoted context omitted.

Nice! You can actually get even a bit simpler with it. I am working on contributing a template for Neocities to GitLab that does not require even a subscription account: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/32640 I'm using it to deploy my own site (which happens to be subscription, but that isn't required): https://metaluna.io/

Oh that would be fantastic! Where will this template show up? I didn't know Gitlab had CI templates. How do you upload files without WebDAV? As far as I know, there's no API. BTW I'm not sure if it still exists, but they had a lifetime supporter account, where you can get a lifetime subscription for $100 in Bitcoin. I got it to support the effort, though I don't really use it, but a bunch of Terabytes of bandwidth an…

Once merged and in a release, it will show up on the new project page, after selecting "create from template": https://gitlab.com/projects/new

This uses their official CLI RubyGem along with the token you can get through the web interface.

Re: Tiny websites are great

#216
post #215

Earlier quoted context omitted.

Oh that would be fantastic! Where will this template show up? I didn't know Gitlab had CI templates. How do you upload files without WebDAV? As far as I know, there's no API. BTW I'm not sure if it still exists, but they had a lifetime supporter account, where you can get a lifetime subscription for $100 in Bitcoin. I got it to support the effort, though I don't really use it, but a bunch of Terabytes of bandwidth an…

Once merged and in a release, it will show up on the new project page, after selecting "create from template": https://gitlab.com/projects/new This uses their official CLI RubyGem along with the token you can get through the web interface.

Well that's fantastic, great job. Will it be uploading a specific directory, like in mine? That would be nice since most people keep other stuff in the repo.

Re: Tiny websites are great

#217
post #215

Earlier quoted context omitted.

Once merged and in a release, it will show up on the new project page, after selecting "create from template": https://gitlab.com/projects/new This uses their official CLI RubyGem along with the token you can get through the web interface.

Well that's fantastic, great job. Will it be uploading a specific directory, like in mine? That would be nice since most people keep other stuff in the repo.

Yes, it will upload the public folder only. You can see the details of how it works at https://gitlab.com/pages/neocities (I realize now this would have been a better link to share than the other one).

Re: Tiny websites are great

#218
post #217

Earlier quoted context omitted.

Well that's fantastic, great job. Will it be uploading a specific directory, like in mine? That would be nice since most people keep other stuff in the repo.

Yes, it will upload the public folder only. You can see the details of how it works at https://gitlab.com/pages/neocities (I realize now this would have been a better link to share than the other one).

Oh, haha, yes, that's much better. Great work, thank you!

Re: Tiny websites are great

#219
post #156

Earlier quoted context omitted.

It's not about Vue (or React for that matter). Incompetent developers will take whatever tools they have at their disposal and turn a few hours project into an unmaintainable monstrosity.

True, but in my experience a lot of younger developers have been trained to think in frameworks all the way, with the result of growing a dangerous fondness for unnecessary complexity. To them, I feel, turning something easy into an opaque mess that the client is of course too dumb too appreciate, let alone understand, is a sign of quality and somehow a matter of pride. For the aforementioned project, that I could ha…

It's a syndrome of modern web dev, killing mosquitoes with bazookas

Re: Tiny websites are great

#220
post #215

Earlier quoted context omitted.

Oh that would be fantastic! Where will this template show up? I didn't know Gitlab had CI templates. How do you upload files without WebDAV? As far as I know, there's no API. BTW I'm not sure if it still exists, but they had a lifetime supporter account, where you can get a lifetime subscription for $100 in Bitcoin. I got it to support the effort, though I don't really use it, but a bunch of Terabytes of bandwidth an…

Once merged and in a release, it will show up on the new project page, after selecting "create from template": https://gitlab.com/projects/new This uses their official CLI RubyGem along with the token you can get through the web interface.

In case you need some more documentation around these templates, here is our relevant docs page: https://docs.gitlab.com/ee/ci/yaml/#workflowrules-templates , sharing as a community advocate at GitLab.
Post reply on HN