Giter Site home page Giter Site logo

afiffrusydan / electron-s3-file-manager Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kelp404/electron-s3-file-manager

0.0 0.0 0.0 752 KB

A GUI AWS S3 file manager. It supports keyword search, download, upload and preview video.

License: MIT License

JavaScript 58.12% HTML 0.15% SCSS 41.73%

electron-s3-file-manager's Introduction

electron-s3-file-manager

A GUI AWS S3 file manager. It supports keyword search, download, upload and preview video.

search

Installation

Go to release page.

Amazon S3 pricing

https://aws.amazon.com/s3/pricing/

Create AWS S3 bucket

This project uses Access Key to access your S3 bucket, so enable "Block all public access" is ok.
https://aws.amazon.com/getting-started/hands-on/backup-files-to-amazon-s3/

Create access key

https://objectivefs.com/howto/how-to-get-amazon-s3-keys

Ths policy example:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "s3:*"
            ],
            "Resource": [
                "arn:aws:s3:::your-bucket",
                "arn:aws:s3:::your-bucket/*"
            ],
            "Condition": {
                "ForAnyValue:IpAddress": {
                    "aws:SourceIp": [
                        "0.0.0.0/0"
                    ]
                }
            }
        }
    ]
}

You can set ip whitelist at "aws:SourceIp".

Development

Run in development mode

git clone https://github.com/kelp404/electron-s3-file-manager.git
cd electron-s3-file-manager
npm install
npm start

Generate dark theme stylesheet

1. Disable dark mode.

Remove utils.loadStylesheet('dark-theme.css'); at render-process/index.js.

2. Add darkreader at renderer-process/index.js.

const darkreader = require('darkreader');

darkreader.enable({
	brightness: 100,
	contrast: 90,
	sepia: 10,
});
darkreader.exportGeneratedCSS().then(console.log);

Make database schema migration

1. Update models at src/main-process/models/data/*.js

2. Make migration script

npm run makemigration

Run database schema migration scripts

npm run runmigration

electron-s3-file-manager's People

Contributors

kelp404 avatar dependabot[bot] avatar

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.