Comments (7)
I think we can create a simple base model that does have updates.
- Every user has a namespace of files.
- The namespaces are updated with
type: site
messages, which add or remove files. - When you navigate to a user's ID, you open their latest
./index.html
. - Each user has a local namesDb, mapping
user_petname->pubkey
This way, the user-id represents a persistent application.
This also uses the existing HTML application conventions, rather than creating a new one with JS bundles.
The rest would work as you propose:
- Apps have permissions to access different apis. access to fs, net, internal apis, are all configurable in permsDb
- Permission to access appDb and permsDb are in permsDb so you can have app and permission managing apps. With this, we can bootstrap better app managing mechanisms.
from patchwork.
The problem with the user sites proposal, i think, is that it's less bootstrappable, because it requires some structure which then must be preserved. for example, adding some sort of collaboratively edited applications would be difficult, because it would still have to be published from one feed.
On the otherhand, given a simple, single attachment based app, then you could implement a user-sites model, as well as a collaborative model.
from patchwork.
Also, the user sites model is coupled to ssb, but my proposal is not.
You could use it on it's own or to build some other app store app.
That is a very good sign that it's a good idea.
we could make the app an html file instead of a javascript file, it doesn't really matter. to use a javascript file it would just mean a very simple html wrapper, so that the js file is injected into a script tag.
from patchwork.
Hm. No better way to find out if we do need a structure builtin than not to have it.
Ok, I'm on board. Let's go with the single JS file.
One of the first ones we'll need to write will inject another JS from the FS, so we can do dev.
from patchwork.
I'm a little confused. Can't ask on Patchwork, because I can't get to run today. (Disconnects, I think on Over Quota problems: see #224).
Let's see if what I think I understand is correct:
- Patchwork apps have been delegated to https://github.com/ssbc/brickhouse
- Brickhouse is a "Security-focused electron project"
- but you are thinking about moving away from Electron.
Correctamento?
I ask because I am looking for a base for networks of Value Flows native apps and @ahdinosaur keeps pointing me to Patchwork. I joined Patchwork yesterday, and am very impressed (despite its not working today, shit happens), but have tons of questions. This is one.
(P.S. you might think this is a totally crazy idea and not what patchwork was designed for... 😉 )
from patchwork.
@bhaugen this is a pretty old issue, we started on that coarse of action but decided to stay focused on the patchwork application alone. We're only now just circling back at this apps thing, so we may diverge from this thread and brickhouse, not sure
I'll respond to your other issue, we need to get you back online!
from patchwork.
RIP apps, one day 🌤 Closing!
from patchwork.
Related Issues (20)
- Deprecate depject (PoC) HOT 2
- Error on `npm start` from clean build on NixOS HOT 4
- Difficult to understand Pub Invite Error
- The Appimage client for aarch64 does not work on Manjaro-arm HOT 3
- Problem rendering image with single emoji as alt-text
- Deprecate electron-spellchecker HOT 2
- Build release pipeline with GH actions
- Allow automatic builds on arm/arm64
- Linking to a tag only shows its root message as json
- The Gateway seems not to work HOT 2
- The yarn build for arm64 does not produce a working application. HOT 10
- Block + unfollow get collapsed in timeline.
- Search gets stuck on single result HOT 1
- Colon (":") is incorrectly identified as part of a hashtag (channel) HOT 1
- Font sizes are all wrong size in (by design) HOT 5
- Deprecate depject: tracking issue HOT 1
- invalid ELF header while trying to run arm64 appimage. HOT 2
- package-lock.json not updated with release scripts
- Installation is failed using latest Homebrew
- Info about how to see old private messages HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from patchwork.