watchrun
Hugo
watchrun | Hugo | |
---|---|---|
4 | 549 | |
85 | 72,558 | |
- | 0.8% | |
4.6 | 9.8 | |
3 months ago | 7 days ago | |
Go | Go | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
watchrun
-
Hot reloading a go website (not just recompiling)
See one approach here https://github.com/loov/watchrun/blob/master/examples/watchjs-templates/server.go and https://github.com/loov/watchrun/blob/master/examples/watchjs-live/server.go.
-
I'm new at programming and this is my first website made in a programming language (Go)
For a more complicated setup, you can take a look at https://github.com/loov/watchrun/blob/master/examples/watchjs-templates/server.go, which also auto-reloads the page.
-
Embedding files for html/template, how to add Funcs?
To avoid the loadTemplates call. However, I would use an approach that lets you live-reload the new templates when ever they change -- helps to shorten the iteration time (e.g. one approach https://github.com/loov/watchrun/blob/master/examples/watchjs-templates/server.go).
-
How to auto-reload go apps during development?
Wrote https://github.com/loov/watchrun a while ago. More details here https://egonelbre.com/project/watchrun/.
Hugo
-
Building static websites
At one point though I realized there is a scaling problem with my build minutes. I knew that golang has considerably faster builds and in my case the easy fix is swapping over to Hugo.
-
Creating excerpts in Astro
This blog is running on Hugo. It had previously been running on Jekyll. Both these SSGs ship with the ability to create excerpts from your markdown content in 1 line or thereabouts.
-
Craft Your GitHub Profile Page in 60 Seconds with Zero Code, Absolutely Free
Hugo
- Release v0.123.0 · Gohugoio/Hugo
-
Top 5 Open-Source Documentation Development Platforms of 2024
Hugo is a popular static site generator specifically designed to create websites and documentation lightning-fast. Its minimalist approach, emphasis on speed, and ease of use have made it popular among developers, technical writers, and anybody looking to construct high-quality websites without the complexity of typical CMS platforms.
-
Ask HN: Looking for lightweight personal blogging platform
As per many other comments, it sounds like a static site generator like Hugo (https://gohugo.io/) or Jekyll (https://jekyllrb.com/), hosted on GitHub Pages (https://pages.github.com/) or GitLab Pages (https://about.gitlab.com/stages-devops-lifecycle/pages/), would be a good match. If you set up GitHub Actions or GitLab CI/CD to do the build and deploy (see e.g. https://gohugo.io/hosting-and-deployment/hosting-on-github/), your normal workflow will simply be to edit markdown and do a git push to make your changes live. There are a number of pre-built themes (e.g. https://themes.gohugo.io/) you can use, and these are realtively straightforward to tweak to your requirements.
-
Get People Interested in Contributing to Your Open Project
Create the technical documentation of your project You can use any of the following options: * A wiki, like the ArchWiki that uses MediaWiki * Read the Docs, used by projects like Setuptools. Check Awesome Read the Docs for more examples. * Create a website * Create a blog, like the documentation of Blowfish, a theme for Hugo.
-
Writing a SSG in Go
Doing this made me appreciate existing SSGs like Hugo and Next.js even more👏👏
- Hugo 0.122 supports LaTeX or TeX typesetting syntax directly from Markdown
-
Why Blogging Platforms Suck
I suggest hugo: https://gohugo.io/
Generates a completely static website from MD (and other formats) files; also handles themes (including a lot of them rendering well on mobile), and different types of content - posts, articles, etc. - depending on the theme.
It's open source and, being completely static, cheap as fuck to self host.
What are some alternatives?
gin - Live reload utility for Go web servers
astro - The web framework for content-driven websites. ⭐️ Star to support our work!
kolekti - Display Musyca's database information in the terminal / Interage com Musyca e mostra as informações no terminal
MkDocs - Project documentation with Markdown.
air - ☁️ Live reload for Go apps
Pelican - Static site generator that supports Markdown and reST syntax. Powered by Python.
musyca - Your own music listening database / Seu próprio banco de dados de músicas ouvidas
eleventy 🕚⚡️ - A simpler site generator. Transforms a directory of templates (of varying types) into HTML.
Hexo - A fast, simple & powerful blog framework, powered by Node.js.
obsidian-export - Rust library and CLI to export an Obsidian vault to regular Markdown
Jekyll - :globe_with_meridians: Jekyll is a blog-aware static site generator in Ruby
SvelteKit - web development, streamlined