Hugo
obsidian-export
Our great sponsors
Hugo | obsidian-export | |
---|---|---|
476 | 21 | |
66,118 | 600 | |
1.7% | - | |
9.0 | 0.0 | |
4 days ago | 18 days ago | |
Go | Rust | |
Apache License 2.0 | 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.
Hugo
-
Github actions: Deploy a Hugo website to a FTP server
name: 🚀 Deploy to prod # Will trigger the workflow on each push to the main branch on: push: branches: - main # Allows you to run this workflow manually from the Actions tab workflow_dispatch: jobs: # The first job will build the hugo site and upload the artifact build: name: 🔧 Build Hugo site runs-on: ubuntu-latest env: HUGO_VERSION: 0.111.2 steps: - name: Install Hugo CLI run: | wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ && sudo dpkg -i ${{ runner.temp }}/hugo.deb - name: Install Dart Sass Embedded run: sudo snap install dart-sass-embedded - name: Checkout uses: actions/[email protected] with: submodules: recursive fetch-depth: 0 - name: Install Node.js dependencies run: '[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true' - name: Build with Hugo env: # For maximum backward compatibility with Hugo modules HUGO_ENVIRONMENT: production HUGO_ENV: production run: | hugo \ --gc \ --minify # We save the result as an artificat so we can use it in the next job - name: Upload artifact uses: actions/[email protected] with: name: release-artifact path: './public' # The second job will deploy the site to the FTP server using the artifact from the first job deploy: name: 🎉 Deploy runs-on: ubuntu-latest needs: build steps: - name: Checkout uses: actions/[email protected] # Download the artifact we just created - name: Download artifact uses: actions/[email protected] with: name: release-artifact path: './public' # This is the path where the artifact will be downloaded to - name: Deploy file uses: wlixcc/[email protected] with: server: ${{ vars.ftp_server }} username: ${{ vars.ftp_username }} ssh_private_key: ${{ secrets.ftp_password }} # or if you only use a password # sftp_only: true # password: ${{ secrets.ftp_password }} port: ${{ vars.ftp_port }} remote_path: '/var/www/app' # This will depend on your server local_path: './public/*' # This is the path where the artifact is located
Nowadays, it never has been easier to build and host a website for having any form of online presence. You don't even need a lot of web development knowledge. There are many tools and resources available that make the process easier than ever. One such tool is Hugo, a fast and flexible static site generator that allows users to create websites quickly and easily. In addition, deploying a Hugo site to a web server can be made even simpler through the use of Github Actions (assuming your code is hosted on github), a powerful automation tool that can be used to automatically deploy a website to a FTP server. In this article, we'll explore how to use Hugo to build a website and then deploy it to a FTP server using Github Actions, providing a step-by-step guide for those looking to get their website up and running quickly and efficiently.
-
Futuristic documentation systems in Python, part 1: aiming for more
The result of this historical evolution is that the world of static site generators has made amazing progress over the past few years and the Python ecosystem hasn't caught up with it. Nowadays there's a rich ecosystem of different options for static site generation, some of which lean more towards server side generation and simplicity (like Hugo) while others leverage Single Page Application frameworks like React.js or similar (like Docusaurus). On top of that, there are "headless CMSs" that can use some of these SSGs as a backend, offering a more sophisticated authoring experience while offloading the HTML output generation to a different component (like Decap CMS, Ghost, or Forestry).
-
Learning Azure - any practical use cases?
We are going to use an application called Hugo to generate a static website. You could of course run Hugo on your own machine - but to flex your muscles in Azure, we're going to stand up a VM. You'll then be able to experiment with different ways to host this static website within Azure. First, create a resource group to house the authoring workload:
-
Building a Serverless Post Scheduler For Static Websites
My blog is a static site hosted in AWS Amplify. There's no dynamic content on it at all. I push Markdown files to the main branch of my site repo in GitHub and Amplify builds it with Hugo. Hugo renders the Markdown as HTML and drops it in an S3 bucket behind a CloudFront distribution.
- Software für Blog?
-
Minimum Viable Hugo – No CSS, no JavaScript, 1 static HTML page to start you off
Hugo is not made for minimum viable blogs. Its advantage in performance only becomes important for bigger websites or blogs with thousands of articles. But especially for bigger websites it should be possible to auto-generate a good archive. However the developers of Hugo stubbornly refuse to fix this very important 8 year old issue: https://github.com/gohugoio/hugo/issues/448
-
I am trying to create a STATIC blog for a long time but I am stuck with where to store all these files.
If you don't feel like you need to create it from scratch (as in: if you want to have a static blog or website, and you don't mind if you didn't code every little aspect of it), I'd recommend using a generator like Jekyll, Gatsby or Hugo. And even if you don't directly use them, you can learn a bit on how they do this sort of implementation.
-
Bearclaw – tiny static site generator with RSS
Hey thanks for looking :) hugo has a lot more moving parts, and a lot more dependencies [0]. bearclaw is written to be simple and easy to understand without instructions or learning any new paradigms about templating or frontmatter or other markup languages.
-
Jamstack Won't Replace WordPress
I had some expectations with lightweight alternatives to WP. Played some time ago with hugo (https://gohugo.io/), just wanted to set up a simple blog, couple of static pages, that i could extend any time I want.
obsidian-export
-
Using Github to write my notes has helped me retain knowledge immensely.
I use this obsidian-export CLI program to convert prior to pushing to my repo and it's been working pretty well. This gives me a read-only version of my notes that is accessible from devices I don't have obsidian on (work laptop, for example).
-
Personal knowledge base: Any tool/software suggestions?
If you limit your use of third party plugins, you can always use https://github.com/zoni/obsidian-export for this as well. I originally built it for exactly this use case (but now also use it as a crucial step in my pipeline to publish content to my own website)
-
A free + simple + good looking alternative to Obsidian Publish!
It came from here! https://github.com/zoni/obsidian-export
-
A Quick Way to Share Your Obsidian PKM
If you add in obsidian-export as a build step (disclaimer: I'm the author), there is no need for people to change their Obsidian settings. Obsidian-export turns WikiLinks into regular Markdown links (and it flattens embedded notes) :)
Worth noting I maintain a project which does exactly this: https://github.com/zoni/obsidian-export
-
D&D template?
I have similar folders to [Oudwin](https://www.reddit.com/user/Oudwin/)... - dm - _inbox - assets - checklist - communications - research-reference - elements - sessions Additionally, I have had reasonable success using [obsidian-export](https://github.com/zoni/obsidian-export) to export my Obsidian vault to CommonMark. From there you have more options. I then build html pages using [mdbook](https://rust-lang.github.io/mdBook/) to control the information that is revealed to players. I am playing with using [MkDocs](https://www.mkdocs.org/) to see if it offers more control/flexibility. Regardless, the /elements folder contains all the lore chunks of the world including information I keep on the PCs. The /communications and /sessions folders can contain info with links to /elements that are revealed as needed. I make heavy use of transclusion ![[CoolThingFormAnotherFolder]] to keep it a bit more elegant and some custom styles are needed to make it how it look how I wish.
-
New User - Should I stay with pure markdown or use Obsidian extra commands/syntax?
Shameless plug: obsidian-export. It will convert [[WikiLinks]] and ![[Embeds]] to plain Markdown (among a few other things) so you'll always have a way to go back if Obsidian doesn't work out the way you hoped.
-
What Settings to Use to Make Notes Created in Obsidian the Most Universally Compatible
So really you can't get what you want at all. You could try an external tool like this to export your notes to commonmark which is more widely supported. Ultimately if you are changing the path to files outside of obsidian (meaning they won't be automatically updated) you will break links. So maybe your best bet is to use wikilinks + an export tool.
-
I followed the steps in this blog and cloned my resulting repo. Now I can use Obsidian as my website CMS and text editor!
If that's something you would miss, you could hook obsidian-export into a build pipeline to convert Obsidian-flavored markdown to regular Markdown (CommonMark, really).
-
Exporting
While this would require an intermediate step, you could use https://github.com/zoni/obsidian-export to convert to regular markdown understood by pandoc in the mean time (full disclosure: I'm the author)
What are some alternatives?
obsidian-pandoc - Pandoc document export plugin for Obsidian (https://obsidian.md)
astro - Astro is the all-in-one web framework designed for speed 🏝️✨
Obsidian-MD-To-PDF - A command line python script to convert Obsidian md files to a pdf
MkDocs - Project documentation with Markdown.
Pelican - Static site generator that supports Markdown and reST syntax. Powered by Python.
OSCP-Notes-Template - A template Obsidian Vault for storing your OSCP revision notes
eleventy 🕚⚡️ - A simpler static site generator. An alternative to Jekyll. Transforms a directory of templates (of varying types) into HTML.
Zettlr - A Markdown Editor for the 21st century.
Hexo - A fast, simple & powerful blog framework, powered by Node.js.
dendron - The personal knowledge management (PKM) tool that grows as you do!
Jekyll - :globe_with_meridians: Jekyll is a blog-aware static site generator in Ruby
SvelteKit - web development, streamlined