GithubHelp home page GithubHelp logo

theanachronism / briefkasten Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ndom91/briefkasten

0.0 0.0 0.0 14.08 MB

๐Ÿ“ฎ Briefkasten

Home Page: https://briefkasten.vercel.app

License: MIT License

Shell 0.12% JavaScript 97.29% CSS 2.53% Dockerfile 0.07%

briefkasten's Introduction

๐Ÿ“ฎ Briefkasten

GitHub deployments GitHub issues Checkly GitHub Demo

Self-hosted bookmarking application. Works with any Prisma compatible database (MySQL, Postgres, SQLite, etc.)

๐Ÿ“ธ Screenshots

๐ŸŽฉ Features

  • Save by Browser Extension
  • Automatic title and description extraction
  • Drag-and-drop URLs on page to save
  • Keyboard shortcuts
  • Organise by categories and tags
  • Import and export bookmarks from standard HTML format
  • Bookmark image fetching background job
  • Multiple views
  • Fulltext search
  • REST API
  • OAuth + Email magic link login

๐Ÿงบ Prerequisites

To self-host this application, you'll need the following thins:

  1. Server / hosting platform for a Next.js application (i.e. Vercel / Netlify)
  2. For OAuth login, a developer account at any one of the providers supported by NextAuth.js
  3. Database that works with Prisma (i.e. MySQL, Postgres, SQLite, etc.)
  4. Image hosting space (i.e. Supabase / ImageKit / Cloudinary) (optional)

These are all relatively straight forward, other than the image hoster. This was chosen to avoid putting the images in the database. The example application at briefkasten.vercel.app is using Supabase Storage, but any other similar provider like Cloudinary or a simple S3 Bucket would also do the job. I chose Supabase, because they have an easy to use SDK, a decent free tier, and I was already using their Postgres service.

After you've got an account setup at all of the above providers, or have your own infrastructure ready to go, you can continue on to the next steps below.

๐Ÿš€ Getting Started

  1. Clone the repository
$ git clone [email protected]:ndom91/briefkasten.git && cd briefkasten
  1. Install dependencies
$ pnpm install
  1. Copy the .env.example file, and fill in your copy of the environment variables.
$ cp .env.example .env
$ vim .env

In this environment variables file, make sure to fill in any of the keys / secrets needed for the cloud providers you selected for the components above.

  1. Start the server!
// dev
$ pnpm run dev

// prod
$ pnpm run build
$ pnpm start

๐Ÿ•ธ Related

๐Ÿ“ฒ Save from Android Share Menu

With this open-source application HTTP Shortcuts, you can create a "Share Menu" item which executes a POST request with dynamic input, i.e. a web page's URL and title. This makes it super easy to share items from your phone to Briefkasten! More information in the docs.

๐ŸŒ Browser Extension

There is a companion browser extension in the works which you can use to add websites to your vault while browsing the web. It can be found at ndom91/briefkasten-extension. It is currently not published on any of the Browser Extension Stores, but can be built locally and loaded as a development extension in any Chromium based browser. More details in that repository.

๐Ÿง‘โ€๐Ÿญ Screenshot Job

There is also a background job to fill in bookmarks which do not have a valid image. It can be found in the ndom91/briefkasten-scrape repository. This job runs every 2 hours in a Github Action and processes 10 bookmarks at a time.

๐Ÿ‘ท Contributing

This project is open to any and all contributions! Please stick to the ESLint / Prettier settings and I'll be happy to take a look at your issue / PR ๐Ÿ˜€

๐Ÿ“ License

MIT

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.