Code Monkey home page Code Monkey logo

benotes's Introduction

Benotes Logo

Benotes

Benotes Thumbnail

An open source self hosted web app for your notes and bookmarks side by side.

This project is currently in Beta. You may encounter bugs or errors.

Features

  • URLs are automatically saved with an image, title and description
  • supports both markdown and a rich text editor
  • can be installed as a PWA on your mobile devices (and desktop)
  • share content via this app (if installed as an PWA and supported by your browser)
  • collections can be shared via a public available URL
  • links can be instantly pasted as new posts
  • can be hosted almost anywhere thanks to its use of the lightweight Lumen framework and well supported PHP language
  • works with and without a persistent storage layer (both filesystem and S3 are supported)
  • can also be hosted via Docker or on Heroku
  • protect your data with daily backups

Installation & Upgrade

Currently their are three options for you to choose from:

Issues

Feel free to contact me if you need any help or open an issue or a discussion.

Q: Having trouble with reordering posts ?

Use this command in order to fix it.

php artisan fix-position

or if you have already installed newer php versions on your system

php artisan fix-position

Backup

Currently SQL Server and backing up S3 storage is not supported.

Backups can be triggered manually by executing the following command:

php artisan backup:run

Or schedule them by adding this line to your servers cron entries:

0 * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1

(This will check every hour if there is any task to run)

If you use docker add to your host system cron entries:

0 * * * * cd /path-to-your-project && docker exec -it benotes php artisan schedule:run >> /dev/null 2>&1

By default scheduled backups are created every night. If you wish to change that add the following to your .env file:

BACKUP_INTERVAL = 0 0 */7 * *  // this would translate to a weekly backup

If you wish to store your data with S3 compatible Object Storage (such as AWS S3, Digital Ocean Spaces, Minio, etc.), add the following to your .env file:

BACKUP_DISK           = s3

AWS_ACCESS_KEY_ID     = yourKeyId
AWS_SECRET_ACCESS_KEY = yourAccessKey
AWS_DEFAULT_REGION    = us-east-1
AWS_BUCKET            = yourCreativeBucketName
AWS_ENDPOINT          = endpointUrl

Rest API

Further information can be found here: Rest API Documentation

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.