Single Source of Truth
Web
Web App: Media Tray
New Post
- Preview of local images to be uploaded.
Edit Post
- Preview of local images to be uploaded.
- What is already uploaded
- Click to insert image code
Probably too complicated to manage.
Web App Todo List
- 记住最后选中的 Planet
- Open Planet in a new Window
- Edit a Post
- Check and fix publish via API
- Cache buster when loading a list of articles or planets
- 类似 Robinhood Desktop Web 的左右滚动逻辑
- TextArea font
- TextArea autocomplete for Markdown
- Cache buster for article link
- More modern JS for all the page logic
- Edit should not reset post date (API issue)
Other Nice Things to Have
- Peers info
- Planet server version
- IPFS info
Probably?
- Vapor TLS support https://docs.vapor.codes/advanced/server/
Web App Distribution
What would be the best way to distribute this?
- Download the latest zip from GitHub and overwrite the local folder
- If the local folder has
.git
, do not overwrite
理想情况是,我每次 git push 之后,就会自动在 GitHub 上生成一个 zip 包,可能可以用 commit number 作为文件名。
如果 commit number 大于本地的,那么 Planet App 就更新。
This will be the next.