<ola>
question: I have the hash (SHA1 and SHA256) and http url of a file, I do not have the file, nor do I know if it is in ipfs. I want to check if it is in ipfs, and if not, download it and pin it. How do I do this?
<drumpfer>
the response header contains among other things
<drumpfer>
Content-Type: image/jpeg
<drumpfer>
where/how was that extrapolated?
danemacmillan has quit [Ping timeout: 258 seconds]
<drumpfer>
( the ipfs node does not contain any naming itself... or so it seems )
<r0kk3rz>
the gateway would do it
<drumpfer>
r0kk3rz: but does it simply run the equivalent of /usr/bin/file or is there some metadata I am missing?
mildred has quit [Ping timeout: 252 seconds]
<r0kk3rz>
most likely it just uses the operating systems / http servers mimetype handling
<drumpfer>
I see
<drumpfer>
do ipfs nodes even allow for some sort of mimetype metadata or somesuch...? trying to navigate through the go codebase, but not my main language, and it seems the specs are a bit behind
danemacmillan has joined #ipfs
<Kubuxu>
drumpfer: unixfs format contains metadata
<Kubuxu>
mime type is stored there
<Kubuxu>
I think.
ShaunBruce[m] has joined #ipfs
ShaunBruce[m] has left #ipfs [#ipfs]
<drumpfer>
Kubuxu: that's something to google for, led me to some presentations, thanks for the pointer
<Kubuxu>
Or not.
<Kubuxu>
We derive it from the format
<Kubuxu>
from data
<Kubuxu>
in gateway
<drumpfer>
Kubuxu: so as far as ipfs is concerned the above ...27gm9MW is truly just a bucket of bytes, and the content-type is heuristically determined, yes?
lkcl has quit [Ping timeout: 258 seconds]
<Kubuxu>
I think yes
<drumpfer>
ok, just trying to wrap my head around all of this
<Kubuxu>
lgierth might know more about that.
cemerick has quit [Ping timeout: 260 seconds]
da3mon has quit [Quit: Zzzz...]
mildred has joined #ipfs
<A124>
kobigurk API, I did add what is stated in the webui repo on github
zorba has joined #ipfs
taaem has joined #ipfs
slothbag has quit [Quit: Leaving.]
drumpfer has quit [Quit: Page closed]
rgrinberg has joined #ipfs
<kobigurk>
A124: got it, webui. dumb question: did you restart the ipfs daemon after the new config?
anewuser has joined #ipfs
<kobigurk>
if you did, did you make any changes (like the port)? the origin includes that, for example
lkcl has joined #ipfs
grncdr has quit [Ping timeout: 258 seconds]
anderspree_ has quit [Read error: Connection reset by peer]
daviddias has quit [Read error: Connection reset by peer]
anderspree_ has joined #ipfs
grncdr has joined #ipfs
daviddias has joined #ipfs
xelra has joined #ipfs
Remramm has joined #ipfs
Remramm has joined #ipfs
<A124>
kobigurk, no, I did not, but I did it via ipfs config directive.
<A124>
So maybe it is needed after all, wanted to avoid that.
<A124>
Alright, let's reboot it whole.
da3mon has joined #ipfs
bastianilso__ has quit [Quit: bastianilso__]
corvinux has joined #ipfs
Beneficence[m] has quit [Ping timeout: 258 seconds]
Beneficence[m] has joined #ipfs
cketti has joined #ipfs
lkcl has quit [Ping timeout: 260 seconds]
lkcl has joined #ipfs
mildred has quit [Ping timeout: 258 seconds]
pfrazee has joined #ipfs
tirej has quit [Ping timeout: 260 seconds]
mildred has joined #ipfs
<lgierth>
Kubuxu: yeah the gateway derives that
JesseW has joined #ipfs
da3mon has quit [Quit: Zzzz...]
ShaunBruce[m] has joined #ipfs
ashark has joined #ipfs
tirej has joined #ipfs
<Kubuxu>
lgierth: thank you for fixing all repos
<Kubuxu>
one can build unrewritten go-ipfs
<lgierth>
i'm not sure what i did
<lgierth>
we haven't used gx update-tree yet
mildred has quit [Ping timeout: 258 seconds]
Guest13472 is now known as bigbluehat
lkcl has quit [Ping timeout: 252 seconds]
<Kubuxu>
hmm
<Kubuxu>
but it works
shizy has joined #ipfs
<lgierth>
whyrusleeping might have bubbled the multihash update up
jedahan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kevina>
ploop: as far as getting in in, I really don't know. It really up to whyrusleeping
jeffl35 is now known as `Time-Warp
G-Ray has quit [Quit: Konversation terminated!]
s_kunk has quit [Ping timeout: 260 seconds]
`Time-Warp is now known as Time`Warp
Time`Warp is now known as `Time-Warp
nonaTure has joined #ipfs
locusf has joined #ipfs
jedahan has joined #ipfs
`Time-Warp is now known as jeffl35
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
ianopolous_ has quit [Remote host closed the connection]
nonaTure has quit [Ping timeout: 258 seconds]
matoro has quit [Ping timeout: 258 seconds]
chris613 has joined #ipfs
nonaTure has joined #ipfs
ygrek has quit [Ping timeout: 260 seconds]
Guest61678[m] has joined #ipfs
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
polezaivsani has joined #ipfs
cketti has quit [Quit: Leaving]
ulrichard has joined #ipfs
cemerick has quit [Ping timeout: 248 seconds]
<ashark>
kevina: thanks so much for this. Absense of this feature is the only thing standing in the way of my putting All The Things on IPFS.
Encrypt_ has quit [Quit: Dinner time!]
ianopolous_ has joined #ipfs
<kevina>
ashark: your welcome!
galois_d_ has joined #ipfs
galois_d_ has quit [Remote host closed the connection]
galois_d_ has joined #ipfs
galois_dmz has quit [Ping timeout: 258 seconds]
maxlath has quit [Ping timeout: 252 seconds]
dignifiedquire has quit [Quit: Connection closed for inactivity]
palkeo has joined #ipfs
palkeo has quit [Changing host]
palkeo has joined #ipfs
galois_d_ has quit [Ping timeout: 260 seconds]
cemerick has joined #ipfs
nonaTure has quit [Ping timeout: 258 seconds]
jivank[m] has joined #ipfs
jedahan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jedahan has joined #ipfs
rgrinberg has quit [Ping timeout: 258 seconds]
dignifiedquire has joined #ipfs
s_kunk has joined #ipfs
s_kunk has quit [Changing host]
s_kunk has joined #ipfs
ulrichard has quit [Ping timeout: 248 seconds]
matoro has joined #ipfs
sametsisartenep has quit [Quit: zZz]
ianopolous has joined #ipfs
zombu2 has quit [Ping timeout: 260 seconds]
lassulus_ has joined #ipfs
lassulus has quit [Ping timeout: 260 seconds]
captain_morgan has joined #ipfs
r04r has quit [Ping timeout: 260 seconds]
maxlath has joined #ipfs
kumavis[m] has joined #ipfs
<kumavis[m]>
matrix test
<kumavis>
irc test
ianopolous_ has quit [Ping timeout: 252 seconds]
zombu2 has joined #ipfs
bastianilso__ has quit [Ping timeout: 248 seconds]
<mib_3f232wwec>
lgierth: what about the Berlin one?
<mib_3f232wwec>
is there a schedule...?
jedahan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bastianilso__ has joined #ipfs
<lgierth>
not yet
<lgierth>
we might have the first in december
<mib_3f232wwec>
lgierth: is there a meetup group to watch for news, or that isn't setup yet either?
r04r has joined #ipfs
lassulus_ is now known as lassulus
d6e has joined #ipfs
lassulus has quit [Changing host]
lassulus has joined #ipfs
jedahan has joined #ipfs
frmendes has quit [Quit: Zzzz...]
d6e has quit [Client Quit]
sickill_ has joined #ipfs
ebarch_ has joined #ipfs
risk_ has joined #ipfs
IlanGodik_ has joined #ipfs
ogd_ has joined #ipfs
daviddias_ has joined #ipfs
nskelsey_ has joined #ipfs
zmanian____ has joined #ipfs
cmeik_ has joined #ipfs
ec_ has joined #ipfs
fxrs_ has joined #ipfs
tibor_ has joined #ipfs
sknebel_ has joined #ipfs
richardlitt_ has joined #ipfs
sknebel_ has quit [Client Quit]
voxelot has quit [Read error: Connection reset by peer]
deltab_ has joined #ipfs
voxelot has joined #ipfs
ajp_ has joined #ipfs
padz_ has joined #ipfs
wking_ has joined #ipfs
jeffl35- has joined #ipfs
M-alwi1 has joined #ipfs
Dawg[m]1 has joined #ipfs
Guest22330_ has joined #ipfs
sknebel_ has joined #ipfs
shazow_ has joined #ipfs
jeffl35 has quit [Disconnected by services]
jeffl35- is now known as jeffl35
konubinix_ has joined #ipfs
Taek has joined #ipfs
oed_ has joined #ipfs
FrozenFox has joined #ipfs
ploop_ has joined #ipfs
Foxcool has quit [Ping timeout: 260 seconds]
gorhgorh_ has joined #ipfs
bret_ has joined #ipfs
<lgierth>
mib_3f232wwec: ipfs/community repo
robmyers has quit [Read error: Connection reset by peer]
wking has quit [Killed (sinisalo.freenode.net (Nickname regained by services))]
wking_ is now known as wking
brendyn has joined #ipfs
shazow has quit [Killed (niven.freenode.net (Nickname regained by services))]
shazow_ is now known as shazow
ianopolous_ has joined #ipfs
voldyman has quit [Ping timeout: 258 seconds]
steefmin_ has joined #ipfs
pixelated has joined #ipfs
Guest22330_ has quit [Read error: Connection reset by peer]
pixelated is now known as Guest24496
robmyers has joined #ipfs
installgen2_ has joined #ipfs
tperson has joined #ipfs
BHR27 has joined #ipfs
null_rad- has joined #ipfs
elastic_dog has joined #ipfs
Guest22330_ has joined #ipfs
polezaivsani has quit [*.net *.split]
lassulus has quit [*.net *.split]
sknebel has quit [*.net *.split]
xelra has quit [*.net *.split]
daviddias has quit [*.net *.split]
kevina has quit [*.net *.split]
IlanGodik has quit [*.net *.split]
passstab has quit [*.net *.split]
null_radix has quit [*.net *.split]
fleeky_ has quit [*.net *.split]
ribasushi has quit [*.net *.split]
DarkFox has quit [*.net *.split]
jhiesey has quit [*.net *.split]
risk has quit [*.net *.split]
bret has quit [*.net *.split]
richardlitt has quit [*.net *.split]
oleavr has quit [*.net *.split]
ec has quit [*.net *.split]
lohkey has quit [*.net *.split]
sickill has quit [*.net *.split]
ebarch has quit [*.net *.split]
Guest22330 has quit [*.net *.split]
wa7son has quit [*.net *.split]
bigbluehat has quit [*.net *.split]
sugarpuff has quit [*.net *.split]
mafintosh has quit [*.net *.split]
ogd has quit [*.net *.split]
cmeik has quit [*.net *.split]
tibor has quit [*.net *.split]
Craeckie[m] has quit [*.net *.split]
M-jabl has quit [*.net *.split]
Guest46793[m] has quit [*.net *.split]
M-JayJay has quit [*.net *.split]
M-pieohpah has quit [*.net *.split]
computerfreak[m] has quit [*.net *.split]
M-AndrewGaspar has quit [*.net *.split]
Guest50383[m] has quit [*.net *.split]
onlnr has quit [*.net *.split]
Catz[m] has quit [*.net *.split]
naggie[m] has quit [*.net *.split]
M-GereG has quit [*.net *.split]
M-Amandine has quit [*.net *.split]
M-brasilikum has quit [*.net *.split]
palesz[m] has quit [*.net *.split]
pik[m]1 has quit [*.net *.split]
Ericson2314[m] has quit [*.net *.split]
torarne has quit [*.net *.split]
M-12044 has quit [*.net *.split]
M-espadrine has quit [*.net *.split]
M-HirmeS has quit [*.net *.split]
Guest19042[m] has quit [*.net *.split]
M-flyingzumwalt has quit [*.net *.split]
Remramm has quit [*.net *.split]
M-8842 has quit [*.net *.split]
edu[m] has quit [*.net *.split]
Guest52361[m] has quit [*.net *.split]
hendry[m] has quit [*.net *.split]
irx[m] has quit [*.net *.split]
Guest23322[m] has quit [*.net *.split]
Patrik[m] has quit [*.net *.split]
M-2234 has quit [*.net *.split]
M-jbenet has quit [*.net *.split]
M-2194 has quit [*.net *.split]
jivank[m] has quit [*.net *.split]
Guest21903[m] has quit [*.net *.split]
claas[m] has quit [*.net *.split]
M-krsiehl1 has quit [*.net *.split]
Taek42 has quit [*.net *.split]
ajp has quit [*.net *.split]
ylp has quit [*.net *.split]
zmanian___ has quit [*.net *.split]
nskelsey has quit [*.net *.split]
cjb has quit [*.net *.split]
bsm117532 has quit [*.net *.split]
fxrs has quit [*.net *.split]
oed has quit [*.net *.split]
xa0 has quit [*.net *.split]
brendyyn has quit [*.net *.split]
elasticdog has quit [*.net *.split]
padz has quit [*.net *.split]
ploop has quit [*.net *.split]
deltab has quit [*.net *.split]
travisperson has quit [*.net *.split]
gorhgorh has quit [*.net *.split]
poga has quit [*.net *.split]
ednilmoob has quit [*.net *.split]
bjp3 has quit [*.net *.split]
Guest95006 has quit [*.net *.split]
steefmin_ is now known as steefmin
sknebel_ has quit [Quit: sknebel_]
bjp3 has joined #ipfs
sickill_ is now known as sickill
sknebel has joined #ipfs
nskelsey_ is now known as nskelsey
ribasushi_ has joined #ipfs
ianopolous has quit [Ping timeout: 268 seconds]
cmeik_ is now known as cmeik
g215[m] has joined #ipfs
IlanGodik_ is now known as IlanGodik
risk_ is now known as risk
richardlitt_ is now known as richardlitt
ogd_ is now known as ogd
SoreGums has quit [Ping timeout: 258 seconds]
ebarch_ is now known as ebarch
bret_ has quit [Ping timeout: 250 seconds]
ec_ has quit [Ping timeout: 261 seconds]
zrl has quit [Ping timeout: 261 seconds]
<shazow>
what's the current policy on whether gx-rewriting is used or not? if libp2p requires something in go-ipfs that is gx'd like the blocks package, should it be pulled out?
Guest22330_ is now known as Guest22330
berninoz[m] has joined #ipfs
Oatmeal has joined #ipfs
tibor_ is now known as tibor
prettymuchbryce has quit [Ping timeout: 258 seconds]
<shazow>
Kubuxu: i'm trying to update the libp2p examples and looks like they depend on go-ipfs/blocks, where should i open an issue to get that decoupled?
M-thia has joined #ipfs
frmendes has joined #ipfs
<Kubuxu>
shazow: can you show it to me?
<Kubuxu>
also examples are a bit different.
ploop_ is now known as ploop
<shazow>
sec i'll push a WIP PR
bret_ is now known as bret
M-2194 has joined #ipfs
ntninja has joined #ipfs
M-krsiehl1 has joined #ipfs
henriquev has quit [Read error: Connection reset by peer]
bitspill has quit [Read error: Connection reset by peer]
bitspill has joined #ipfs
polezaivsani has quit [Remote host closed the connection]
<shazow>
Kubuxu: actually found a way to get rid of the blocks dep, working around it
<kevina>
I am trying to figure out what exactly you are attempting to do
<kevina>
If files can indeed be specified in any order than than the IsRoot() need to be used to weed out the original roots when multiple directories are specified
joshb[m] has joined #ipfs
protestContest[m has joined #ipfs
M-eitland has joined #ipfs
<kevina>
I _think_ I know what to do provided you managed to set IsRoot() correctly...
_whitelogger has joined #ipfs
up_dn has quit [Quit: Leaving]
iamme has joined #ipfs
frmendes has quit [Quit: Zzzz...]
dvn has joined #ipfs
baffo32 has joined #ipfs
<iamme>
hi! can anyone pls tell me how can I use ipfs to store data using embark framework?
<uuu_john>
yo
<uuu_john>
so, there are two 'interfaces' you can use
<uuu_john>
look up ipfs DAG
<uuu_john>
If you can treat your information like a tree / graph structure, then embark + js ipfs library can store it
<uuu_john>
you can also use the ipfs files interface
<uuu_john>
those are the two approaches i am aware of
<iamme>
do i have to write any extra code in the js file for storing the data ?
<uuu_john>
I am not super familiar with embark, but I presume there isn't an integration for it