Sadly, I don't know Go Lang though, so my help is limited to the HTML/JS parts. π
I can probably contribute the most on the pwa repo.
# I am the Watcher. I am your guide through this vast new twtiverse. # # Usage: # https://watcher.sour.is/api/plain/users View list of users and latest twt date. # https://watcher.sour.is/api/plain/twt View all twts. # https://watcher.sour.is/api/plain/mentions?uri=:uri View all mentions for uri. # https://watcher.sour.is/api/plain/conv/:hash View all twts for a conversation subject. # # Options: # uri Filter to show a specific users twts. # offset Start index for quey. # limit Count of items to return (going back in time). # # twt range = 1 23 # self = https://watcher.sour.is/conv/m7o5dpa
yarnd
server via -t/--theme
to the directory for the pwa
theme and voila. But this is probably a bad idea, so you can largely ignore most of the templating you see there, it would only get used once to render the index.html
or /
anyway -- the PWA takes over at that point via it's Javascript and Service Worker, etc...
yarnd
server via -t/--theme
to the directory for the pwa
theme and voila. But this is probably a bad idea, so you can largely ignore most of the templating you see there, it would only get used once to render the index.html
or /
anyway -- the PWA takes over at that point via it's Javascript and Service Worker, etc...
export default function Login (vnode) {
const { context } = vnode.attrs;
return {
view: function () {
return m("twt-login",
m("form", [
m("input", {"type":"text","placeholder":"Username"}),
...
export default function Login (vnode) {
const { context } = vnode.attrs;
return {
view: function () {
return m("twt-login",
m("form", [
m("input", {"type":"text","placeholder":"Username"}),
...
yarnd
and the separate SPA/PWA with a mobile-first design and a more "native"(ish) feel π
yarnd
and the separate SPA/PWA with a mobile-first design and a more "native"(ish) feel π
=>
(arrow functions) and all the new so-called "modern" language in Javascript is just well umm crap IHMO π
=>
(arrow functions) and all the new so-called "modern" language in Javascript is just well umm crap IHMO π