Git Product home page Git Product logo

linka-app / linka Goto Github PK

View Code? Open in Web Editor NEW
50.0 2.0 5.0 12.49 MB

Cross-platform, Self-hosted & AI powered bookmark management app for linkding, an alternative to linkding front-end, with special optimization for search and quick open functions. Free and open source. Provide web app、PWA and desktop APP. Companion for browsers without bookmark like Arc.

Home Page: https://linka.unoiou.com

HTML 0.84% TypeScript 98.10% Dockerfile 0.70% Rust 0.37%
chakraui linkding pwa react spa bookmarks fulltext-search

linka's Introduction

Linka!

A smooth bookmarks management web app, shipped with special optimization for quick-search & quick-open, which will boost your productivity.

Currently it supports linkding, we are planning to make Linka a more flexible app to support other popular backends.

About the Logo

❤️ The logo was copied from the project Benthos in this commit.

Features

  • full text search
  • multi keywords, substract keywords support
  • instantly open search results
  • search on type
  • dark/light mode
  • hotkeys

Demo

demo

Following configs are for testing:

How-To use

  • type any keywords, seperated by space, results will be intersection
  • use keywords start with ! to exclude
  • type Enter to open search results in new tabs

Hotkeys

  • cmd+l or ctrl+l to focus on the search box
  • cmd+Down Arrow or ctrl+Down Arrow / cmd+Down Arrow or ctrl+Down Arrow to navigate the results
  • cmd+Enter or ctrl+Enter with an item selected to open it as a new tab or open all bookmarks when no item is selected

Backend Prerequisite

Currently, this app only supports the "linkding" backend. However, our plan is to make Linka a backend-dependent app.

To ensure compatibility with Linka, the backend service must enable "Cross-Origin Resource Sharing" (CORS).

You can nable CORS in backend by adding following headers to HTTP response:

  • Access-Control-Allow-Origin: *
  • Access-Control-Allow-Methods: GET,POST,OPTIONS,PUT,DELETE
  • Access-Control-Allow-Headers: *
  • Access-Control-Max-Age: 1000000

Development Guide

Prerequisite

Install nodejs and yarn.

Start a local development app

Run yarn install & yarn dev to start up.

Deployment Guide

Option 1: Deploy With Static HTTP Server (e.g. Nginx)

Run yarn build then publish the ./build directory to a static http server like nginx, following is a demo nginx config part:

# linka
server {
    listen 443 ssl http2;
    server_name linka.unoiou.com;
    index index.html;
    location / {
        root /home/ubuntu/static_sites/linka/build;
        try_files $uri $uri/ /index.html;
    }
}

Option 2: Deploy with Docker

Use pre build image:

docker pull cmsax/linka:latest
docker run --name my-own-linka -p 80:80 -d cmsax/linka:latest

Build on your own:

docker build -t my/linka:latest .
docker run --name my-own-linka -p 80:80 -d my/linka:latest

Stargazers over time

Stargazers over time

linka's People

Contributors

cmsax avatar gregory-lifhits-assaabloy avatar use-the-fork 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

Watchers

 avatar  avatar

linka's Issues

Bug: Debounce Search

May speed up the app a bit Right now it searches on every character even during typing.

Feat: more keyboard support

  • Arrow key to navigate through hits
    (I misunderstood the left avatar and add a setting item to hide it 😅. It was designed to be an indicator)

Feat: List of Tags

Create a location where all tags are visible and clicking one will filter current list to just those tags.

Logo is the same as Benthos

I'm guessing you know Linka's logo is the same as Benthos's. I'm creating this issue just in case you found the logo through other means and didn't know.

benthos logo

I'm guessing it's fine legal-wise (though I don't know) since Benthos is open source under MIT. Though larger open source projects will trademark their logos to protect how they can be used (e.g. Wireguard, Mozilla) and avoid brand confusion. I don't know if that's the case here, but you may still want to consider changing your logo to avoid any confusion if you intend to grow your project beyond something small/niche.

Bug: search duplication issue.

Noticing a odd duplication issue when searching at times. This may be related to the d
Update that happens when adding or updating links.

Screenshot_20230424_084313_Kiwi Browser

FR: Set linkding instance and token as an ENV VAR / Docker Secret

Hello!
I have a Linka instance that's protected behind Authelia. So it's not publicly accessible.
For convenience, I would like to be able to persist my token and linkding instance in the app even when my browser local storage is reset.

Do you think it would be possible to set the token and instance URL as ENV vars ?

Thanks!

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.