InterPlanetary File System (IPFS)

Technical issues/questions of an intermediate or advanced nature.
User avatar
Rava
Contributor
Contributor
Posts: 5416
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

InterPlanetary File System (IPFS)

Post#1 by Rava » 20 Oct 2023, 16:11

https://ipfs.tech/
IPFS is an open system to manage data without a central server
A Universe of Uses
IPFS's versatility shines across different industries – making it the multi-purpose tool for the decentralized age.
InterPlanetary File System
The InterPlanetary File System (IPFS) is a protocol, hypermedia and file sharing peer-to-peer network for storing and sharing data in a distributed file system. IPFS uses content-addressing to uniquely identify each file in a global namespace connecting IPFS hosts.

IPFS can among others replace the location based hypermedia server protocols http and https to distribute the World Wide Web.
Anyone on here experimented with IPFS and Porteus?

Code: Select all

root@rava:/# slapt-mod -s IPFS
go-ipfs-0.4.23-x86_64-1salix15.0  (InterPlanetary File System)
ipfs-pack-0.6.0-x86_64-1salix15.0  (filesystem packing tool for IPFS)
It is available.

Added in 5 minutes 7 seconds:
wikipedia claims the newest stable version being this:

0.23.0 / 5 October 2023; 14 days ago
To me, V0.23 sounds like a much improved version compared to V0.4…
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2098
Joined: 02 Jan 2011, 11:33
Location: italy

InterPlanetary File System (IPFS)

Post#2 by beny » 20 Oct 2023, 17:40

slackbuild have the last version on current,is easy to repack on tgz because is a debian package so no build needed.

User avatar
Rava
Contributor
Contributor
Posts: 5416
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

InterPlanetary File System (IPFS)

Post#3 by Rava » 20 Oct 2023, 17:42

beny wrote:
20 Oct 2023, 17:40
slackbuild have the last version on current,is easy to repack on tgz because is a debian package so no build needed.
Do you have the URL?
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2098
Joined: 02 Jan 2011, 11:33
Location: italy

InterPlanetary File System (IPFS)

Post#4 by beny » 20 Oct 2023, 17:49

reboot on porteus and make the packages we have also the kubo package,but is on the ipfs site and is a cli but is a 84 mb package ok reboot
https://dist.ipfs.tech/#go-ipfs

User avatar
Rava
Contributor
Contributor
Posts: 5416
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

InterPlanetary File System (IPFS)

Post#5 by Rava » 20 Oct 2023, 17:52

Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2098
Joined: 02 Jan 2011, 11:33
Location: italy

InterPlanetary File System (IPFS)

Post#6 by beny » 20 Oct 2023, 18:04

hi Rava there are two software too heavy on ipfs site kubo and ipget ,the slackbuild is for the go-ipfs and ipfs-pack

Code: Select all

 # ipfs commandline tool

This is the [ipfs](http://ipfs.io) commandline tool. It contains a full ipfs node.

## Install

To install it, move the binary somewhere in your `$PATH`:

```sh
sudo mv ipfs /usr/local/bin/ipfs
```

Or run `sudo ./install.sh` which does this for you.

## Usage

First, you must initialize your local ipfs node:

```sh
ipfs init
```

This will give you directions to get started with ipfs.
You can always get help with:

```sh
ipfs --help
```
                                                                                                     

User avatar
Rava
Contributor
Contributor
Posts: 5416
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

InterPlanetary File System (IPFS)

Post#7 by Rava » 20 Oct 2023, 19:04

beny wrote:
20 Oct 2023, 18:04
hi Rava there are two software too heavy on ipfs site kubo and ipget ,the slackbuild is for the go-ipfs and ipfs-pack

Code: Select all

 # ipfs commandline tool

This is the [ipfs](http://ipfs.io) commandline tool. It contains a full ipfs node.
The ipfs commandline tool sound sufficient, when it gives a full ipfs node.

Anyhow, which one will build a more slim but recent version?
slackbuild for go-ipfs or ipfs-pack?

Seems we do not get all 4 variants (go-ipfs - ipfs-pack - kubo - ipget) side by side to better choose from.

But your above [ code ] snippet makes it seem that the single ipfs binary is all one needs?
By that logic, it should be easy to create a minimal module (with only /usr/local/bin/ipfs in it)
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2098
Joined: 02 Jan 2011, 11:33
Location: italy

InterPlanetary File System (IPFS)

Post#8 by beny » 20 Oct 2023, 19:18

hi Rava, the brave browser have an ipfs plugin to work with the browser

Vic
Samurai
Samurai
Posts: 122
Joined: 10 Aug 2016, 05:36
Distribution: Porteux V-0.1 64 KDE
Location: Utopia in Tampa, Florida, USA

InterPlanetary File System (IPFS)

Post#9 by Vic » 21 Oct 2023, 21:36

Tried it about a year ago. Sounds really cool.

It needed to convert all the files I wanted to share to a compatible format and save them back to my drive.

Took up space I was not prepared to give up. Deal breaker.

Maybe they do it different now. I hope.

Vic

User avatar
Rava
Contributor
Contributor
Posts: 5416
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

InterPlanetary File System (IPFS)

Post#10 by Rava » 22 Oct 2023, 03:01

Vic wrote:
21 Oct 2023, 21:36
It needed to convert all the files I wanted to share to a compatible format and save them back to my drive.
That is not how a "file sharing peer-to-peer network for storing and sharing data in a distributed file system" should work. It should be up to the users to decide which files and file formats they want to share, not up to the file sharing network to force the user to convert files.

Do you recall which file formats you had to convert so that I can ask either via email or via a bug-tracing system or maybe via a forum.

Added in 38 seconds:
Vic wrote:
21 Oct 2023, 21:36
Took up space I was not prepared to give up. Deal breaker.
would be a deal breaker for me as well. Image
Cheers!
Yours Rava

Vic
Samurai
Samurai
Posts: 122
Joined: 10 Aug 2016, 05:36
Distribution: Porteux V-0.1 64 KDE
Location: Utopia in Tampa, Florida, USA

InterPlanetary File System (IPFS)

Post#11 by Vic » 22 Oct 2023, 11:49

Hi Rava.

I do not remember the file format but there was only one.

I think IPFS split everything into identical chunks with no identification as to original name. It probably makes things easier for them. Conformity.

You end up with a folder(s) of nebulous files that you serve to others.

If you had a dedicated system or drive that could be devoted to IPFS then you would be a very nice person, even more so than you are now.

Vic

User avatar
Rava
Contributor
Contributor
Posts: 5416
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

InterPlanetary File System (IPFS)

Post#12 by Rava » 22 Oct 2023, 13:01

^
If you can have a system that is online 24/7 - which in my book as a private person would only make sense when you have hardware that is extremely energy efficient.

Which I do not have, nor currently the budget to purchase.

It was more of an idea it it could be used as local file sharing for sound and video files.

But I am sure there are better ways accomplishing this. My Synology NAS was meant to serve in that way, but seems the hardware itself is damaged; the hard disk is fine, but the NAS itself would not really start and is unresponsive via LAN when I boot it up. Since I checked the drive and confirmed it's okay the NAS itself must have some damage. For now I use that 2GB 3.5" drive as external ESATA drive only. :(
Cheers!
Yours Rava

Vic
Samurai
Samurai
Posts: 122
Joined: 10 Aug 2016, 05:36
Distribution: Porteux V-0.1 64 KDE
Location: Utopia in Tampa, Florida, USA

InterPlanetary File System (IPFS)

Post#13 by Vic » 22 Oct 2023, 13:38

Hi Rava.

IPFS reminds me of the torrent program Transmission.

When you start downloading as a leech you become a seeder. As long as you leave the program on you continue to seed. Survives reboots or program restarts.

The files are not converted and are not using extra space on your drive.

The downside is you can never move them or Transmission will not be able to find them. Maybe through a symlink once you put them where you want. Have not tried that.

Have not tried to share a link with another person. That would be cool.

To me it is better than IPFS.

Vic

User avatar
Rava
Contributor
Contributor
Posts: 5416
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

InterPlanetary File System (IPFS)

Post#14 by Rava » 22 Oct 2023, 13:44

^
I only used transmission for the occasional download when some file is only available via torrent, or when a certain larger download is quickest downloaded via torrent (when the file cannot be hosted on a server that has the bandwidth for quick downloads - torrent is a brilliant way for free and open software to be distributed when you not have the cash to host servers)
But I never set up a torrent for distributing files locally.
Cheers!
Yours Rava

Vic
Samurai
Samurai
Posts: 122
Joined: 10 Aug 2016, 05:36
Distribution: Porteux V-0.1 64 KDE
Location: Utopia in Tampa, Florida, USA

InterPlanetary File System (IPFS)

Post#15 by Vic » 22 Oct 2023, 14:44

Hi Rava.

After posting I remembered about Filezilla. FTP filesharing would be the next piece of the puzzle.

The software is widely available and cross platform.

Have not used it with anyone but myself on my own lan, so I may be wrong.

Vic

Post Reply