SgtPooki / npm-bulk-import-cid

CLI tool for importing multiple CIDs into the MFS(Mutable File System) for Kubo. A useful tool, but mostly temporary stop-gap for https://github.com/ipfs/ipfs-desktop/issues/2680
MIT License
1 stars 0 forks source link

Using the package on Windows #3

Closed asigalov61 closed 9 months ago

asigalov61 commented 9 months ago

Hey @SgtPooki ,

I was able to install and run this on my local machine (Windows 11) but it does not seem to be doing anything...

It installs the package fine, but the daemon does not appear to start:

All I see in the console is this:

Need to install the following packages: @sgtpooki/bulk-import-cid@1.0.1 Ok to proceed? (y) y

I use your example.txt for texting so there are 3 CIDS in that file.

Can you help me make it work?

Thank you very much.

Alex.

asigalov61 commented 9 months ago

@SgtPooki

Also, in Google Colab, the daemon appears to start but it seems that colab restricts the connection needed (UDP).

Starting up Kubo daemon... Reading CIDs from file at path /content/test.txt Read 1 lines from file daemon stdout: Initializing daemon... daemon stdout: daemon stdout: Kubo version: 0.23.0 daemon stdout: Repo version: 15 daemon stdout: System version: amd64/linux daemon stdout: Golang version: go1.21.1 daemon stdout: daemon stderr: 2024/02/03 08:47:08 failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes for details. daemon stderr: Shutting down...

asigalov61 commented 9 months ago

@SgtPooki A little update...

I got it working on Windows 11. The trick was to add kubo to Windows PATH vars (both system and user) and also I had to run npx package from CMD as an administrator.

MAKE SURE TO RESTART THOROUGHLY so that the paths vars can update on windows.

So it seems to be working great!!! Thank you so much!

Still does not work in Google Colab though and it would be nice to see it integrated into web-ui soon :)

Again, thank you for your great work :)

Alex

SgtPooki commented 9 months ago

@asigalov61 thanks so much for reporting back on your success. Sorry for the trouble you had, but i'm so happy you got it figured out.

agmap commented 3 months ago

Not working for me on Windows 11. Best it could be integrated in the ipfs-desktop UI. Can you please do it? I realy need such an feature.