Coder Social home page Coder Social logo

dropfox's Introduction

Dropfox

A dropbox client powered by Preact, Electron and Photon.

Download Dropfox โžž

Note: building the app requires a Dropbox API Key, specified as DROPBOX_API_KEY env var.

If you need a key, generate one here.

Installation

npm install

Run for Development

Runs a local copy of Electron (via electron-prebuilt), rendering the app with Live-Reload / HMR via webpack-dev-server.

Note: you may need to reload (Cmd/Ctrl + R) after the initial Webpack build completes.

npm start

Build

To build the app for OS X, Linux, and Windows, using electron-packager:

npm run build

Platform-Specific Builds

You can also build the codebase, and then package it only for a given platform:

# build the electron & web source:
npm run build:all

# generate the package for your platform(s):
npm run build:electron:osx
npm run build:electron:linux
npm run build:electron:win

License

MIT ยฉ Jason Miller

dropfox's People

Contributors

developit avatar fdaciuk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dropfox's Issues

Does not work on OS X / node 5.10 / npm 3.8.3

After npm start I'm getting:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]~prestart: [email protected]
6 silly lifecycle [email protected]~prestart: no script for prestart, continuing
7 info lifecycle [email protected]~start: [email protected]
8 verbose lifecycle [email protected]~start: unsafe-perm in lifecycle true
9 verbose lifecycle [email protected]~start: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/maxmilovanov/projects/demoes/dropfox/node_modules/.bin:/usr/local/bin:/usr/local/lib/dnx/runtimes/dnx-coreclr-darwin-x64.1.0.0-rc1-final/bin:/Users/maxmilovanov/.dnx/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet/bin:/usr/local/git/bin:/usr/local/go/bin:/Users/maxmilovanov/go/bin
10 verbose lifecycle [email protected]~start: CWD: /Users/maxmilovanov/projects/demoes/dropfox
11 silly lifecycle [email protected]~start: Args: [ '-c',
11 silly lifecycle   'ENV=dev parallelshell \'npm run dev\' \'npm run thenelectron\'' ]
12 silly lifecycle [email protected]~start: Returned: code: 1  signal: null
13 info lifecycle [email protected]~start: Failed to exec start script
14 verbose stack Error: [email protected] start: `ENV=dev parallelshell 'npm run dev' 'npm run thenelectron'`
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:239:16)
14 verbose stack     at emitTwo (events.js:100:13)
14 verbose stack     at EventEmitter.emit (events.js:185:7)
14 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
14 verbose stack     at emitTwo (events.js:100:13)
14 verbose stack     at ChildProcess.emit (events.js:185:7)
14 verbose stack     at maybeClose (internal/child_process.js:850:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
15 verbose pkgid [email protected]
16 verbose cwd /Users/maxmilovanov/projects/demoes/dropfox
17 error Darwin 15.4.0
18 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
19 error node v5.10.0
20 error npm  v3.8.3
21 error code ELIFECYCLE
22 error [email protected] start: `ENV=dev parallelshell 'npm run dev' 'npm run thenelectron'`
22 error Exit status 1
23 error Failed at the [email protected] start script 'ENV=dev parallelshell 'npm run dev' 'npm run thenelectron''.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the dropfox package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     ENV=dev parallelshell 'npm run dev' 'npm run thenelectron'
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs dropfox
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls dropfox
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

npm install fails on Linux

Running Ubuntu 16.04 with npm 3.5.2 & node 4.2.6..

npm install results in:-

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm ERR! Linux 4.4.0-17-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

npm ERR! [email protected] postinstall: node install.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'node install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the electron-prebuilt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs electron-prebuilt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls electron-prebuilt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/alan/Development/dropfox/upstream/dropfox/npm-debug.log

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.