Git Product home page Git Product logo

Comments (3)

srid avatar srid commented on July 27, 2024 1

Hey @gillchristian - the rendered version is currently statically generated HTML (by rib). I suppose we can add some sort of client-side full-text search to neuron (eg: js-search, which arrived at the top of my search results).

For now, I use the browser's Ctrl+F to find relevant zettel at z-index by its title. Or, if I'm in the CLI, I have a script that will search zettels and print the matching filename (to be opened in vim or whatever). It looks like this:

#!/usr/bin/env bash
set -euo pipefail

cd ./notes

rg --no-heading --no-line-number --sort path "title:" *.md \
  | fzf --tac --no-sort -d ':' -n 3.. \
    --preview 'bat --style=plain --color=always {1}' \
    --bind 'ctrl-j:execute(google-chrome-stable https://localhost:8080/(echo {1} | sed "s/\.md/.html/g"))+abort' \
  | awk -F: '{printf "%s", $1}'

The purpose of this issue is to have neuron search do what this script effectively does.

EDIT: this is not a feature request, I'd be interested on contributing to build such feature.

Sure, feel free to open a new issue to write your proposal. :-)

from neuron.

gillchristian avatar gillchristian commented on July 27, 2024

Hi srid, I just found out about neuron (and zettelkasten because of it), really like the idea! 👏

Do you envision search to also be possible on the rendered version?

Eg.

  • Filtering on the z-index view by title.
  • A dedicate search view and the results could show some info of the linkex zettles.

EDIT: this is not a feature request, I'd be interested on contributing to build such feature.

from neuron.

gillchristian avatar gillchristian commented on July 27, 2024

Agree, terminal command should take priority. I'll open an issue when I have a more specific suggestion or proposal in mind.

from neuron.

Related Issues (20)

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.