AgregoreWeb / agregore-browser

A minimal browser for the distributed web (Desktop version)
https://www.youtube.com/watch?v=TnYKvOQB0ts&list=PL7sG5SCUNyeYx8wnfMOUpsh7rM_g0w_cu&index=14
GNU Affero General Public License v3.0
743 stars 66 forks source link

Create file navigation app based on fetch protocol #31

Open RangerMauve opened 4 years ago

RangerMauve commented 4 years ago

Beaker has a built in library tool, I think it'd be nice to create a similar library tool that's just a hyper:// web app that uses the fetch API for inspect archive contents.

Progress is here: https://github.com/RangerMauve/hyper-navigator

More than willing to take a PR for something community based.

Next steps would be to add an extension which gives you a "view source" browser action that opens the current page

KyGost commented 4 years ago

Hahahah was about to say "Oh great, I was just thinking I needed to make one of these for KyGost/agregore-ace-ide; looks like @RangerMauve already made one!" Nope, not done yet.

I'll probably make this for the IDE, any ideas on how to link two extensions together?

Also what's the API for fetching directory contents? I couldn't see anything at RangerMauve/dat-fetch.

RangerMauve commented 4 years ago

You can list the items in a directory and ignore automatically resolving the index.html by passing in an HTTP header: https://github.com/RangerMauve/agregore-browser/blob/master/docs/Fetch-Hyper.md#fetchhypernameexampletxt-method-get-headers-x-resolve-none

I'm down to brainstorm how to make it easier.

Could you elaborate on what you mean by linking extensions together?

KyGost commented 4 years ago

Ah great, I'll take a look.

For linking extensions-- if you have, for example my IDE extension, how could you click a button to choose a file, have the (or a) file extension come up, choose a file, then it sends the file back to the IDE.

Any thoughts?

If not, should we try to make it work somehow?

KyGost commented 3 years ago

Re: above comment-- I'm just going to use APIs for both extensions and basically use extensions just to frame/redirect to said APIs. The APIs will also have linking between eachother. I might eventually make this optional.

KyGost commented 3 years ago

@RangerMauve would you like me to move my extensions over to here? If not, did you want seperate ones? Or is this issue complete?

RangerMauve commented 3 years ago

Do you think you'd be down to present your extension stuff at a comm comm meeting so we could record it and showcase it in the docs?

I haven't had time to look into it in depth yet. I think this could be marked as complete once there's a clear way to folks to view files via some docs.

KyGost commented 3 years ago

Sounds good. It's not very nice yet. Maybe a few Comm Comms away?