├── LICENSE ├── Makefile ├── README.md ├── bootstrap.css ├── img ├── file.png └── folder.png ├── index.html ├── index.jsx ├── ipbox.comp.js ├── ipfsapi.min.js ├── layout.css └── package.json /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Protocol Labs Inc. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | browserify -t reactify index.jsx > ipbox.comp.js 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## This repository has been archived! 2 | *This IPFS-related repository has been archived, and all issues are therefore frozen.* If you want to ask a question or open/continue a discussion related to this repo, please visit the [official IPFS forums](https://discuss.ipfs.io). 3 | 4 | We archive repos for one or more of the following reasons: 5 | - Code or content is unmaintained, and therefore might be broken 6 | - Content is outdated, and therefore may mislead readers 7 | - Code or content evolved into something else and/or has lived on in a different place 8 | - The repository or project is not active in general 9 | 10 | Please note that in order to keep the primary IPFS GitHub org tidy, most archived repos are moved into the [ipfs-inactive](https://github.com/ipfs-inactive) org. 11 | 12 | If you feel this repo should **not** be archived (or portions of it should be moved to a non-archived repo), please [reach out](https://ipfs.io/help) and let us know. Archiving can always be reversed if needed. 13 | 14 | # File Browser Thing 15 | 16 | [](http://ipn.io) 17 | [](http://ipfs.io/) 18 | [](http://webchat.freenode.net/?channels=%23ipfs) 19 | [](https://github.com/RichardLitt/standard-readme) 20 | 21 | > generic-ipfs-file-browser-ui-thing 22 | 23 | This is the beginning of a file browser UI for ipfs. 24 | 25 | ## Table of Contents 26 | 27 | - [Install](#install) 28 | - [Usage](#usage) 29 | - [Contribute](#contribute) 30 | - [Want to hack on IPFS?](#want-to-hack-on-ipfs) 31 | - [License](#license) 32 | 33 | ## Install 34 | 35 | Right now it depends on changes to [go-ipfs](https://github.com/ipfs/go-ipfs), [js-ipfs-api](https://github.com/ipfs/js-ipfs-api), and feross's [drag-drop](https://github.com/feross/drag-drop) that have not merged. If you want to try this out, there is a bit of pre-setup work you'll need to do: 36 | 37 | - Run the daemon in a way that allows different origins 38 | - Use the version of feross/drag-drop from this PR: https://github.com/feross/drag-drop/pull/5 39 | 40 | ## Usage 41 | 42 | Run this in your browser. 43 | 44 | ## Contribute 45 | 46 | Feel free to join in. All welcome. Open an [issue](https://github.com/ipfs/file-browser/issues). 47 | 48 | This repository falls under the IPFS [Code of Conduct](https://github.com/ipfs/community/blob/master/code-of-conduct.md). 49 | 50 | ### Want to hack on IPFS? 51 | 52 | [](https://github.com/ipfs/community/blob/master/contributing.md) 53 | 54 | ## License 55 | 56 | [MIT](LICENSE) © Protocol Labs Inc. 57 | -------------------------------------------------------------------------------- /img/file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfs-inactive/file-browser/3fa1964a9ac0faafc723058661b0613e1e86c0af/img/file.png -------------------------------------------------------------------------------- /img/folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipfs-inactive/file-browser/3fa1964a9ac0faafc723058661b0613e1e86c0af/img/folder.png -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 | 6 | 7 |61 | {this.props.item.Name} 62 |
63 |73 | {this.props.item.Name} 74 |
75 |88 | Size: {this.props.item.Size} 89 |
90 |91 | Hash: {this.props.item.Hash} 92 |
93 |94 | (show providers here on button click) 95 |
96 |