-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dat / ready-to-use #3
Comments
a figma napkin sketch to get this idea out there. There are some other interesting ideas that popped up when I was thinking about this. Communities could seed dat sneakernets like this proposal https://github.com/m-onz/hyperdat-paper that are one click ways of joining a mass swarm for your neighborhood or learning-group One route might be to essentially fork hashbase - or make a similar service with a focus on self hosting and management. |
I have a rasp pi image which does something very similar. |
@neauoire this would be a big help. Does your tool have a front end for adding sites yet? |
No, as I think that would be more cumbersome than not. Managing RPi through SSH seems like the way to do it. I could build a To monitor traffic I use the dat tools to see the number of peers, but could be added to the |
I'm seeing the value in building a GUI that's accessible via if @neauoire is happy to provide his code, I'd be happy writing a |
likewise, this could tie into the |
That sounds good, you can control the backend tools easily, as everything I'm doing for this is So, just to make sure I'm understanding correctly. The end game is:
|
yeah, everything here resonates strongly — something you can literally plug into a wall and browse to on a phone or laptop nearby would be incredible |
yeah, you can def start off with what cal has defined above! in general, a lot of our works are longer-term/form in nature (and will likely evolve over time) but there's nothing stopping us from getting something out there now |
I think you can start with the above - it was a super quick sketch though. @louiscenter I can also write the front-end with you. Here is the working document. I will look at this a bit more seriously tonight and maybe we can work through comments on the figma. I think we should aim for what @neauoire has outlined above. Can we also add the ability to confiugure custom domain names to the tool the way dathttd does? Also eventually being able to get this on a droplet via docker may be a really valuable step too. Also, how should we align the pieces of this project? We may want to start a team/project repo to align a bit more so there is a single source and open some of these ideas as single issues. Are you all ok with doing it in newcomputers org? |
Assign me a repo and I will use it to assemble the parts for the backend. |
@callil spin up any repos within newcomputers and lets give it a go! I'm happy to setup the skeleton for the front-end if you give me a repo to work from |
Actually - let's keep this repo for this project I'll move the rest to a guides repo unless someone has major objections. |
couple more things to clarify:
|
my feeling is that there should be a repo for a front-end app, a repo for @neauoire's node scripts, then we can use this repo for the rpi image that wraps all these together. |
Both
As of now, I have a RPi image, that automatically serves a control panel(it just says hello, really) upon connection to USB power, the site that it serves is It's missing a few things:
|
yo this sounds awesome! i'm down to contribute some to the design of the interface. |
wow this is great, happy to contribute to the design as well if an extra hand is needed. |
I've made a releasable version of my RPi seeder. It's very primitive and has a very ugly frontend, but it works and it's fairly simple: https://github.com/kodedninja/seeder. Also, hell yeah, I would like to contribute! |
So, I've been trying to tackle this over the weekend and most of the plan is working but I'm having the following issue, if anyone have any insight, I'd love to hear: Whenever I run a dat server over dat, over night(using I've had the same issue with the Pi Zero W, and the 2B+. So I've ran a log throughout last night, and what happens is that even tho nobody is trying to connect to the Pi. The memory usage increases and increases, and the device takes increasingly more power and does a sort of kernel panic for a while, then comes back back, breaking the wifi connection stuff. Anyone managed to server a dat site for more than 6-7 hours? |
@neauoire currently I'm seeding 7 sites with my seeder pi and it was seeding through the night. Everything looks good. I have a Model B. |
I got myself a shorter, newer fast charging USB wire. |
Okay the problem is gone. It was a power issue, I saw someone else having the same problem and a new USB wire seems to have fixed it. |
Are you monitoring @pfrazee's Homebase? |
[chiming in to say that i've been following this closely, and i'd love to be added to new-computers to help contribute :] |
@neauoire looks like home base will do most of what we are discussing on the back end. I'm particularly excited by the beaker pinning api it hints at. I wonder what @pfrazee is planning to do for front-end work and I think it's still very worth while to work on getting things closer to plug and play once that lands. @cblgh yay super excited to have you here - check out https://github.com/new-computers/seeder for the latest applied stuff from this discussion |
Please add me new-computers too, I want to be an official contributor. I can dedicate time and effort to this project. I can also test stuff on all the available raspberry Pis and with different network conditions (real and simulated). |
@m-onz done - sorry I thought I had already got you in here |
Initial thoughts on how this tool might develop
dat-ready-to-use would be a no-config rpi setup that would drastically simplify the UX of being a part of the dat network.
For instance:
Some sort of front-end gets you the ability to add custom urls - fine tune peering settings etc.
This tool could be especially useful when connected to mesh networks or small local networks to instantly peer and support access to content and services within the network.
It can also act as a proxy for a regular users beaker browser pinning habits. Maybe beaker can build in a small utility to turn on peer mirroring so this node would automatically add any pinned sites in beaker to the list.
It may also be interesting to eventually think of this tool as less of a mirroring tool, but actually the permanent peer through which services like social networks on dat run. With multi-writer people would get the ability to edit permissions and their own information from any computer provided they can authenticate the private key (like google authenticator)
The text was updated successfully, but these errors were encountered: