minio/browser
2021-05-21 14:23:01 -07:00
..
app fix: missing code for browser for OIDC (#12355) 2021-05-21 14:23:01 -07:00
release fix: missing code for browser for OIDC (#12355) 2021-05-21 14:23:01 -07:00
.babelrc Revert "deprecate embedded browser (#12163)" 2021-04-30 08:50:39 -07:00
.editorconfig Revert "deprecate embedded browser (#12163)" 2021-04-30 08:50:39 -07:00
.esformatter Revert "deprecate embedded browser (#12163)" 2021-04-30 08:50:39 -07:00
.gitignore Revert "deprecate embedded browser (#12163)" 2021-04-30 08:50:39 -07:00
.prettierrc Revert "deprecate embedded browser (#12163)" 2021-04-30 08:50:39 -07:00
assets.go Revert "deprecate embedded browser (#12163)" 2021-04-30 08:50:39 -07:00
build.js Revert "deprecate embedded browser (#12163)" 2021-04-30 08:50:39 -07:00
karma.conf.js Revert "deprecate embedded browser (#12163)" 2021-04-30 08:50:39 -07:00
LICENSE Revert "deprecate embedded browser (#12163)" 2021-04-30 08:50:39 -07:00
package-lock.json fix: missing code for browser for OIDC (#12355) 2021-05-21 14:23:01 -07:00
package.json Revert "deprecate embedded browser (#12163)" 2021-04-30 08:50:39 -07:00
README.md Revert "deprecate embedded browser (#12163)" 2021-04-30 08:50:39 -07:00
staticcheck.conf Revert "deprecate embedded browser (#12163)" 2021-04-30 08:50:39 -07:00
tests.webpack.js Revert "deprecate embedded browser (#12163)" 2021-04-30 08:50:39 -07:00
webpack.config.js Revert "deprecate embedded browser (#12163)" 2021-04-30 08:50:39 -07:00
webpack.production.config.js Revert "deprecate embedded browser (#12163)" 2021-04-30 08:50:39 -07:00

MinIO File Browser

MinIO Browser provides minimal set of UI to manage buckets and objects on minio server.

Installation

Install node

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
exec -l $SHELL
nvm install stable

Install node dependencies

npm install

Generating Assets

NOTE: if you are not part of MinIO organization please do not run this yourself and submit in a PR. Static assets in PRs are allowed only for authorized users.

npm run release

This generates release in the current directory.

Run MinIO Browser with live reload

Run MinIO Browser with live reload

npm run dev

Open http://localhost:8080/minio/ in your browser to play with the application.

Run MinIO Browser with live reload on custom port

Edit browser/webpack.config.js

diff --git a/browser/webpack.config.js b/browser/webpack.config.js
index 3ccdaba..9496c56 100644
--- a/browser/webpack.config.js
+++ b/browser/webpack.config.js
@@ -58,6 +58,7 @@ var exports = {
     historyApiFallback: {
       index: '/minio/'
     },
+    port: 8888,
     proxy: {
       '/minio/webrpc': {
         target: 'http://localhost:9000',
@@ -97,7 +98,7 @@ var exports = {
 if (process.env.NODE_ENV === 'dev') {
   exports.entry = [
     'webpack/hot/dev-server',
-    'webpack-dev-server/client?http://localhost:8080',
+    'webpack-dev-server/client?http://localhost:8888',
     path.resolve(__dirname, 'app/index.js')
   ]
 }
npm run dev

Open http://localhost:8888/minio/ in your browser to play with the application.

Run MinIO Browser with live reload on any IP

Edit browser/webpack.config.js

diff --git a/browser/webpack.config.js b/browser/webpack.config.js
index 8bdbba53..139f6049 100644
--- a/browser/webpack.config.js
+++ b/browser/webpack.config.js
@@ -71,6 +71,7 @@ var exports = {
     historyApiFallback: {
       index: '/minio/'
     },
+    host: '0.0.0.0',
     proxy: {
       '/minio/webrpc': {
         target: 'http://localhost:9000',
npm run dev

Open http://IP:8080/minio/ in your browser to play with the application.

Run tests

npm run test