Comments (7)
Yeah I agree, it fits in that conversation. We just need to keep gathering requirements and eventually the solutions should become obvious enough, I think
from enoki.
My only concern about site.json
is that not all dat://
projects are Beaker based (sites) and in the future they might use this configuration too.
I know sites dominate and will dominate in the future too, but more Electron based apps or else may come.
from enoki.
I can't say for sure, but I agree I might consider a less generic name unless you're certain it's going to be a very reusable schema.
from enoki.
Two other ideas:
- Enoki is focusing on the
dat://
ecosystem. Maybe this could be defined indat.json
? - The
site
configuration could be a key inpackage.json
, and we expect that to always be placed in the root directory of the archive, unlike now, which exists at/source/package.json
Zooming out a little further, @pfrazee, I wonder how we can configure applications in the dat://
ecosystem which share options, such as “Where does the content exist?”. There is already a bit of awkward overlap for this with Enoki. It stores the site title in a separate place than where the archive title is defined. This overlaps with the question of data portability, too.
from enoki.
@jondashkyle yeah I'm interested. I'm already thinking heavily about adding a generic links
attribute to the dat.json, that will work like <link>
elements (ie have href
and rel
and title
). What all do you need to store?
from enoki.
@pfrazee The most important are title
and content
, with content
being a path. Because dat.json
. For an application like Enoki there are more granular settings which I wouldn’t think another application (even in the same space) would need access to.
The more I think about this, the more it seems to relate to the broader data portability project. Perhaps dat.json
accepts a config
key, which points to wherever your app configuration json is located, and it is formatted in json-lz, although that all seems pretty involved.
from enoki.
enoki.json
is now site.json
: #17
from enoki.
Related Issues (16)
- Modularize
- Nested/repeated fields HOT 1
- [Feature request] syndication plugin for Twitter, Medium, Etc HOT 1
- Random Enoki dev experiences/thoughts HOT 2
- Running into a problem when updating my Enoki site, and then hosting it over HTTP via the Dat CLI HOT 2
- Modularize Page method HOT 3
- Caching issues over https HOT 2
- Feature Request: Ability to pass in a Hyperdrive instance HOT 4
- Testing
- Access to Enoki Panel HOT 4
- question: hasViewOrBlueprint() HOT 2
- complex yaml HOT 2
- file watch HOT 1
- gif image filetype HOT 1
- psa: helpers HOT 2
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 enoki.