Skip to content

Commit

Permalink
Improved documentation and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Neph-Oo committed Mar 9, 2021
1 parent 02c9109 commit 69c1053
Show file tree
Hide file tree
Showing 4 changed files with 291 additions and 86 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ You need go-ipfs running in the background to use this module. Currently, it has

Via LuaRocks :

`luarocks install luaipfs` [wip]
`luarocks install luaipfs`


Or compile it yourself (using make). You will need [libcurl](https://curl.se/libcurl/) (C library), [luajson](https://luarocks.org/modules/harningt/luajson), [lpeg](https://luarocks.org/modules/gvvaughan/lpeg), [luafilesystem](https://luarocks.org/modules/hisham/luafilesystem), [base64](https://luarocks.org/modules/iskolbin/base64) and [lua-protobuf](https://luarocks.org/modules/xavier-wang/lua-protobuf).
Expand All @@ -29,9 +29,9 @@ local ipfs = luaipfs:new()

And download a file from ifps:
```lua
local file = io.open("dot.gif", "w+")
local file = io.open("quick-start", "w+")
file:write(
ipfs:cat("/ipfs/QmbwqqE78Xba5z8j3CiaAMfPxjSNSda9Z9Rc5VhjyhLkt1")
ipfs:cat("/ipfs/QmQPeNsJPyVWPFDVHb77w8G42Fvo15z4bG2X8D2GhfbSXc/quick-start")
)
file:close()
```
Expand Down
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.0
Loading

0 comments on commit 69c1053

Please sign in to comment.