GithubHelp home page GithubHelp logo

squallstar / fragments Goto Github PK

View Code? Open in Web Editor NEW
63.0 7.0 9.0 8.72 MB

Organise your bookmarks into boards

Home Page: https://fragments.me

License: GNU General Public License v3.0

JavaScript 54.09% CSS 0.24% HTML 20.11% CoffeeScript 0.09% SCSS 25.45%
bookmarks bookmarklet meteor meteorjs blaze articles

fragments's Introduction

Fragments

Collect and organise your articles into beautiful boards. Fragments is build with Meteor, so please refer to its official documentation about the development with such technology.

https://fragments.me

Development

First, you have to copy the default settings file and put all your API keys in it.

cp settings.example.json settings.json

Then just run meteor as described here below.

Run

$ meteor --settings settings.json

Build for release

$ meteor build path/to/dir

Troubleshooting

You may need to install the following packages:

meteor npm install --save babel-runtime
meteor npm install --save babel-runtime jquery hammerjs desandro-get-style-property eventie doc-ready desandro-matches-selector wolfy87-eventemitter get-size fizzy-ui-utils outlayer

Deployment script for Unix machines

. ~/.nvm/nvm.sh
. ~/.profile
. ~/.bashrc

nvm use 4
cd source
git pull
meteor build ../build
cd ../build
tar -xzvf source.tar.gz
mv bundle/ ../release
cd ../release/programs/server/
npm install
cd ../../../
rm -rf build
rm -rf past-release
mv current past-release
mv release current

export MONGO_URL=mongodb://username:password@localhost:27017/fragments
export ROOT_URL=https://fragments.me
export METEOR_SETTINGS=$(cat env.json)
export PORT=1234
forever stop fragments-production || true
forever start -a --uid fragments-production current/main.js

fragments's People

Contributors

mintsugar avatar squallstar 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

fragments's Issues

Cluster support

The application should be able to support Node's cluster module and run on multiple CPUs.

[Feature] Notifications

As a user, I want to see notifications for the following actions:

  • when a user comment on a fragment I can see
  • when a collaborator add a fragment on a collection I own or I collaborate to

Website route wait

if user is loading don't display the website — to avoid flashing when user is logged in and accessing /

Refactor on collection cog hitbox on sidebar

The gear icon on the right hand side is currently an svg with a click handler attached to it.
Should be changed to be an anchor (and have a better hitbox, like 44x44), and the parent item should not be an anchor for accessibility.

screen shot 2016-06-19 at 19 23 04

Idea: regularly check for broken links

From time to time it might happen a fragment you have saved references a URL that doesn't exist anymore.

The idea is a regular background job which is able to check for broken links and somehow tag your broken fragments visually in the interface so you can take action if required.

Double links

If a link is inserted twice, the app should probably advice the user.

RIght click menu improvements

  • when on margin of the viewport, display on the right hand side
  • overflow-x could be set to hidden on the viewport
  • collections submenu should stay on the side that has enough space
  • there's an issue with the marked active collections and right clicking one article after another
  • add three dots on articles to trigger right click menu
  • avoid scrolling the viewport when scrolling collections

Bookmarklet?

Is there a bookmarklet for adding links? I could try to hack one together if I knew what query params to use…

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.