GithubHelp home page GithubHelp logo

cauldron's Introduction

Cauldron

An app to read, highlight, and tag PDFs.

Built in electron + react + redux.

screenshot

Install

This app requires the user to host their own firebase project. Installation involves setting up a firebase project and putting the keys in the correct place.

Install From .dmg

Download the latest .dmg from here. Double click and drag to Applications to install.

Continue to Setting up Firebase.

Build from source

cd cauldron
npm install
npm run release
open dist/Cauldron-vX.X.X.dmg

Continue to Setting up Firebase.

Setting up Firebase

Setup a firebase account and create a new project. https://firebase.google.com/

Create the config directory.

mkdir -p ~/.config/cauldron

From the project dashboard go to Settings (cog button) > Project Settings > General, add a web app. Copy the config values to json into ~/.config/cauldron/config.json into the key firebase.

{
  "firebase": { // config values goes here }
}

Next, from the project dashboard go to Settings (cog button) > Project Settings > Service Accounts > Node.js > Generate a new private key.

Move the key to the config folder.

mv ~/Downloads/XXX.json ~/.config/cauldron

Add a reference to the key in config.json.

{
  "firebase": {
    "serviceAccountPath": "~/.config/cauldron/XXX.json",
    ...
  }
}

From the project dashboard now go to Authentication > Sign-in Method and enable email/password. Now from Authentication > Users, create a user with email/password. Add the email/password to the config.json. The final config.json should look like this:

{
  "firebase": {
    "serviceAccountPath": "~/.config.json/cauldron/XXX.json",
    "apiKey": "XXXXXXXXXXXXXXXX",
    "authDomain": "<project-id>.firebaseapp.com",
    "databaseURL": "https://<project-id>.firebaseio.com",
    "projectId": "<project-id>",
    "storageBucket": "<project-id>.appspot.com",
    "messagingSenderId": "123456789",
    "appId": "1:123456789:web:123456789"
  },
  "email": "email",
  "password": "password"
}

Finally, from the project dashboard Database > Data, create a collection called pages.

cauldron's People

Contributors

avril-affine avatar kkihara avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.