Giter Site home page Giter Site logo

governoregionalacores / gcs-bucket-browser Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 1.0 739 KB

This is a simple web-based application to browse the contents of a bucket from the GCS upon user authentication.

License: Apache License 2.0

PHP 1.28% CSS 19.34% JavaScript 75.06% HTML 4.32%

gcs-bucket-browser's Introduction

Google Cloud Storage Bucket Browser

Description

This is a simple web-based application to browse the contents of a bucket from the GCS upon user authentication.

It was built using the Google PHP cloud client library and jstree.

The storage-metabucket-javascript and storage-getting-started-php projects were used as a starting point.

This build was tested in PHP version 7.1 using the official PHP docker image php:7.1-apache

Prerequisites:

google-cloud-php

$ composer require google/cloud

thephpleague/oauth2-google

$ composer require league/oauth2-google

OAuth 2.0 client

Rename conf.demo.php to conf.php and fill in with your credentials information from OAuth 2.0 client credentials previously created on Google Developers APIs

Running the application using Docker:

Run the following command in the project directory:

$ docker run -d -p 80:80 --name my-apache-php-app -v "$PWD":/var/www/html php:7.1-apache

gcs-bucket-browser's People

Contributors

ammopt avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

ammopt

gcs-bucket-browser's Issues

Show deleted objects if versioning enabled

If versioning is enabled for the bucket, have an option to show objects that were removed, but their original version still remained.

All use cases apply to these deleted objects (show metadata, download, etc) but in this case delete should be permanent.

List all previous versions of an object

The context box should have a "list all previous versions" option so the user can download or permanently delete previous versions of a particular object.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.