lainchan / Ω

Lainchan's own IPFS swarm!

Cereal Killer · 2020-06-16 03:18
First of all, what is IPFS (InterPlanetary File System)? From their github page: >IPFS is a distributed file system that seeks to connect all computing devices with the same system of files. In some ways, this is similar to the original aims of the Web, but IPFS is actually more similar to a single BitTorrent swarm exchanging Git objects. IPFS has some pretty cool features, like content addressing, a buddy peers system and a mutable name system (IPNS). The content addressing means that you have only to say what file you want. If any online peer has it, IPFS will find it. The buddy system allows for exchanging files with intermittent connections. Suppose you want to get a file from someone on Mars, but atm Mars is on the other side of the Sun. Well, Mercury's orbit is pretty fast, so a buddy of yours on Mercury could fetch the file from the Mars peer, come back from the other side of the Sun and give it to you. Just tell IPFS you want a file and it will handle all that stuff. The name system means that you have a fixed address, on which you can post anything. Most people use it to post personal sites that link to files or other personal sites. Sounds pretty cool hum? So we created Lainchan's own swarm of peers. That is like a secret IPFS club only for lainons! To setup it, download IPFS from (https://ipfs.io/#install) and follow the this fool proof™ guide: http://ipfs.lain.ch:1337/ipns/QmWRELH2gSiSe5TzFRoV87EsuKv6LKP2UXyQBjSH8yy2ug/guide.html That URL http://ipfs.lain.ch:1337/ is a proxy that allows you too see IPFS content without having to run IPFS locally. Notice the second part of the URL: /ipns/QmWRELH2gSiSe5TzFRoV87EsuKv6LKP2UXyQBjSH8yy2ug Here, "ipns" is reference to the name system I mentioned and the <id> (hash) that follows is the fixed address. There are other name systems available on IPFS, but this is the default one and the one we are using. Okay, you downloaded and configured IPFS and now it is running. What can you do? You can share files with us by adding them to IPFS, as explained in the guide, and posting the <cid> (hash) here. You can create your own personal website, hosted without a central server, and share it with us. For that simply: 1. Create an txt or html file with your site contents; 2. Add it to IPFS like any other file, with "ipfs add /path/to/file". Copy the resulting <cid> (the hash). 3. Run "ipfs name publish <cid from step 2>". It will give you a result such as "Published to <id>". This is the address of your personal directory. If you lose it, you can get it from the first line of "ipfs id". Finally, you can access your personal directory by accessing http://localhost:8080/ipns/<id> on your machine. Or you can post it here (like this /ipns/<id>) and other people will be able to see your site. Here is my personal website: /ipns/QmWsQ5rkwUsapH6BpiaHfRqow1e3R8L1dwT7ewnwHKrVmj It has some info about me and links to other people websites. I can add your site to it if you want.
Ein · 2020-06-16 03:20
>>28804 In case it wasn't clear, to see my personal website: >/ipns/QmWsQ5rkwUsapH6BpiaHfRqow1e3R8L1dwT7ewnwHKrVmj access http://localhost:8080/ipns/QmWsQ5rkwUsapH6BpiaHfRqow1e3R8L1dwT7ewnwHKrVmj
Vasya Pupkin · 2020-06-16 04:28
>>28804 reinventing the Plan 9 file system?
Vasya Pupkin · 2020-06-16 05:04
>>28812 ah yes, 9p, the distributed hash table backed, content addressed file system with dag represented files and directories
Ivan Horvat · 2020-06-16 18:46
>>28804 >>28805 IMPORTANT: If you are getting redirected to: http://bafzbeid6xx3mqmjnfl4wrwavdskpcsa422h353mvsqz2wfdm5wicpdwk3i.ipns.localhost:8080/ when trying to access: http://localhost:8080/ipns/QmWsQ5rkwUsapH6BpiaHfRqow1e3R8L1dwT7ewnwHKrVmj replace "localhost" with "127.0.0.1". Some GNU/Linux distro have this "problem". It is a configuration matter. https://github.com/ipfs/go-ipfs/issues/7290>>28805 I've just deleted this same comment to make a correction. I'm adding this comment in hopes that it doesn't gets tagged as spam. pls work
Gyula Kovacs · 2020-06-16 18:47
>>28837 That is, if you are redirect and the browser gives a name error.
Joe Bloggs · 2020-06-16 19:37
>>28837 Ofc I soykafed the bug report link too. God why do I have to be like this. https://github.com/ipfs/go-ipfs/issues/7290
Yet Another Lainon · 2020-06-17 04:53
So, is this just a piracy thing or a free blog thing? I saw that it was used to circumvent some things - But it seems like it is more of a "no one can take it down" thing than a "good luck fuarrrking find me and my opinions" thing. Could we encrypt everything similar to DDT? Maybe if you do not have the specific key, you'll just get a generic "welcome to my website!" thing - But if you have a special key, you see the real content: "Hello this is my fuarrrking website and I really hate the taste of broccoli!" Thoughts? Opinions?
Hiro Protagonist · 2020-06-17 06:06
>>28855 >But it seems like it is more of a "no one can take it down" thing than a "good luck fuarrrking find me and my opinions" thing. it is best to think of IPFS as "bittorrent, but you try to run the whole web on it" yes, it has(or had) all the technical problems you would expect to come from that. >Could we encrypt everything similar to DDT? yes, that's probably one of the best ways to use it.
Jens Hansen · 2020-06-17 13:27
>>28855 I'm curious, what's DDT? Search engines are of no help clarifying this, I just get results for pesticide chemistry.
Lain Iwakura · 2020-06-17 15:37
>>28862 DDT is the system used by >>>/layer/ to hide messages in image files.
Cutter · 2020-06-17 16:48
>>28855 >So, is this just a piracy thing or a free blog thing? I Think of it as a CDN over bittorrent. You can put a blog or copyrighted material over it. I'm thinking of developing ZeroNet like sites on top of it with: https://discuss.ipfs.io/t/dynamic-websites-finally-possible-my-proposal-please-critique/8434/ > But it seems like it is more of a "no one can take it down" thing than a "good luck fuarrrking find me and my opinions" thing. It uses content addressing. This means that the address is a hash of the content. Therefore, to do that, you would need to give a different address to different people and make the content look similar.
Lain Iwakura · 2020-06-18 23:04
just wanted to say the gateway op posted is now at https://ipfs.lain.ch/
Mitnick · 2020-06-18 23:31
>>28899 >To retrieve your files, or other people’s, do: >ipfs cat QmdqYUme33Vg1myiPuPqy8BiaGe4iJqJoXvPhLbntuXPqh What is this string related to? It kinda feels random, like "just cat this big weird string".
Nguoi La · 2020-06-18 23:33
>>28901 the string is a hash of the content. https://en.wikipedia.org/wiki/Hash_function
Mitnick · 2020-06-18 23:34
>>28902 Thank you, lainon!
The Fin · 2020-06-18 23:51
I'm playing around with this now, and I'll probably post a personal site or something later. What's the best way to share collections of files? I have a pretty big music collection I'd like to share but it seems like it would be annoying to have to download songs one by one. Is there a better way to do this besides sharing a zip file? Are there ways to include metadata beyond what the file format in question supports?
Anonymous · 2020-06-19 00:21
>>28899 Followed the guide, after the ipfs daemon part and when I try to run the last command (the ipfs cat one), I got nothing.
Guthrie · 2020-06-19 01:00
>>28907 Ignore this post. I got it working now thanks to #lainchan.
Guthrie · 2020-06-19 01:14
>>28805 this keeps timing out. i assume you have to be online for me to access it (unless others pin it)?
Trinity · 2020-06-19 14:49
Learning html & css just to get my site started here. Hopefully more people decide to do the same, we could have our own web ring or something like that.
Ender · 2020-06-22 21:24
>>28925 >Trinity >doesn't know html and css Makes me think you are not the real Trinity desu. Anyways, feel free to copy my page and just change the text. /ipns/QmWsQ5rkwUsapH6BpiaHfRqow1e3R8L1dwT7ewnwHKrVmj >>28911 Depending on what GNU plus Linux distribution you are using, you might need to change localhost to 127.0.0.1. I explained it here: >>28837 This is certainly the case if you are getting redirected to blahblahblah.localhost:8080
Marly Krushkhova · 2020-06-22 21:26
>>28925 Oh, if you want to get into 1337 hacker action, check my proposal for dynamic websites (link): >>28867
Unknown · 2020-07-21 19:19
>>28862 DesuDesuTalk
John Doe · 2020-08-06 11:51
>>28804 I am trying to access IPFS through the proxy listed in the OP, Thing is I'm in Spain and because of the Catalan referendum the civil guard blocked the IPFS port, I don't know if that's the case anymore, could anyone else from Spain verify that IPFS works for them, thanks. Reference: https://en.wikipedia.org/wiki/Internet_in_Spain
Undisclosed · 2020-08-25 00:46
>>28804 Has there been any work on cutting out a minimal subset of IPFS? I'm deeply concerned by how Protocol Labs is designing it in tandem with libp2p, bitswap and IPLD despite claiming modularity on paper. A simple implementation using the moral equivalent of wget and a static webserver over tor would be far more flexible and take far less than half a decade to develop. As it is, tor & i2p aren't properly supported and can't be used safely because identity is needlessly built into the protocol. I see this pattern everywhere in the project; they seemingly want to re-invent the web all at once. It is seriously vexing.
Jim Hilger · 2020-08-25 09:49
>>30679 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARGHHHHHHHH used to think spain was a free country, but i was informed that 28 websites are blocked in Spain good thing: we spaniards are stupid, so it just a DNS block, just put OpenNIC and there you go, LMAO
Neuromancer · 2020-08-25 23:37
Trying to get a grasp of this. Could anyone explain how IPFS is different from Freenet? From what I understand, the latter puts stronger emphasis on anonymity, while IPFS is more about preserving the content. The idea seems similar though.
Tomohisa "Tom" Kanezaki · 2020-09-25 00:04
Why not this? https://collab.ipfscluster.io/#instructions
Sabo Engle · 2020-09-25 14:11
>>31608 IPFS is basically a torrent swarm while freenet is a distributed k-v database. In this way, neither actually preserve data or protect anonymity in any substantial way. IPFS uses content addressing, but does this over their own IPLD format which has optimizations for different use-cases, which means a given file can have multiple CIDs despite being the same data. Freenet has different file key types, one of which is a plain content hash, but it is up to the users to choose this one instead of more mutable or unique keys. Freenet behaves like a cache, with oft-requested data persisting while other data is garbage collected. IPFS has this mechanism, but relies more on users 'pinning' content they wish to seed. IPFS usually requires at least one pinning node to be online in order to access the data, whereas this is less the case for freenet. IPFS does not obfuscate network transactions between nodes, but 'promises' to work over tor 'someday'. Freenet uses stochastic swaps of file parts to obfuscate transactions, but does not hide you from nodes adjacent to you on the network. The main privacy & security implications (assuming tor) are: >on IPFS each node is publicly associated with all the files it is seeding or requesting >on IPFS you can DDOS a node with content A and look for nodes with content B that have also gone down - correlating them >on IPFS you normally store the whole file in an un-obfuscated format, losing plausible deniability >on freenet, nodes adjacent to you on the network can de-anonymize you >freenet lacks any solid mechanism for pinning a file anonymously to be honest both technologies are a huge disappointment.
Demeere · 2020-09-29 01:49
>>28804 is http://ipfs.lain.ch:1337 down? I can't access the guide
Ren · 2020-09-29 02:13
>>33332 Guide is at https://ipfs.lain.ch/ipns/QmWRELH2gSiSe5TzFRoV87EsuKv6LKP2UXyQBjSH8yy2ug/guide.html
Unknown · 2020-09-29 03:14
>>33336 Thanks, I tried that link earlier but It just timed out. Works fine now and I managed to install IPFS and join the swarm but I can't seem to access the WebUI (on port 5001) anybody has this problem? A quick google search tell me that maybe it's because I am on a private swarm.
Cypher · 2020-09-29 03:25
>>33121 do it for the fun that said, there is a third thing being built you probably have heard of IPFS competitor: the dat protocol actually, now its called the hypercore protocol its written in javascript but they are working on a rust implementation and the main dev himself has said this will allow hypercore to work over i2p https://hypercore-protocol.org/
Pris · 2020-09-29 08:07
behold! http://127.0.0.1:8080/ipns/12D3KooWBZLFxTdqLsRg1gD1M4jTAzgxG9ZuaKKZsVWkKrN5Ldkc
Yuki Nagato · 2020-10-06 21:12
>>33358 http://127.0.0.1:8080/ipns/12D3KooWMjFPgiSBkAfLgVaitLqAujgdV3FffLKrhYa2BXsJ7nLx
Cowboy · 2020-10-06 21:14
>>33741 the hash in case you want to ipfs cat QmXCfGHfB7awVhEpRy2SvnwooS8DQo5hPthzmwoQuiVp3v
Agent Jones · 2020-11-01 03:39
>>33105 > by running a “follower” peer (a peer without write access) thats why
Nobody special · 2020-11-01 04:08
so I got it to work remember anons that you need to export LIBP2P_FORCE_PNET=1 and export your repository path variable in every terminal session in which you use the ipfs daemon with the lain swarm settings the instructions https://ipfs.lain.ch/ipns/QmWRELH2gSiSe5TzFRoV87EsuKv6LKP2UXyQBjSH8yy2ug/guide.html ./ipfs cat QmToPdBgUU5gpHXfu15Er2PGuX6YVTsu8Rm8rtzP9hRDbA
Chani · 2020-11-01 04:40
>>35434 can any anon see my pic? ./ipfs get QmRS6k9kg6aWsVco3J8JseZygBC4448BaDWv3e3gNcJ1UZ
Zhora · 2020-11-01 16:00
>>35438 Yes. You can verify it is accessible by going to https://ipfs.lain.ch/ipfs/QmRS6k9kg6aWsVco3J8JseZygBC4448BaDWv3e3gNcJ1UZ
Tequila · 2020-11-01 16:09
>>35450 based
Anonymous · 2020-11-01 16:10
>>35450 any way of listing all that is stored in the swarm?
Nanashi No Gombe · 2020-11-02 08:47
>>35452 There is an indexer running, where you can search by filename or CID: https://ipfs-search.com/
Lady Jessica · 2020-11-02 22:26
>>35484 this only works for the greater ipfs swarm this is a private swarm