Giter VIP home page Giter VIP logo

keeper-web-app's Introduction

NUNUX Keeper Web App

Your personal content curation service.

Nunux Keeper allow you to collect, organize, and display web documents.

This project is the official web frontend.

Screenshot

Table of Contents

  1. Requirements
  2. Features
  3. Installation
  4. Development server
  5. Other commands
  6. Under the hood
  7. Structure

Requirements

Docker OR Node ^5.0.0

Features

  • Welcome page
  • Login with external identity provider (Google, Twitter, etc.)
  • Manage labels to organize documents
  • Create document from scratch or from a remote location
  • Create document from another website thanks to the bookmarklet
  • Search documents with a powerful search engine
  • Share documents

Configuration

Basic project configuration can be found in etc/dev.env. Here you'll be able to redefine some parameters:

  • REACT_APP_API_ROOT: Nunux Keeper API endpoint
  • REACT_APP_DEBUG: Activate debug mode

Installation

Note that this project is "only" the web front end of the backend API of Linux Keeper. If you want to use your own API server you have to install first this project: keeper-core-api

Once configured for your needs (see section above), you can build the static Web App into the directory of your choice:

$ git clone https://github.com/nunux-keeper/keeper-web-app.git
$ cd keeper-web-app
$ make install DEPLOY_DIR=/var/www/html

Then, you can serve this directory with your favorite HTTP server.

Development server

With Node:

$ git clone https://github.com/nunux-keeper/keeper-web-app.git
$ cd keeper-web-app
$ npm install       # Install Node modules listed in ./package.json (may take a
                    # while the first time)
$ npm start         # Compile and launch

Or with Docker:

$ git clone https://github.com/nunux-keeper/keeper-web-app.git
$ cd keeper-web-app
$ make build start  # Build Docker image and start it

Other commands

Here's a brief summary of available Docker commands:

  • make help - Show available commands.
  • make build - Build Docker image.
  • make test - Start container with tests.
  • make start - Start container in foreground.
  • make deploy - Start container in background.
  • make undeploy - Stop container in background.
  • make logs - View container logs.
  • make install - Install generated site into the deployment directory.

Here's a brief summary of available NPM commands:

  • npm start - Start development server.
  • npm run build - Compiles the application to disk (~/build).
  • npm run test - Runs unit tests.
  • npm run build-css- Runs SASS to generate CSS file.

Under the hood

Structure

Here the folder structure:

.
├── build               # Builded website
├── etc                 # Configuration
├── makefiles           # Makefiles
├── public              # Static files to serve as is
├── src                 # Application source code
│   ├── api             # Backend API connector (real and mock)
│   ├── components      # App components
│   ├── layouts         # Components that dictate major page structure
│   ├── middlewares     # Components that provide context and AuthN
│   ├── store           # Redux store
│   │   └── modules     # Redux modules
│   ├── styles          # Application-wide styles
│   ├── views           # Components that live at a route
│   ├── App.js          # Application bootstrap and rendering
│   ├── Routes.js       # Application routes
│   └── index.js        # Application entry point
└── test                # Unit tests

NUNUX Keeper

Copyright (c) 2017 Nicolas CARLIER (https://github.com/ncarlier)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.


keeper-web-app's People

Contributors

ncarlier avatar snyk-bot 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

keeper-web-app's Issues

Drag and drop

Use drag and drop:

  • to create new document
  • to add content to an existing document

Hosting core api with web app on localhost

Hello,
The web app currently authenticated from Nunux live server but I need to host both on localhost but it creates authentication problem with generating access token and when I call api from postman with generated token it gives error.

I am not able to use core-api kindly guide me with the right way.
Thanks.

Can not get bookmarklet to work on Chrome / ChromeOS or Firefox

New user here, testing out the hosted version, before setting up self hosted version. I can not seem to get the bookmarklet to work on either my Linux desktop in Chrome or Firefox or on my ChromeOS devices (Chrome version 81)

I see the small square pop up in the lower left corner, but it always asks "Please login first" which I do, but still get the "please login first" message again.

Checking the web app reveals that no documents are added. Am I doing something wrong?

Thanks for the great app --- it's really awesome.

Manage attachments

Add view to manage attachments:

  • List current attachments (with thumbnails)
  • Remove attachment
  • Add new attachment (upload or by url)

How do I host my own?

I ran the docker build and started hosting keeper from a docker container.

I navigate to the application by directing my web browser to 192.168.1.4:4000 (4000 is the external container port I am using), which promptly redirects me to:

https://login.nunux.org/auth/realms/nunux.org/protocol/openid-connect/auth?client_id=nunux-keeper-app&redirect_uri=http%3A%2F%2F192.168.1.4%3A4000%2Fdocuments&state=908eb597-3f15-45ca-ba29-0e27d95f8bb2&nonce=6eb372bd-13a1-49b4-8ee3-539d14f0a5c5&response_mode=fragment&response_type=code&scope=openid

I believe I am missing a configuration setting. Would you happen to know what I am missing?

Please let me know if any more information is required.

Add keyboard shortcuts

Create keyboard shortcuts using Mousetrap

Examples:

  • [?]: Show shortcuts help popup
  • [g d]: Go to documents view
  • [g s]: Go to settings view
  • [g t]: Go to trash view
  • [o]: Switch grid sort order
  • [r]: Refresh grid
  • ...

web app doesn't work

Hi man,
just to let you know that https://app.nunux.org/keeper/ doesn't work. the internet page shows me up DNS_PROBE_FINISHED_NXDOMAIN
Can you fix it?
thanks

project still alive - app.nunuxkeeper.org no DNS

Hi,
not sure where to post this - but this is the most recently updated repo.

is NUNUX still actively maintained/developed?

I wanted to try the hosted version via https://app.nunux.org/keeper , but DNS doesn't resolve.
nunux-keeper is an archive but 'new project' points to all repo's
Dockerhub image was last updated 4 years ago

if not active, could you point me to some alternatives ?
thanks!

Getting started part is not correct

In https://github.com/nunux-keeper/keeper-web-app/tree/556e115f73592355e9bfb90a37a2cf8bd61a9c4c#getting-started it says to do this:

$ git clone https://github.com/nunux-keeper/keeper-web-app.git
$ cd keeper-web-app
$ npm install       # Install Node modules listed in ./package.json (may take a
                    # while the first time)
$ npm start         # Compile and launch

When these commands are executed new tab is opened, which immediately redirects me to here – https://login.nunux.org/auth/realms/nunux.org/protocol/openid-connect/auth?client_id=nunux-keeper-app&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fdocuments&state=99b7c005-f0df-46ff-b7e3-3165c646ebaa&nonce=b4d093d9-c6b8-4e39-bbfb-8fd6a53cf8ad&response_mode=fragment&response_type=code&scope=openid

--

When I try a docker approach, with

$ git clone https://github.com/nunux-keeper/keeper-web-app.git
$ cd keeper-web-app
$ make build start logs  # Build Docker image and start it

I get

$ make build start logs
make: *** No rule to make target `build'.  Stop.

It seems readme is incorrect?

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.