0.33.0-alpha-3
Webnative App Template
Todo:
Begin port to Svelte!
Replace "Jess's mumblr" static text at top of generated blog with user's name or something more generic
Replace the About text with user's text
Move things from this file into GitHub Issues and start using GitHub to track progress
Note browser incompatibility
High-level goal: Get the proof-of-concept to the point where non-developers can use it.
Things to improve:
postedAt
date to frontmatterpostedAt
format from date to full timestampIt was the "Import Size" extension that was slowing down VS Code!
Today's goal:
Build whenever I click "publish"
Document how to point a DNS entry at some files in IPFS
Remove the "Title" field in mumblr
FileContents and FileContentsRaw are not adequately documented in the Fission WebNative docs.
I want a function that I can call from anywhere that will rebuild the site and re-publish.
Logged Out
The analogue to the traditional "logged out" state is mumblr is not currently connected to a filesystem, or rather doesn't have any active permissions. Either the user has one and hasn't granted permission, or they don't have one yet and need to create one.
Connecting a different account
Often login/logout on personal computers are due to needing to access different resources. More sophisticated applications allow you to be "logged in" with multiple accounts simultaneously and switch between them. I think that model fits well with WN.
Disconnecting
Sometimes I want to disconnect this application from accessing my filesystem resources. Either it has lost my trust, or I no longer intend to use it, or something. I want to keep my files, but not allow this application to edit them.
Really, actually logging out
How do I go about preventing users from coming along and using my keys, on my computer, to do things with my applications? Something like "locking my wallet" could be an answer?
I think I finally see where you're going with eschewing the language of "log in" and "log out." For a shared computer, there is a question of how would I even get my keys onto this device (or off it, more likely) in order to access my personal resources. But that's a key management issue.
Things to ask about:
Things to ask about:
Would be nice to have a test harness set up to extract functionality and write unit tests around them
IPFS startup time is long. Would be nice to have a faster start-up time or take advantage of an IPFS node that's already running? Essentially, want to be able to execute the script more quickly.
Keep in mind that it's possible to delay when we load the filesystem
initialize
function for whether to load it or not:const { permissions } = wn.initialise({ loadFileSystem: false })
DNS for looking up a DID and for looking up Root CID
Figure out how to check for undefined
with the front-matter
library when it attempts to parse a markdown file that doesn't have frontmatter.
How can I get a stable name / URL for a directory and look up the newest content in that directory?
How should I trigger a build of the new site whenever the files change in IPFS?
Log a defect in Drive: going back
Learn about IPNS
Blocked by "versions..."
Today's goal: Order the posts by "posted at" date.
After stream todos:
Today's Goal: Get an end-to-end setup working. Write a blog post in mumblr, view that blog post in an html page on the web somewhere.
Intro
Welcome to "coding with Jess" - where you code along with me while I build a thing.
Why am I building mumblr?
To learn about decentralized applications
To learn TypeScript
Here's what we know so far: