Build a reactive real-time Markdown-based website with Phoenix LiveView and PardallMarkdown
Cria Jogo
Demo and Tutorial of PardallMarkdown. Reactive publishing framework, filesystem-based with support for Markdown, nested hierarchies, and instant content rebuilding. Written in Elixir.
- PardallMarkdown: https://github.com/alfredbaudisch/pardall_markdown
- Completed demo project: https://github.com/alfredbaudisch/pardall_markdown_phoenix_demo
- Tutorial starter: https://github.com/alfredbaudisch/pardall_markdown_phoenix_demo/tree/tutorial-starter
- Proof of concept website (my Wiki): https://pardall.xyz
- Phoenix LiveView: https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.html
- LiveView demo: https://www.youtube.com/watch?v=MZvmYaFkNJI
Sponsor and support the work:
- PayPal: https://bit.ly/AlfredBaudischPaypal
- Join the channel as Super Member: https://bit.ly/AlfredBaudischJoinChannel
- Become a patron via Patreon: https://www.patreon.com/alfredbaudisch
Originally published on 17 Sept. 2021, on my other channel that is now merged with this channel.
Table of Contents 00:00 Introduction and demo 01:19 Skeleton project 01:59 Installation 02:45 Configuration 05:51 First post 07:26 Getting data with Repository 08:15 Post template 08:47 Instant reload 10:36 Content tree 11:49 Draft status 13:52 Custom titles 14:13 Showing single posts 16:07 Route catch-all slugs 16:46 Post slug in LiveView 17:56 Image static path 19:00 Table of contents from a Post 20:00 Single post template 21:12 Archives, taxonomy posts 24:02 Archives template 25:43 Multiple templates 27:34 Next and previous links 29:08 Taxonomy _index 30:25 Sorting 31:52 Taxonomy index content 33:46 Sidebars and content trees 38:49 Build a Documentation website 39:42 Multiple contents at once 41:26 Sidebar inside a single post 43:14 Sitemap, content and taxonomy trees 45:49 Index page with updated posts 47:16 Sitemap contd. 47:54 Content folder outside the application 50:08 Writing content offline
#elixirlang #phoenixliveview #liveview
About: PardallMarkdown is a reactive publishing framework and engine written in Elixir. Instant websites and documentation websites.
As opposed to static website generators (such as Hugo, Docusaurs, and others), with PardallMarkdown, you don't need to recompile and republish your application every time you write or modify new content. The application can be kept running indefinitely in production, and the new content re-actively gets available for consumption by your application.
The power of Erlang OTP/Beam + Elixir + Phoenix LiveView and functional programming.
My links:
156161696 Bytes