The primary of our first PoC is a static site export that can easily be pushed to one of the popular free host providers:
https://github.com/commune-org/weird-rs/issues/3
The flow goes something like:
TODO apps provide useful prior art for the minimal UI needed.
All we really want to add to this for our PoC is a ‘generate site’ button at the bottom, which then hands over a list of links for adapter-static
to generate a site with.
well, we can actually ship a "batteries-included" dist folder and then append it with a "content.json" that is used to build the website that way we don't even need to ship any extra tooling
that way we don't even need to ship any extra tooling
heck, premade style bundles could even be fetched remotely from some github contrib raw zip source
THAT could be a good phase 2
phase 1 would be to get it to work and ship a base template dist with the app, and decide on the conventions
I am arguing for NOT shipping DENO / NODE in the very first instance we ship a prebuilt /dist that expects a /dist/content.json to be added by the app that can be manufactured in the CI/CD the content.json would look like this:
{
"style": "color:rebeccapurple",
"header": {
"text": "Denjell",
"link": "https://github.com/nothingismagick"
}
}
where "style" applies CSS overrides, and "header" is a component type with "text" and "link" elements obv we can have many other component types the nice thing about this approach, is that we can actually dogfood these components and override them INSIDE the tauri app in a second window and show a preview before they even build them
We know we've completed phase 1 of this PoC when the personal website erlend.sh
is up and running as a result of this website generator.
Possible avenues to explore:
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing