create account

RE: Python IPFS simple manger by hyperz

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @jjvilm/python-ipfs-simple-manger

· @hyperz ·
Hmm, I guess there are no peers online at the moment that have the file because it's not loading. I'd love to take a look at it since I've been messing around with IPFS myself. More specifically, trying to build an index of everything available on the IPFS network. But I'm having a hard time finding the filename of hashes. Doing something like `file/ls <hash>` returns all info needed except for the filename... :(
properties (22)
authorhyperz
permlinkre-jjvilm-python-ipfs-simple-manger-20180211t130214993z
categorypython
json_metadata{"tags":["python"],"app":"steemit/0.1"}
created2018-02-11 13:02:54
last_update2018-02-11 13:02:54
depth1
children2
last_payout2018-02-18 13:02:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length416
author_reputation18,481,975
root_title"Python IPFS simple manger"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id36,666,007
net_rshares0
@jjvilm · (edited)
Sorry I kept modifying the file and unpinning. And I haven't delved too deep into finding out other peoples file names from their hashed content.  I get the name from files already in your local storage. Anyway, I  opted to simple use IPNS to change the file when I update it again.  It should work now.  if not try it at www.github.com/jjvilm/tools (the file is called Clipfsman.py (short for client ipfs manager lol)
Thanks for you intrest, let me know what you think of it.  I love! the concept of IPFS, it definitely is still needing a better way to manager hashes and what not, so yesterday I coded for a good time and that file was the result.
properties (22)
authorjjvilm
permlinkre-hyperz-re-jjvilm-python-ipfs-simple-manger-20180211t222629990z
categorypython
json_metadata{"tags":["python"],"app":"steemit/0.1"}
created2018-02-11 22:26:30
last_update2018-02-11 22:33:51
depth2
children1
last_payout2018-02-18 22:26:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length649
author_reputation52,916,695
root_title"Python IPFS simple manger"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id36,772,153
net_rshares0
@hyperz · (edited)
Ah I see. I thought you were able to resolve the name of any given hash. The only reliable method I found for that is knowing the root hash (ie resolving the name hash of a peer) or finding the parent hash. Doing `ls` on anything else will only show the names of any links but not that hash itself. It's very frustrating. I currently get these results with scraping DHT logs and resolving+ls'ing swarm peer names: [https://i.imgur.com/iyXY2jp.png](https://i.imgur.com/iyXY2jp.png)
👍  
properties (23)
authorhyperz
permlinkre-jjvilm-re-hyperz-re-jjvilm-python-ipfs-simple-manger-20180212t004906389z
categorypython
json_metadata{"tags":["python"],"links":["https://i.imgur.com/iyXY2jp.png"],"app":"steemit/0.1"}
created2018-02-12 00:49:45
last_update2018-02-12 00:50:15
depth3
children0
last_payout2018-02-19 00:49:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length480
author_reputation18,481,975
root_title"Python IPFS simple manger"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id36,795,252
net_rshares614,467,258
author_curate_reward""
vote details (1)