Skip to content

Commit

Permalink
🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
olizilla committed Apr 17, 2018
0 parents commit de9882b
Show file tree
Hide file tree
Showing 20 changed files with 9,105 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"presets": [
[ "env", {
"useBuiltins": true,
"targets": {
"browsers": ["last 2 versions", "safari >= 7"]
}
}],
"preact"
],
"plugins": [
"transform-class-properties",
["transform-react-jsx", { "pragma":"preact.h" }]
]
}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/dist
/.cache
node_modules
/*.log
48 changes: 48 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Share via IPFS

> Share files with friends over IPFS
| Add files | Get files |
|-----------|-----------|
| ![](docs/add-files.png) | ![](docs/get-files.png) |

## Getting started

Ensure you have at least

- node@8
- npm@5

Then clone this repo, and install the dependencies

```
npm install
```

**For developing** you can get a [parcel] powered, live-reloading dev-version going with:

```sh
npm start
```

**For production** you can get an optimised build in the project `./dist` directory with:

```
npm run build
```

**To deploy to ipfs** run the build, ensure your local ipfs deamon is running, then:

```
npm run deploy
```

that'll add the dist dir to your local ipfs repo, and print the gateway url for that build.

## Contribute

Feel free to dive in! [Open an issue](https://github.com/tableflip/share-via-ipfs/issues/new) or submit PRs.

## License

[MIT](LICENSE) © Oli Evans
Binary file added docs/add-files.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/get-files.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit de9882b

Please sign in to comment.