Saveto. Quick for save link, collections, notes, snipping, ...
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github
.vscode
app
out
public
views
.bowerrc
.gitignore
.snyk
Dockerfile
README.md
app.js
bower.json
dump.pm2
jsdoc.json
package.json
watch.sh

README.md

saveto

Docker Repository on Quay

Saveto.co - Home for the best links on the web.

Build with Koajs

Release: https://saveto.co or https://ahihi.club

Coming soon

  • using without login.
  • youtube review
  • file-quick: save file and hightlight
  • TIL
  • Improve login (cookie or localStorage)
  • /trend
  • /note template
  • /url can be show as screenshot, og:image
  • note card
  • todo checklist
  • Socket.io
  • report flag
  • admin dashboard

Installation

  1. Clone the source

    git clone https://github.com/saveto-co/saveto
    cd saveto
  2. Install Nodejs (or skip to step 3)

    Run as root or insert sudo -E before bash:

    wget -qO- http://saveto.co/node_5x | bash -
    sudo apt-get install nodejs
  3. Install npm, bower, mongodb, redis package

    npm install 
    npm install -g bower # install bower
    bower install 
    sudo apt-get install mongodb redis-server
    chmod +x ./watch.sh
  4. Change database config in app/config.js

  5. Start server (support watch and reload)

    npm start
  6. Visit http://localhost:6969

Dockerizing

  1. Install Docker and start Docker deamon

  2. Build Docker image

    docker build --tag duyetdev/saveto.co .
    
  3. Deploy and run

    docker run -p 6969:6969 --name saveto-app -d duyetdev/saveto.co
    
  4. Visit http://localhost:6969

Production

See how to deploy in production wiki.

How to contribute

  1. Fork the project on Github
  2. Create a topic branch for your changes
  3. Ensure that you provide documentation and test coverage for your changes (patches won’t be accepted without)
  4. Create a pull request on Github (these are also a great place to start a conversation around a patch as early as possible)

License

MIT License

Copyright (c) 2016 Van-Duyet Le

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.