Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dominictarr/yap
https://github.com/dominictarr/yap
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dominictarr/yap
- Owner: dominictarr
- License: mit
- Created: 2019-04-16T21:56:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-28T20:24:00.000Z (almost 5 years ago)
- Last Synced: 2024-08-09T12:29:05.707Z (3 months ago)
- Language: JavaScript
- Size: 119 KB
- Stars: 18
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# yap (yet-another-patch*)
_yet another_ approach to writing patchapps.
Intended for server side html rendering (like patchfoo)
with invalidation based lightweight front ends.Should also work without javascript! Please post an issue if something does not work
in your preferred browser!see also:
* [the state of yap](https://en.wikipedia.org/wiki/Yap)## how to run - git clone
```
# from git-ssb
git clone ssb://%s5UpM/TdwP+Qr2gMgzlAQ/TTBBkKz0gJKlyW7fxGPbk=.sha256 yap
# from github
git clone https://github.com/dominictarr/yap# install
cd yap
npm install
# and run
node index.js
```Navigate to `http://localhost:8005/public` with your favorite web browser (I mostly use firefox,
please post an issue if your browser doesn't work)## cache coherence
This application is based on the [coherence framework](https://github.com/dominictarr/coherence)
## plugins
this code requires the following plugins
* ssb-identities (allows switching identities)
* ssb-names (handles avatar names)
* ssb-search (full text search)## known bugs
* reupdating the page can wipe partially written responses (!!!)
## TODO
implement these all as independent routes
### views
* avatar - done
* message - done
* thread - done
* public - done
* private - done
* channel - done
* friends - done (note: ssb-names is perf bottleneck!)
* set name
* set images
* upload/link blob
* start new thread - done
* follow / unfollow / block / unblock
* gathering
* scry (meeting)
* chess
* move
* game
* ???
* git-ssb
* repo
* commit
* issue
* pr### forms / actions
* post reply - done
* recipients (include on every type, so you have instant privacy) - done
* change current identity - done, on tab and on post
* like "yup" button - done
* post (create new thread)
* translations
* attach file
* set name/image on avatar