-
Notifications
You must be signed in to change notification settings - Fork 864
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
feat: Specify IPFS node on the network instead of running localy #2441
Comments
Thanks for submitting this issue @IngwiePhoenix, did you try using the standalone webui? you can find it here: https://webui.ipfs.io, you can set the API address in the settings: https://webui.ipfs.io/#/settings. Your node also ships with webui which can be reached here: Thanks! |
Hello @whizzkid ! I do use the WebUI to see the settings and adjust the configuration, and for that it is very helpful. However, I really like the convenience of having context menu entries in Windows Explorer to quickly add files to my IPFS node, which I can then use to share files with my friends. The only alternative I have found so far is using ShareX and creating a custom integration that would Since I move between my Desktop, Laptop and my Phone a lot, my idea was to use a central IPFS node as the main "gateway" or "service" to share my files with. It is super convenient, after all. For now, I have just uploaded files via the WebUI manually for the time being. But in the future, I would like to be able to just use the context menu entry instead to do so. Thanks! |
You probably meant @whizzzkid :) |
Thanks @IngwiePhoenix for the quick revert, and apologies to whizzkid for unnecessary noise. Looks like there has been some effort in the past and got shut down: But most of that work was to replace the implementation between go-ipfs (now kubo) and js-ipfs (now helia). The feature request may not be as simple as it looks, as right now The longer term vision eventually is shaping to ship binaries like the
|
damnit, derp! XD Sorry for the out of nowhere ping! ^^; |
Those suggestions sound very much like what I am looking for! :) One question, just so I got things sorted in my head: When you say API, you mean the one running on Thank you for your insight! |
@IngwiePhoenix yep, that's the RPC api. kubo does not secure/authenticate that endpoint and it's pretty much up to the host to decide how the requests get secured. IIRC there are some efforts underway on kubo to clamp down access to this API, but still no guidance on that. |
I see! Well, this shouldn't be a big problem for me; I have a good UFW setup :) Never seen that RPC before though, going to have to look into that! |
If you set your gateway api url (your single ipfs node endpoint) in settings, it should try to use that one and not boot up kubo behind the scenes. E.g. i can run different versions of kubo manually in my terminal (RC and others) and put the url to that one in the settings to use that instead of starting up the kubo version bundled with desktop |
received a request via slack today from user asking how to use a centralized node on their network as well.
|
@SgtPooki I added a tasklist to the parent comment Can you validate and if yes, I can create sub issues for those and we can prioritize this in the future. |
General thought: can SSH tunneling be used for this? It would prevent needing to write extra code and keep the security property of not exposing one's Kubo RPC endpoint |
@BigLep I believe this ask is only limited to RPC api exposed responsibly within the local area network, and not exposed to the public internet. On a different note, I think this should be a feature in kubo which verifies if rpc api is accessible via the public internet and if it is, it should not boot unless a very specific flag is passed. |
I adjusted my message to discuss the security property of not "exposing the Kubo RPC endpoint beyond localhost". Realistically unless there is a lot of demand here, I don't imagine this feature would get picked up by a core maintainer, especially if there is a way for a user to unblock themselves with an SSH tunnel (which is why I wanted to confirm that an SSH tunnel would meet the need here). |
Is your feature request related to a problem? Please describe.
I couldn't find it in the app itself, so I thought I'd take it here.
I run an IPFS node on the network which is also always reachable through VPN. Since this also has the most storage available, I would love to just use IPFS Desktop as a client, rather than an individual node.
Is there a good way to do that? If not, this is my feature request. :)
Describe the solution you'd like
Aside from selecting a custom IPFS binary, also allow selecting if a local or remote node should be used.
Describe alternatives you've considered
Allow to set a config option to do this instead.
Additional context
None I could think of, sorry.
Tasks
The text was updated successfully, but these errors were encountered: