<WardCunningham>
oh, wait, I have to deploy it to wiki.org before that would work.
<WardCunningham>
I'll deploy now.
structuralist has quit [Remote host closed the connection]
structur_ has joined #ipfs
<WardCunningham>
Ok, that link should hit your localhost:8080 gateway if you just browse it.
reit has quit [Quit: Leaving]
<WardCunningham>
Try it. I'd love to know that it works for more than just me.
captain_morgan has quit [Ping timeout: 240 seconds]
robogoat has joined #ipfs
<plindner>
Just tried it, works. when I click on the image it loads the image from localhost
<JesseW>
when I click on the link, it works
<JesseW>
the image itself does not seem to be clickable, at least for me; I'll try refreshing my cache
<JesseW>
when I double click on the image, it loads it in a bigger window, but it's the same small thumbnail
wavis has joined #ipfs
<WardCunningham>
Sounds like you haven't done the CORS headers like described above.
<WardCunningham>
I've revised the page to describe this change.
structur_ has quit [Remote host closed the connection]
<WardCunningham>
It is also possible that the gateway request timed out. If I can't get the image then I revert to the thumbnail.
JesseW has quit [Ping timeout: 255 seconds]
<WardCunningham>
If you fetched it once, it should be there now. Maybe reload the browser page so that it tries again.
ljhms has quit [Ping timeout: 240 seconds]
PrinceOfPeeves has quit [Quit: Leaving]
ljhms has joined #ipfs
ygrek has joined #ipfs
<whyrusleeping>
WardCunningham: can you file an issue about this on the go-ipfs issue tracker?
<whyrusleeping>
we really shouldnt require users to modify their config to get stuff working through 8080
<WardCunningham>
there are many issues there already.
<WardCunningham>
But, yes, I will explain my use case in the issues.
<whyrusleeping>
WardCunningham: cool, thank you!
<WardCunningham>
Thank you all for helping me get this going.
structuralist has joined #ipfs
<plindner>
Also be aware if you loaded the image before changing the config that your browser will have cached the old access headers.
<whyrusleeping>
arent browsers so smart
<plindner>
seems to me that the IPFS gateway should add something to the ETag if the header generation varies..
<plindner>
HTTP headers and IPFS don’t always interact well
<whyrusleeping>
plindner: yeah, thats a good point
<plindner>
WardCunningham: check out the imagesloaded jQuery plugin, might be an easier way to accomplish what you want: http://imagesloaded.desandro.com/
<WardCunningham>
Thanks for the pointer.
<plindner>
.oO(wonders how many single-pixel gifs are in IPFS)
<voxelot>
but it's not really intuitive that you would need to do this outside of an api context
<plindner>
voxelot: that’s for the API, right?
<plindner>
(5001 vs 8080)
<voxelot>
well it says that go-ipfs needs to allow the api requests
captain_morgan has joined #ipfs
<WardCunningham>
Images are just a test case. There are many ideas for having ipfs and federated wiki working together. They are very complementary.
<WardCunningham>
I like the idea of learning about a thing on wiki and then getting the thing on ipfs. I especially like that the go version is such an easy install and doesn't have me hitting some crowded public gateway.
rgrinberg has quit [Quit: WeeChat 1.5]
rgrinberg has joined #ipfs
pfrazee has quit [Remote host closed the connection]
chris613 has quit [Quit: Leaving.]
nausea has quit [Ping timeout: 244 seconds]
nausea has joined #ipfs
nausea has joined #ipfs
nausea has quit [Changing host]
Oatmeal has quit [Ping timeout: 272 seconds]
rgrinberg has quit [Ping timeout: 240 seconds]
Foxcool has joined #ipfs
captain_morgan has quit [Ping timeout: 264 seconds]
ilmu has joined #ipfs
zorglub27 has joined #ipfs
structuralist has quit [Remote host closed the connection]
captain_morgan has joined #ipfs
zorglub27 has quit [Remote host closed the connection]
zorglub27 has joined #ipfs
ilmu has quit [Ping timeout: 248 seconds]
dignifiedquire has quit [Quit: Connection closed for inactivity]
captain_morgan has quit [Ping timeout: 244 seconds]
Foxcool has quit [Ping timeout: 265 seconds]
_whitelogger has quit [K-Lined]
_whitelogger has joined #ipfs
clownpriest has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<fleeky>
16:37:14.652 ERROR core/serve: Path Resolve error: Failed to get block for QmXq1e5jBeKhaMJJeF93XUT4WMcdbq4eDrB5d5BEBJqKKJ: context canceled gateway_handler.go:510
<fleeky>
?\
<WardCunningham>
jbenet: You are welcome. David Bovill helped me see the opportunity. Paul Rodwell provides the voice of reason.
<Kubuxu>
fleeky: it just means that file couldn't be found
<Kubuxu>
but it seems to work.
ygrek_ has joined #ipfs
ygrek has quit [Ping timeout: 248 seconds]
<Mateon1>
Kubuxu: I have to ask, "a very old version of gx", I had the same issue with gx installed with: go install github.com/whyrusleeping/gx (and gx-go the exact same way). Is that an outdated repo?
<Mateon1>
Either way, the install instructions should be updated
<victorbjelkholm>
dignifiedquire, looks awesome! Muy facil!
zorglub27 has joined #ipfs
Encrypt has quit [Ping timeout: 244 seconds]
taaem has quit [Read error: Connection reset by peer]
taaem has joined #ipfs
Oatmeal has joined #ipfs
Aeon has quit [*.net *.split]
tg has quit [*.net *.split]
Nukien has quit [*.net *.split]
kevina has quit [*.net *.split]
zombu2 has quit [*.net *.split]
xeon-enouf has quit [*.net *.split]
barnacs has quit [*.net *.split]
brendyn has quit [*.net *.split]
Aaron1011 has quit [*.net *.split]
mrpoopybuttwhole has quit [*.net *.split]
pjz has quit [*.net *.split]
wiretapped-cb has quit [*.net *.split]
Guest28238 has quit [*.net *.split]
nivekuil has quit [*.net *.split]
Arw_ has quit [*.net *.split]
teaso has quit [*.net *.split]
Guest66666 has quit [*.net *.split]
Stskeeps has quit [*.net *.split]
area has quit [*.net *.split]
lachenmayer has quit [*.net *.split]
rabbitface3 has quit [*.net *.split]
asyncsrc1 has quit [*.net *.split]
palkeo has joined #ipfs
Aeon has joined #ipfs
xeon-enouf has joined #ipfs
zombu2 has joined #ipfs
barnacs has joined #ipfs
kevina has joined #ipfs
Aaron1011 has joined #ipfs
tg has joined #ipfs
Stskeeps has joined #ipfs
pjz has joined #ipfs
area has joined #ipfs
brendyn has joined #ipfs
mrpoopybuttwhole has joined #ipfs
Guest28238 has joined #ipfs
Guest66666 has joined #ipfs
wiretapped-cb has joined #ipfs
Arw_ has joined #ipfs
teaso has joined #ipfs
nivekuil has joined #ipfs
Nukien has joined #ipfs
lachenmayer has joined #ipfs
asyncsrc1 has joined #ipfs
rabbitface3 has joined #ipfs
zorglub27 has quit [Read error: Connection reset by peer]
PrinceOfPeeves has joined #ipfs
xeon-enouf has quit [Max SendQ exceeded]
xeon-enouf has joined #ipfs
ilmu has joined #ipfs
ogd has quit [Ping timeout: 276 seconds]
<ekleog>
Hi! Just had a quick question about ipfs and secrecy: suppose I put a secret file on ipfs, does one need to know the hash beforehand to access it, or is there a way to get a list of served hashes or such? Also, same question if the file is served with a link through ipns
ogd has joined #ipfs
<Mateon1>
ekleog: One can enumerate every online peer for his IPNS entries, but unpublished IPFS hashes are secret*
<Mateon1>
*unless there's an unknown vulnerability
<Mateon1>
Also, by requesting a hash over the internet, the hash might become known, but not too sure about that. (I don't work on the internals)
<ekleog>
ok, so question would be mostly whether the hash becomes known when one requests it, I guess
palkeo has quit [Quit: Konversation terminated!]
<ekleog>
as for « One can enumerate every online peer for his IPNS entries », I don't get what this means? Is it possible to publish an IPNS entry from multiple machines now?
<Mateon1>
ekleog: By typing `ipfs swarm peers` you get the addresses for all the peers you are connected to
<Mateon1>
Currently, IPNS entries can only be published using the peer public/private keypair (public key=peer ID)
<ekleog>
hmm, and IPNS record is the peer address, right? this means a website isn't protected by knowledge of the hash, then
<ekleog>
(the use case would be having a website shared only with some friends, without going through the hassle of setting it all separated from the main network, esp. with local peer discovery etc.)
<Mateon1>
The ipfs team is working on allowing multiple ipns records per peer, so the enumeration risk might be mitigated, but I think the records are pushed to the DHT anyway, and I don't know how secret that is.
clownpriest has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nuun is now known as Nergal
<Mateon1>
ekleog: There are multiple repos related to IPFS: (https://github.com/ipfs/ipfs#project-directory), you might want to take a look at /FAQ and ask there, or some other repo if you feel it's more appropriate
ilmu has quit [Ping timeout: 260 seconds]
kaotisk-irc has quit [Ping timeout: 260 seconds]
<ekleog>
Thanks!
m0ns00n has quit [Quit: quit]
<lgierth>
once you add something to you ipfs node, you're node is a provider of that hash
terence977[m] has quit [Ping timeout: 244 seconds]
M-slang has quit [Ping timeout: 244 seconds]
neuthral has joined #ipfs
Guest19040[m] has joined #ipfs
M-3630 has joined #ipfs
njm14823[m] has joined #ipfs
Guest31481[m] has joined #ipfs
<chriscool1>
noffle: thanks I am looking at it!
<_mak>
how can I copy a pinned file into another file?
<_mak>
I've pinned a file but I'm not sure how to access it now
Dawg[m] has joined #ipfs
Matthew[m] has joined #ipfs
M-cocci has joined #ipfs
Askaban[m]1 has joined #ipfs
M-onlavec has joined #ipfs
rdesfo[m] has joined #ipfs
<_mak>
is it possible to request a hash through the gateway but get the download with a different filename?
<_mak>
something that uses Content-Disposition: attachment; filename=$file_name
M-slang has joined #ipfs
<_mak>
on the header
terence977[m] has joined #ipfs
ckwaldon1 has joined #ipfs
kevina has quit [Ping timeout: 250 seconds]
kevina has joined #ipfs
ckwaldon has quit [Ping timeout: 265 seconds]
ckwaldon1 is now known as ckwaldon
anonymuse has joined #ipfs
structuralist has quit [Remote host closed the connection]
pfrazee has quit [Remote host closed the connection]
mrpoopybuttwhole has quit [Ping timeout: 250 seconds]
mrpoopybuttwhole has joined #ipfs
Oatmeal has quit [Ping timeout: 248 seconds]
Zageron has joined #ipfs
Zageron has left #ipfs [#ipfs]
<Kubuxu>
You need to add `-w` flag while adding.
<Kubuxu>
Or put it into directory manually.
<Kubuxu>
`-w` will wrap added file in directory thus preserving filename
Encrypt has joined #ipfs
<fleeky>
so i was trying to see if i could view a picture i added at ipfs.io/ipfs/hash but it doesnt seem to be working .. localhost works fine but just entering naively into the browser doesnt,, is there something i can check to make sure its getting to the outisde properly?
<Mateon1>
fleeky: Bypassing NATs in ipfs isn't perfect yet. How many peers do you see when you do `ipfs swarm peers`?
nivekuil has quit [Ping timeout: 250 seconds]
Oatmeal has joined #ipfs
asyncsrc1 has quit [Ping timeout: 250 seconds]
nivekuil has joined #ipfs
Guest28238 has quit [Quit: Leaving]
<fleeky>
about 20
asyncsrc1 has joined #ipfs
pfrazee has joined #ipfs
pfrazee has quit [Ping timeout: 244 seconds]
anonymuse has quit [Remote host closed the connection]
Encrypt has quit [Quit: Quit]
chriscool1 has quit [Ping timeout: 240 seconds]
ppham has joined #ipfs
Encrypt has joined #ipfs
Encrypt has quit [Client Quit]
Encrypt has joined #ipfs
Encrypt has quit [Client Quit]
espadrine has quit [Ping timeout: 248 seconds]
PseudoNoob has joined #ipfs
Akaibu has joined #ipfs
Encrypt has joined #ipfs
cwahlers has joined #ipfs
cwahlers_ has quit [Ping timeout: 250 seconds]
mildred has joined #ipfs
m0ns00n has quit [Quit: quit]
dyce has joined #ipfs
wallacoloo has joined #ipfs
M21634[m] has quit [Ping timeout: 244 seconds]
dawuud has quit [Ping timeout: 244 seconds]
dawuud has joined #ipfs
M21634[m] has joined #ipfs
<pinkieval>
Why does “ipfs ls /ipfs/QmYo5ZWqNW4ib1Ck4zdm6EKteX3zZWw1j4CVfKtnAzNdvu/” take forever, while “ipfs cat /ipfs/QmYo5ZWqNW4ib1Ck4zdm6EKteX3zZWw1j4CVfKtnAzNdvu/index.html” is instantaneous?
<pinkieval>
(I'm new to ipfs)
<pinkieval>
it's the same for almost any “ipfs ls” I try
<lgierth>
pinkieval: ls resolves the type of each link in that object
<lgierth>
i.e. it fetches
<lgierth>
so that i can append a slash in case of directories :)
<lgierth>
you can pass --resolve-type=false iirc
<pinkieval>
but why does it take so long to fetch them?
<pinkieval>
hmm, looks like it takes forever to get /ipfs/QmYo5ZWqNW4ib1Ck4zdm6EKteX3zZWw1j4CVfKtnAzNdvu/lunr.js too
<pinkieval>
does it mean this file is not served by anyone?
<lgierth>
yes probably
<lgierth>
you can use `ipfs dht findprovs <hash>` to find providers of a hash (peers), and `ipfs dht findpeer <peerid>` to find addresses for a peer
<pinkieval>
but /ipfs/QmYo5ZWqNW4ib1Ck4zdm6EKteX3zZWw1j4CVfKtnAzNdvu/lunr.js is said to be linked by /ipfs/QmYo5ZWqNW4ib1Ck4zdm6EKteX3zZWw1j4CVfKtnAzNdvu, right?
<lgierth>
it doesn't neccessarily mean that if the former is available, the latter is also available
<pinkieval>
oh
<pinkieval>
I thought I read that somewhere
<lgierth>
someone might have started fetching it and aborted midway through, and is now the only provider, but only with partial data of that object tree
<lgierth>
(without having taken a look at that hash)
<lgierth>
let me check in a minute
ppham has quit [Read error: Connection reset by peer]
ppham has joined #ipfs
chris613 has joined #ipfs
ppham has quit [Read error: Connection reset by peer]
ppham has joined #ipfs
ppham has quit [Read error: Connection reset by peer]
ppham has joined #ipfs
PseudoNoob has quit [Remote host closed the connection]
pfrazee has joined #ipfs
wuch has quit [Quit: WeeChat 1.5]
wuch has joined #ipfs
pfrazee has quit [Ping timeout: 265 seconds]
Encrypt has quit [Quit: Quit]
Encrypt has joined #ipfs
ljhms has quit [Ping timeout: 265 seconds]
ljhms has joined #ipfs
Encrypt has quit [Quit: Quit]
Encrypt has joined #ipfs
ljhms has quit [Ping timeout: 244 seconds]
ckwaldon has quit [Ping timeout: 248 seconds]
ljhms has joined #ipfs
ckwaldon has joined #ipfs
ppham has quit [Remote host closed the connection]
<lgierth>
did you just delete all the code that wasn't covered? :D
<Mateon1>
lgierth: Well, that would increase test coverage...
<dignifiedquire>
exactly:P
ppham has joined #ipfs
computerfreak has joined #ipfs
wuch has quit [Quit: WeeChat 1.5]
<lgierth>
pinkieval: yeah it's what i was thinking, `ipfs ls --resolve-type=false QmYo5ZWqNW4ib1Ck4zdm6EKteX3zZWw1j4CVfKtnAzNdvu` returns quickly, and it seems like lunr.min.js is the one which lacks connected providers
<lgierth>
i used `ipfs refs -r <hash>` to find out the latter
TheWhisper has quit [Ping timeout: 272 seconds]
ppham_ has joined #ipfs
ppham_ has quit [Read error: Connection reset by peer]
ppham_ has joined #ipfs
ppham has quit [Ping timeout: 248 seconds]
ppham has joined #ipfs
TheWhisper has joined #ipfs
ppham__ has joined #ipfs
mrBen2k2k2k_ has joined #ipfs
ppham_ has quit [Ping timeout: 265 seconds]
ppham has quit [Ping timeout: 255 seconds]
mrBen2k2k2k____ has joined #ipfs
ligi has joined #ipfs
wallacoloo has joined #ipfs
ligi_ has quit [Ping timeout: 244 seconds]
ppham__ has quit [Remote host closed the connection]
Oatmeal has quit [Quit: Suzie says, "TTFNs!"]
TheWhisper has quit [Ping timeout: 244 seconds]
clownpriest has joined #ipfs
ilmu has joined #ipfs
ygrek_ has joined #ipfs
matoro has quit [Ping timeout: 272 seconds]
zorba has quit [Ping timeout: 276 seconds]
ygrek_ has quit [Ping timeout: 265 seconds]
<victorbjelkholm>
dignifiedquire, nice! Really good, looking at it, we can just have those tests as data, "command" === "output array"