Comments (4)
so, I'm building something that is "marketing labeled" as p2p search engine for solidity source code
and it's using dat.
- You can search for code snippets to find source code which matches the snippet.
- you can then open it in an in-browser editor and deploy it from there to the ethereum blockchain
- you then get an auto-generated form (maybe think "swagger") to interact with the deployed contract
...we plan to allow users to customize this initial autogenerated form, which will then become a static website they can host on any web server to interact with the smart contract on the blockchain - given they have a wallet (e.g. like https://metamask.io)
Now - we would love to upgrade our usage of dat, so we can allow users to change/improve their frontend code with modules they choose to import/require ...all from within the browser.
from building-up-on-dat.
@serapath I was left wondering about this (nice use case). gpm
was trying to show/prove/sketch how a decentralized package manager could look like. The way it works is like this, you have a place where you store modules (npm modules) and clients that can download and at the same time seed and hence become some sort of copy of the original registry.
You can try to extract the code of the commands, removing the oclif parts and the remain code can be browserified (or webpack'd). But according what you mention, you will also need an execution container inside the browser, similar to codepen/glitch/others, and that part is out of gpm scope.
Hope this was helpful somehow, feel free to write a line to [email protected] if you need more in-depth assistance.
from building-up-on-dat.
Hi @serapath 👋 First of all thanks for reaching out!
gpm
was made with the goal in mind of showing how to create some sort of service using dat-node
. It should work as an example app. This whole repo, in fact, it is about that. Learn about dat's top level modules using some example apps.
- if not yet, but if that's planned, is there a document that would describe how that would work?
Was not planned so there isn't a doc.
- if not yet and there are also no plans - is that something that would be interesting to think about?
It would be interesting, indeed. Can you tell me more about your use case?
- or at this moment that's not feasible or desirable for certain reasons?
I don't think so. Tell me about your idea, if gpm
is not the correct place maybe we can bootstrap something different. 👍
from building-up-on-dat.
makes sense.
iframes come to mind when you say "execution container".
still - i feel that all of this only makes sense if it is a joint effort in the sense, that many people rally behind the same practice and adopt it. I don't know how to get there and just assume it's not ready, because once it is, i expect popular names to push it - that's for sure not me :D
from building-up-on-dat.
Related Issues (3)
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 building-up-on-dat.