Skip to content
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

more store add webdav and ipfs #9

Closed
wants to merge 6 commits into from

Conversation

parajbs-dev
Copy link

changelog:

  • add webdav.dart
  • add ipfs.dart

changelog:
- add webdav.dart
- add ipfs.dart
@parajbs-dev
Copy link
Author

Hello @redsolver,

I just created this PR with "webdav.dart" and "ipfs.dart".
I left out the changes in "/lib/node.dart" for now.
But I can also post.

Here are config.toml variations later for the doc:

for webdav public without password and at the end of the url there must be "/":

[store.webdavstorage]
baseUrl="https://www.webdavpublic.io/public/"
username = ""
password = ""
publicUrl="https://www.webdavpublic.io/public/"

for webdav nextcloud with password

[store.webdavstorage]
baseUrl = "https://cloud.nextcloud.de/remote.php/dav/files/webdavuser/public/"
username = "webdavuser"
password = "secure_webdavuser_password"
publicUrl = "https://cloud.nextcloud.de/index.php/s/G9X9GzL79ofoLEB/download?path=%2F&files="

for webdav hiDrive from strato.de with password and at the end of the url there must be "/":

[store.webdavstorage]
baseUrl = "https://webdavuser.hidrive.de/public/"
username = "webdavuser"
password = "secure_webdavuser_password"
publicUrl = "https://www.hidrive.de/p/G9X9GzL79ofoLEB/"

--

And for IPFS external with token:

[store.ipfsstorage]
gatewayUrl = "https://gateway.ipfs.io"
apiUrl = "https://example.ipfs-api.io"
token = "examlpeyMnTlc3R5LXRlc3R5"

And for IPFS internal without token:

[store.ipfsstorage]
gatewayUrl = "https://gateway.ipfs.io"
apiUrl = "http://127.0.0.1:5001"
tokens = ""

It works, but I think you can still improve or shorten both scripts.

What do you think of the code that I can hardly dart?

@parajbs
Copy link

parajbs commented Apr 4, 2023

A few days ago I was told that the old Synology NAS system at the Amsterdam location will be replaced with the new Qnap Systems TL-D1600S this morning.

I had access to both NAS systems yesterday and this morning before they were swapped out by our site admin to test them with the s5-node with webdav.

Since both NAS systems are 64-bit, I was even able to run the s5 node directly on the NAS systems with local storage.

Cool thing. Even the site admin in Amsterdam was enthusiastic and asked if he could help.
He said he can send the old Synology NAS to our main technology department in Germany for further locale test.

I left the old Synology NAS at the company in Amsterdam for the time being so that I can carry out further performance tests across several locations.

What I actually wanted to say is that the s5-node works with webdav from QNAP and Synology NAS.

parajbs-dev and others added 5 commits April 7, 2023 00:27
changelog:
- add webdav.dart
- add ipfs.dart
Changelog:
- create a init for ipfs.dart
- create a init for webdav
Changelog:
- new init fixes in ipfs and webdav
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants