Quote
Hi @all, Today I and you will learn how way to making your first landing page, automation update and release that with
github-actions
. This will fast, stable, fun and easily managing what you want to release, have a sit and we will start !!! πππ
Find out the target - Reason why you need this
TLDR
Quote
Probably, you are same as me, If you figure out a new things, for example: New Technologies. You will have the spirit to learn and experience more than ever, but on the lastly, you just throw and skip to next things, Too waste and not make a memorable for yourself. Therefore, This is reason why you need make new chance, on the start, with a little bit and go up to huge things with your repeat actions - Learn, write and review. I promise It will the best experience for yourself πππ
LOL, That is long too much, skip it. However, I should tell the true and figure out why we need keep the research for you, maybe Itβs good for us to growth up. Take Note - Important actions, will help you make new practice, bookmark for you searching and keep ever what you read. And another reason, If you want contribute, share and make your knowledge reach to others people.
Problems, many problems
Although, you want to keep the blog but not having motivation, with many things note-tools
is releasing nowadays that will make you confusing for choosing the right for yourself and meets the set criteria like as
- Free, Keep forever
- Easily managing and using
- Beauty and helpful
- β¦
But brief again, you need to understand how to internet actually work, maybe from your point, End-User just simply published your HTML, your browser will read that and your contents will on internet πππ
But how we can
Like I talk about, note-tools
is releasing more ever nowadays, you will have many options for your choice. Huge name, which you need to notice like
Best for | Standout feature | Free plan | |
---|---|---|---|
Microsoft OneNote | A free option | Very freeformβclick anywhere to add text | Free for up to 5GB of notes |
Apple Notes | Apple users | Very native-feeling on Macs and iPhones, with easy syncing | Free for 5GB of storage across all iCloud services |
Google Keep | Google power users | Connected to all the Google apps, so everything is always right there | Free for 15GB of storage across all of Google apps |
Notion | Collaboration | Ridiculously feature-rich | Free for personal use |
Obsidian | Tinkerers and power note-takers | Internal bi-directional linking between notes | Free for personal use |
Joplin | Anyone looking for an Evernote alternative | Open source | Free |
I donβt have much experience for use with more note-taking
applications but Notion - The most popular & choice with some pros and cons like
Info
Notion pros:
- Best-in-class collaboration and team note-taking features
- Packs in lots of features, like task management, databases, and pretty much anything else you care to think ofΒ
Notion cons:
- If youβre looking for a personal note-taking app, it can be a bit over the top
But with me, It has some problems. If you have not fast and stable internet, It will be hard to control what you write, maybe Itβs not writable. Poor things !!! π€.
When you published things to Internet, simply you push the HTML to browser and your browser need to serve them and with specify things like language, Markdown
, you can easily resolve the problems. With Markdown
you can handle write the text with syntax and can converted into HTML, like bold, italic, align, β¦ Mark down will support that, with me, I trust and lovely two platform
So I will compare the difference between them but not today. Maybe, on the first time you will need a little bit time to understanding and use fluently markdown
syntax, but trust me, when you suitable using that, you will not skip them π―π―π― for sure
But reason why of topic is not talking about note-taking
applications, I want to share about the how delivery the your note to internet. On the others, I will publish about talk with note-talking
app
Delivery your note to Internet
Like the page you read now, The result of published note to Internet. It will include some step, you maybe need some skill for use and deploy
I am a big fan of Markdown
, Obsidian which is the best choice of me when thinks about note-taking
app. With some helpful feature like
- Free and store locally
- Published easily (Cost 10$ for months) but have way to make this
- Opensource and compatibility with huge extension
- Develop like text editor and easily usage
That reason why, I choose Obsidian to note-taking in currently for technologies, make-ideas note
Platform to release your Obsidian note
With Quartz, I think It's the best way for optimizing your price when you want publish your note, It's totally free, integrate with many plugin, make your note intuitive and easy to readInfo
Obsidian is work with markdown syntax and you can find more tools to convert this into HTML, this technical call static-site-generator. You can use this one to converting your MD file to HTML with easily and Obsidian is not exception, It work with more tools ever but trust and using template from Quartz v4 - jackyzha0, gracefully to soon as knowing this platform, Itβs tough and helpful, bridge of everything πππππ
Info
Quartz is a fast, batteries-included static-site generator that transforms Markdown content into fully functional websites. Thousands of students, developers, and teachers are already using Quartz to publish personal notes, websites, and digital gardens to the web.
Quartz with many feature and work progressing for Obsidian, so recommendation use Obsidian with Quartz to having best quality. You can find out some helpful article from Quartz like
And the end of kinds, you just need to find out place where you can free public your post. Github Pages, the best choice for self-hosted first website.
Websites for you and your projects.
Step by Step to delivery your note
Clone and setup the workspace
You need some tools like git
or curl
to doing this job. Find and download in git or curl
After download, If you use curl
, It need to extract this file but choose what ever you want, when download compress-file.
The default branch v4
when you clone from source, here is some example
Info
Strategy of quartz will build all MD in content folders to public contents and web-server will serve this public folders, kind basic right π€π€
Therefore, you shouldnβt push this public to your repository from now to future, Ignoring the conflict π. So please remember, add .gitignore
to preventing thing problems.
Download Obsidian and open content
folder with Obsidian
With Obsidian, I will recommend you install some plugin when you work with Obsidian by choosing Settings
π Community plugins
π Turn on community plugins
π Browse
and find some plugins which helpful for you like
- Excalidraw - Drawing tools in Obsidian like Draw.io but simple and flexible
- Advanced Tables - Add improved navigation, formatting, and manipulation to markdown tables in Obsidian
- Templater - Defines a templating language for your note
- Icon Shortcodes - Insert emoji and custom icons with shortcodes
Structure of folder content
and build your web
With the default load, Quartz will find index file in folder first and generate the contents. So keep mind you need to create the index.md
on the root of contents
folder like this
Example the content
folder will include two file, index.md home.md
After create that you just download package and compile your published, when compile the Quartz 4.0 requiresΒ at leastΒ NodeΒ v18.14Β andΒ npm
Β v9.3.1 to function correctly. So make sure you have and If not, Check this link for install node
npm
via nvm
Access http://localhost:8080
and you will have the page on locally
Release your blog to github-pages
With the release, Quartz will published via github-actions
, you just need to understand a little bit of CI and use this with example from GitHub Pages Hostings. Let analysis a little bit to understanding more
Something you need to concert when using this CI
- The trigger event will occur when executing
push
event intomain
branch, except another ! - permissions and concurrency , tell about the permission when run git to read credential or confirm single workflow run with group concurrency
pages
- CI will include 2 jobs, builds and deploy:
- With
build
, It will run onUbuntu-22.04
and setup environment, after that, It install package and build the contents of your site intopublic
. Lastly, It will push all artifact built to github - This one will use on next jobs. - With
deploy
, It depends on the succeed ofbuild
and useurl
config in the project and release the public intogithub-page
. Find more information about this steps in deploy-pages - GitHub Action to publish artifacts to GitHub Pages for deployments
- With
That all about CI with this workflow
. By default, The CI is including on ~/quartz/.github/workflows
but ci.yaml
is not suitable, so please save the above script into this folder with deploy.yml
Create a new repo project and configure settings for releasing project into github-page
- Create a new repo
- Setting the
pages
You need to access Settings
and go to pages
, change source from Deploy from a branch
to Github Actions
- Commit and push your pages
Warning
Remember, Enable github-action to forsure branch is push and run the workflow on
Actions
tab. Check this link
All of steps is okay now. Alright, next you need set again URL
to point the quartz
locally into remotely, this project ππππ. You can follow this step like me, basic git flow
Some workflow will be trigger, the task in currently is waiting to runners completely all jobs. And the result will be published on your github-pages, with me access <github-page>/<repository-name>
Conclusion
Abstract
With Quartz, you will have completely tool for self-hosting own blog, wiki, bookmark or what ever you want.
Github-Pages
andGithub-Actions
will take care automation and place for you deployment, easily. If you want change and apply more for your site, you need to learn them inside via Obsidian and Official Site - Quartz 4.0
Quote
That all for today, I hope you can self-hosted your page, promote and contribute more ever topics with cool stuff and helpful for community. Best thanks and graceful for Jacky Zhao with contributing the template and helpful solution for obsidian gang.
Stays safe and have fun π€π€π€π€π€