sysid / bkmr Goto Github PK
View Code? Open in Web Editor NEWSuper fast CLI bookmark manager and launcher
License: BSD 3-Clause "New" or "Revised" License
Super fast CLI bookmark manager and launcher
License: BSD 3-Clause "New" or "Revised" License
What i am trying to do
bkmr open 1 # or any other id
Error
thread 'main' panicked at /home/alex/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bkmr-2.0.0/src/main.rs:423:30:
called `Result::unwrap()` on an `Err` value: (bkmr::service::process::_open_bm::{{closure}}:393) Error OS opening https://www.google.com
Caused by:
Launcher "gio" "open" "https://www.google.com" failed with ExitStatus(unix_wait_status(512))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Additional Info:
I am using bkmr with Windows 11 wsl (Ubuntu)
I believe there is an error about the README
information on benchmarking.
The comparison is incorrect since the measurement for bkmr
is not really there (see error message).
time bmkr search 'zzz*' --np
-bash: bmkr: command not found
$ bkmr create-db ~dt/bmarks.db
Show not implemented yet. "/home/link/.local/share/bmarks.db"
Creating database at "/home/link/.local/share/bmarks.db"
Database created at "/home/link/.local/share/bmarks.db"
$ bkmr add "https://github.com/sysid/bkmr"
Error: db_url path does not exist: "../db/bkmr.db"
The file was indeed generated at ~dt/bmarks.db
, but the program doesn't seem to notice it. If i create ../db/bkmr.db
exactly, then it does work. Any thoughts on why this happens?
Version: bkmr 0.2.1
Source: cargo install --git https://github.com/sysid/bkmr
Hi !
Are you open to any contribution (pull-requests) for this great project ?
I actually use bkmr
with 2 personal features I recently added to your code running on my local machine :
skim
options (only --reverse
, --height
for now)bkmr --fzf
mode (I mean a simple flag --show-tags
in the same env-variable)Would you agree to have these features in a new pull-request ?
How could I push to your project ?
(I currently have a 403 trying to push my branch)
Hi @sysid !
Great to see so much nice work going on !
I found a small and unpleasant bug, coming from my previous PR (months ago !)
export BKMR_FZF_OPTS="--reverse --show-tags""
bkmr add notes1.md notes --title "A dummy note"
bkmr search --limit 100 --fzf
In the search output, we can see that the tag notes
is surrounded by |
before and after, as if it was surrounded by two empty tags.
When running bkmr add
, I did not notice that the create_normalized_tag_string()
function would add two commas, one before and one after the tags - this is the way you chose to store tags in the database.
Then, when --show-tags
comes into play during search --fzf
it should take that peculiarity into account, when replacing commas with the |
delimiter.
I can emit a PR to fix that bug, I'll do it very soon ๐
Note : in fact I was not using bkmr add
until recently (I rather inserted my browser bookmarks periodically directly into sqlite), and that's why I did not find that bug sooner.
Cheers,
Hi !
I wish I could give a try to bkmr
!
I set up everything, all seems ok at first, but I got an error when inserting my first bookmark ๐
Probably due to sqlite
RETURNING clause ?
https://sqlite.org/forum/info/a4dde39b614ec0b2
I tried to update my sqlite3 version, but that dit not fix it.
I'm running MacOS 11.6.1
(Big Sur)
Hello,
I tried to build it on windows but there is still the issue with tuikit
.
See this post: #11
You suggested to use crossterm
instead and I can see it's already installed and used in bkmr
but
tuikit
is still used for the Color
and Attr
in fzf.rs
in a few lines.
I'm trying to change those line to remove the dependency of tuikit
but I do not know rust very well (only been using it for a few days) so I might not be able to do a PR on that.
Just wanted to let you know about my investigation.
If you can do it yourself, I could be great but I will try nonetheless.
This project looks cool. I like that you can index local files.
rustc --version
rustc 1.67.1 (d5a82bbd2 2023-02-07)
cargo install bkmr
produces this linker error -- looks like a problem with openssl?
Compiling bkmr v0.2.3
error: linking with `cc` failed: exit status: 1
|
= note: "cc" "-m64" "/tmp/rustcbbdj4J/symbols.o" "/tmp/cargo-installISvYok/release/deps/bkmr-076bce2fe4842629.bkmr.463d1482-cgu.0.rcgu.o" "/tmp/cargo-installISvYok/release/deps/bkmr-076bce2fe4842629.bkmr.463d1482-cgu.1.rcgu.o" "/tmp/cargo-installISvYok/release/deps/bkmr-076bce2fe4842629.bkmr.463d1482-cgu.10.rcgu.o" "/tmp/cargo-installISvYok/release/deps/bkmr-076bce2fe4842629.bkmr.463d1482-cgu.11.rcgu.o" "/tmp/cargo-installISvYok/release/deps/bkmr-076bce2fe4842629.bkmr.463d1482-cgu.12.rcgu.o" "/tmp/cargo-installISvYok/release/deps/bkmr-076bce2fe4842629.bkmr.463d1482-cgu.13.rcgu.o" "/tmp/cargo-installISvYok/release/deps/bkmr-076bce2fe4842629.bkmr.463d1482-cgu.14.rcgu.o" "/tmp/cargo-installISvYok/release/deps/bkmr-076bce2fe4842629.bkmr.463d1482-cgu.15.rcgu.o" "/tmp/cargo-installISvYok/release/deps/bkmr-076bce2fe4842629.bkmr.463d1482-cgu.2.rcgu.o" "/tmp/cargo-installISvYok/release/deps/bkmr-076bce2fe4842629.bkmr.463d1482-cgu.3.rcgu.o" "/tmp/cargo-installISvYok/release/deps/bkmr-076bce2fe4842629.bkmr.463d1482-cgu.4.rcgu.o" "/tmp/cargo-installISvYok/release/deps/bkmr-076bce2fe4842629.bkmr.463d1482-cgu.5.rcgu.o" "/tmp/cargo-installISvYok/release/deps/bkmr-076bce2fe4842629.bkmr.463d1482-cgu.6.rcgu.o" "/tmp/cargo-installISvYok/release/deps/bkmr-076bce2fe4842629.bkmr.463d1482-cgu.7.rcgu.o" "/tmp/cargo-installISvYok/release/deps/bkmr-076bce2fe4842629.bkmr.463d1482-cgu.8.rcgu.o" "/tmp/cargo-installISvYok/release/deps/bkmr-076bce2fe4842629.bkmr.463d1482-cgu.9.rcgu.o" "/tmp/cargo-installISvYok/release/deps/bkmr-076bce2fe4842629.3uhifa41on32jkh4.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/cargo-installISvYok/release/deps" "-L" "/home/linuxbrew/.linuxbrew/Cellar/sqlite/3.40.1/lib" "-L" "/home/linuxbrew/.linuxbrew/Cellar/[email protected]/1.1.1t/lib" "-L" "/home/g123/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/cargo-installISvYok/release/deps/libbkmr-19b60beb8c78a2d3.rlib" "/tmp/cargo-installISvYok/release/deps/libopen-887aa8bdb59c6b7a.rlib" "/tmp/cargo-installISvYok/release/deps/libpathdiff-55704b400933d2a7.rlib" "/tmp/cargo-installISvYok/release/deps/libshellexpand-4af79510b1fdefdc.rlib" "/tmp/cargo-installISvYok/release/deps/libdirs-ba94768a55021832.rlib" "/tmp/cargo-installISvYok/release/deps/libdirs_sys-a932da168aecd01a.rlib" "/tmp/cargo-installISvYok/release/deps/libenv_logger-1b84330ab6a0b376.rlib" "/tmp/cargo-installISvYok/release/deps/libhumantime-eec0c664f4105c64.rlib" "/tmp/cargo-installISvYok/release/deps/libanyhow-143e6e8d5852e1da.rlib" "/tmp/cargo-installISvYok/release/deps/libdiesel_migrations-6c7cde8fa60a3663.rlib" "/tmp/cargo-installISvYok/release/deps/libmigrations_internals-b54f5f87638b90a6.rlib" "/tmp/cargo-installISvYok/release/deps/libtoml-4fcf998c91c08377.rlib" "/tmp/cargo-installISvYok/release/deps/libselect-9be3222a1c439ee5.rlib" "/tmp/cargo-installISvYok/release/deps/libbit_set-58b5cc6cb1150108.rlib" "/tmp/cargo-installISvYok/release/deps/libbit_vec-a6caa0994f6d36e7.rlib" "/tmp/cargo-installISvYok/release/deps/libmarkup5ever_rcdom-dd840d63a3638375.rlib" "/tmp/cargo-installISvYok/release/deps/libhtml5ever-ff374be7080e1318.rlib" "/tmp/cargo-installISvYok/release/deps/libmarkup5ever-937dae2d023865bd.rlib" "/tmp/cargo-installISvYok/release/deps/libstring_cache-047975f144ef6f09.rlib" "/tmp/cargo-installISvYok/release/deps/libprecomputed_hash-dfc606abb3101073.rlib" "/tmp/cargo-installISvYok/release/deps/libparking_lot-81ef746dc7f828fe.rlib" "/tmp/cargo-installISvYok/release/deps/libparking_lot_core-247c4bf10c65788f.rlib" "/tmp/cargo-installISvYok/release/deps/libsmallvec-cc96a7c44f83e3c4.rlib" "/tmp/cargo-installISvYok/release/deps/liblock_api-2bda17cccde1c198.rlib" "/tmp/cargo-installISvYok/release/deps/libphf-c31fc014f21e3cfb.rlib" "/tmp/cargo-installISvYok/release/deps/libphf_shared-70191db260c165d0.rlib" "/tmp/cargo-installISvYok/release/deps/libsiphasher-4ff44bf3863f33a5.rlib" "/tmp/cargo-installISvYok/release/deps/libtendril-5246e81094d09979.rlib" "/tmp/cargo-installISvYok/release/deps/libutf8-27dc294512ef37f0.rlib" "/tmp/cargo-installISvYok/release/deps/libfutf-890c4427ae4238b2.rlib" "/tmp/cargo-installISvYok/release/deps/libdebug_unreachable-27a448f89f154832.rlib" "/tmp/cargo-installISvYok/release/deps/libmac-4717ac86fe614fd2.rlib" "/tmp/cargo-installISvYok/release/deps/libreqwest-ff3b067d063b9bce.rlib" "/tmp/cargo-installISvYok/release/deps/libhyper_tls-7bedc223f4ab5f20.rlib" "/tmp/cargo-installISvYok/release/deps/libbase64-fa05a7d5fe01748f.rlib" "/tmp/cargo-installISvYok/release/deps/libipnet-cf308e175633a77d.rlib" "/tmp/cargo-installISvYok/release/deps/libtokio_native_tls-70d6c396eb03ac06.rlib" "/tmp/cargo-installISvYok/release/deps/libserde_urlencoded-36742e573e0d4db6.rlib" "/tmp/cargo-installISvYok/release/deps/libmime-eefcc3b53f1965e7.rlib" "/tmp/cargo-installISvYok/release/deps/libencoding_rs-abe8cf1c91abae6a.rlib" "/tmp/cargo-installISvYok/release/deps/libserde_json-8561d152f83a58d4.rlib" "/tmp/cargo-installISvYok/release/deps/libryu-e947d1969e34da9b.rlib" "/tmp/cargo-installISvYok/release/deps/libserde-485771e49f82216f.rlib" "/tmp/cargo-installISvYok/release/deps/libnative_tls-76f083c1874dcb90.rlib" "/tmp/cargo-installISvYok/release/deps/libopenssl_probe-3db319c990478c95.rlib" "/tmp/cargo-installISvYok/release/deps/libopenssl-22f8676cd403790b.rlib" "/tmp/cargo-installISvYok/release/deps/libforeign_types-65cb8192416760f5.rlib" "/tmp/cargo-installISvYok/release/deps/libforeign_types_shared-754222504d9b531a.rlib" "/tmp/cargo-installISvYok/release/deps/libopenssl_sys-52bb9347d5f8e4a6.rlib" "/tmp/cargo-installISvYok/release/deps/libhyper-9311c221c0d33fb8.rlib" "/tmp/cargo-installISvYok/release/deps/libwant-baa8ccf697b2dec6.rlib" "/tmp/cargo-installISvYok/release/deps/libtry_lock-751702e1a72b363e.rlib" "/tmp/cargo-installISvYok/release/deps/libhttparse-c2dfb4ab338e6eae.rlib" "/tmp/cargo-installISvYok/release/deps/libh2-7bd5460c47c6329a.rlib" "/tmp/cargo-installISvYok/release/deps/libindexmap-21a191a880524b98.rlib" "/tmp/cargo-installISvYok/release/deps/libhashbrown-9f0e9d018565ffe7.rlib" "/tmp/cargo-installISvYok/release/deps/libtokio_util-c0da212296804b14.rlib" "/tmp/cargo-installISvYok/release/deps/libtower_service-36f2830787d7bcd8.rlib" "/tmp/cargo-installISvYok/release/deps/libtracing-2a8324666628c583.rlib" "/tmp/cargo-installISvYok/release/deps/libtracing_core-a7d0466343c289b4.rlib" "/tmp/cargo-installISvYok/release/deps/libtokio-2dc7d26d3493821c.rlib" "/tmp/cargo-installISvYok/release/deps/libsocket2-b007f4ccead0991c.rlib" "/tmp/cargo-installISvYok/release/deps/libmio-d9aecb949aae474c.rlib" "/tmp/cargo-installISvYok/release/deps/libhttp_body-d13693893eb75ccb.rlib" "/tmp/cargo-installISvYok/release/deps/libfutures_util-ff0c8cad23cb06d3.rlib" "/tmp/cargo-installISvYok/release/deps/libfutures_io-f1f3fde0bc32945e.rlib" "/tmp/cargo-installISvYok/release/deps/libslab-dbbf615b4e519af7.rlib" "/tmp/cargo-installISvYok/release/deps/libfutures_channel-fba20277608f153a.rlib" "/tmp/cargo-installISvYok/release/deps/libpin_project_lite-1e15ebadec396d73.rlib" "/tmp/cargo-installISvYok/release/deps/libfutures_sink-0b1544cd604ccab5.rlib" "/tmp/cargo-installISvYok/release/deps/libfutures_task-9e9b8151bf544969.rlib" "/tmp/cargo-installISvYok/release/deps/libfutures_core-784c055060379b65.rlib" "/tmp/cargo-installISvYok/release/deps/liburl-d8b40e7ca209d665.rlib" "/tmp/cargo-installISvYok/release/deps/libidna-8a05b93aca0f7bba.rlib" "/tmp/cargo-installISvYok/release/deps/libunicode_normalization-1f8ff196dff9f604.rlib" "/tmp/cargo-installISvYok/release/deps/libtinyvec-861b92e789981b2d.rlib" "/tmp/cargo-installISvYok/release/deps/libtinyvec_macros-83e9da9a79a41697.rlib" "/tmp/cargo-installISvYok/release/deps/libunicode_bidi-368313958396c2ff.rlib" "/tmp/cargo-installISvYok/release/deps/libform_urlencoded-c53653dfe3f10dfa.rlib" "/tmp/cargo-installISvYok/release/deps/libpercent_encoding-63e5b3e5164990c2.rlib" "/tmp/cargo-installISvYok/release/deps/libhttp-5c4aaebc06293f92.rlib" "/tmp/cargo-installISvYok/release/deps/libitoa-eebfe3513fdd3a03.rlib" "/tmp/cargo-installISvYok/release/deps/libbytes-9ed62fcceabc25e4.rlib" "/tmp/cargo-installISvYok/release/deps/libfnv-35f9d07a182d9c70.rlib" "/tmp/cargo-installISvYok/release/deps/libskim-caf1352b9e1079ff.rlib" "/tmp/cargo-installISvYok/release/deps/libnix-0baef9f1a3ca3aa1.rlib" "/tmp/cargo-installISvYok/release/deps/libmemoffset-264ad73a6eabaae2.rlib" "/tmp/cargo-installISvYok/release/deps/libpin_utils-cb454c418ac94281.rlib" "/tmp/cargo-installISvYok/release/deps/libderive_builder-a44797fee1223052.rlib" "/tmp/cargo-installISvYok/release/deps/libtimer-3fba47bb049d069d.rlib" "/tmp/cargo-installISvYok/release/deps/librayon-50b1fe04051b8250.rlib" "/tmp/cargo-installISvYok/release/deps/librayon_core-0c6fd5808b1ef3c2.rlib" "/tmp/cargo-installISvYok/release/deps/libnum_cpus-a7af00b27487645b.rlib" "/tmp/cargo-installISvYok/release/deps/libeither-af60d4759ec51c5f.rlib" "/tmp/cargo-installISvYok/release/deps/libdefer_drop-2123b34225a37b4c.rlib" "/tmp/cargo-installISvYok/release/deps/libfuzzy_matcher-ff144561f8b275e0.rlib" "/tmp/cargo-installISvYok/release/deps/libthread_local-355bf93cc2e881c6.rlib" "/tmp/cargo-installISvYok/release/deps/libregex-56d377950559e8c8.rlib" "/tmp/cargo-installISvYok/release/deps/libaho_corasick-7c988a2f7359094a.rlib" "/tmp/cargo-installISvYok/release/deps/libmemchr-6ef6e242f488a2a9.rlib" "/tmp/cargo-installISvYok/release/deps/libregex_syntax-6d338df9e30e1c81.rlib" "/tmp/cargo-installISvYok/release/deps/libvte-8bb98ff5e59fe416.rlib" "/tmp/cargo-installISvYok/release/deps/libutf8parse-c6dbf3ff44dc1c03.rlib" "/tmp/cargo-installISvYok/release/deps/libarrayvec-192032437e2d3ea9.rlib" "/tmp/cargo-installISvYok/release/deps/libbeef-f1194956a324f73b.rlib" "/tmp/cargo-installISvYok/release/deps/libtuikit-a508627e32ce7d8f.rlib" "/tmp/cargo-installISvYok/release/deps/libterm-845b8c638678a129.rlib" "/tmp/cargo-installISvYok/release/deps/libdirs_next-3b683ce4e980f254.rlib" "/tmp/cargo-installISvYok/release/deps/libdirs_sys_next-79ac7906411834b6.rlib" "/tmp/cargo-installISvYok/release/deps/libnix-74a31ba8ad5f8fa9.rlib" "/tmp/cargo-installISvYok/release/deps/libcrossbeam-7839949865095435.rlib" "/tmp/cargo-installISvYok/release/deps/libcrossbeam_channel-198a523685fe7003.rlib" "/tmp/cargo-installISvYok/release/deps/libcrossbeam_deque-06fb0fc60cc91908.rlib" "/tmp/cargo-installISvYok/release/deps/libcrossbeam_queue-162182c287690acf.rlib" "/tmp/cargo-installISvYok/release/deps/libcrossbeam_epoch-09b54eb605b7ec6d.rlib" "/tmp/cargo-installISvYok/release/deps/libmemoffset-4c38a405616fa9d1.rlib" "/tmp/cargo-installISvYok/release/deps/libscopeguard-e7dd64e57ee55d88.rlib" "/tmp/cargo-installISvYok/release/deps/libcrossbeam_utils-0da19dc91d554e53.rlib" "/tmp/cargo-installISvYok/release/deps/liblazy_static-16eba8560d4e4203.rlib" "/tmp/cargo-installISvYok/release/deps/libstdext-309df11ad21caad5.rlib" "/tmp/cargo-installISvYok/release/deps/liblog-6f4d12daa1d17c8e.rlib" "/tmp/cargo-installISvYok/release/deps/libcfg_if-1ba8969e86818473.rlib" "/tmp/cargo-installISvYok/release/deps/libdiesel-d1619110c3436351.rlib" "/tmp/cargo-installISvYok/release/deps/libchrono-3c55daee8812e281.rlib" "/tmp/cargo-installISvYok/release/deps/libiana_time_zone-b1eff87fc01d8932.rlib" "/tmp/cargo-installISvYok/release/deps/libnum_integer-3c35fdb0b0316ff3.rlib" "/tmp/cargo-installISvYok/release/deps/libnum_traits-9f9dca71cf934f05.rlib" "/tmp/cargo-installISvYok/release/deps/libtime-346ff407c5ab8474.rlib" "/tmp/cargo-installISvYok/release/deps/liblibsqlite3_sys-64745dda5e25d01a.rlib" "/tmp/cargo-installISvYok/release/deps/libclap-9de5d52564f56846.rlib" "/tmp/cargo-installISvYok/release/deps/libunicode_width-bf8aed16c8d327b8.rlib" "/tmp/cargo-installISvYok/release/deps/libterminal_size-3519b3315f822cb4.rlib" "/tmp/cargo-installISvYok/release/deps/libstrsim-7c992f5a5a7d87e7.rlib" "/tmp/cargo-installISvYok/release/deps/libunicase-47add7e10f73f0e3.rlib" "/tmp/cargo-installISvYok/release/deps/libis_terminal-015cd08053ac5662.rlib" "/tmp/cargo-installISvYok/release/deps/librustix-ac45322dea682eaf.rlib" "/tmp/cargo-installISvYok/release/deps/liblinux_raw_sys-493879d8f8eef2e3.rlib" "/tmp/cargo-installISvYok/release/deps/libio_lifetimes-343480f5bb930621.rlib" "/tmp/cargo-installISvYok/release/deps/liblibc-d95dc0bcdf833f59.rlib" "/tmp/cargo-installISvYok/release/deps/libclap_lex-446dbf3b86332b7f.rlib" "/tmp/cargo-installISvYok/release/deps/libos_str_bytes-b5a77f179c459d8d.rlib" "/tmp/cargo-installISvYok/release/deps/libtermcolor-ae53359e3e764a60.rlib" "/tmp/cargo-installISvYok/release/deps/libbitflags-c7b073b268f2979c.rlib" "/tmp/cargo-installISvYok/release/deps/libonce_cell-7810cdc6f6965660.rlib" "/tmp/cargo-installISvYok/release/deps/libcamino-50672144e4f1c2cd.rlib" "/home/g123/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c6192dd4c4d410ac.rlib" "/home/g123/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-ff7377081f1949cc.rlib" "/home/g123/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-1cb453c5b22d87c0.rlib" "/home/g123/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-ef80a3f609e31ec2.rlib" "/home/g123/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-a690952b7d7394ed.rlib" "/home/g123/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-33a38bd462dea42b.rlib" "/home/g123/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-2804c2e5e3dadb10.rlib" "/home/g123/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-6cea4a991902c072.rlib" "/home/g123/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-3f9cac5a3a01ae1f.rlib" "/home/g123/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-be29f577ccd2e0c7.rlib" "/home/g123/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-40cbcc82de628eb3.rlib" "/home/g123/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-ce9e735ebca3a756.rlib" "/home/g123/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-52730b1d9cce8f6d.rlib" "/home/g123/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-dbd9b472d3582c61.rlib" "/home/g123/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8f1d87098c577a9e.rlib" "/home/g123/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-72ca4bc0b0597905.rlib" "/home/g123/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-cdff4f89b0741001.rlib" "/home/g123/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-92115cdd0b50e8be.rlib" "/home/g123/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-7f2d6606c0ceff89.rlib" "-Wl,-Bdynamic" "-lssl" "-lcrypto" "-lsqlite3" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/g123/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/cargo-installISvYok/release/deps/bkmr-076bce2fe4842629" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-Wl,-O1" "-nodefaultlibs"
= note: /home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/[email protected]/1.1.1t/lib/libcrypto.so: undefined reference to `pthread_setspecific@GLIBC_2.34'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/[email protected]/1.1.1t/lib/libcrypto.so: undefined reference to `dlopen@GLIBC_2.34'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/[email protected]/1.1.1t/lib/libcrypto.so: undefined reference to `pthread_rwlock_init@GLIBC_2.34'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/sqlite/3.40.1/lib/libsqlite3.so: undefined reference to `fstat64@GLIBC_2.33'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/[email protected]/1.1.1t/lib/libcrypto.so: undefined reference to `pthread_rwlock_wrlock@GLIBC_2.34'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/sqlite/3.40.1/lib/libsqlite3.so: undefined reference to `pthread_mutexattr_init@GLIBC_2.34'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/[email protected]/1.1.1t/lib/libcrypto.so: undefined reference to `dlerror@GLIBC_2.34'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/sqlite/3.40.1/lib/libsqlite3.so: undefined reference to `stat64@GLIBC_2.33'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/[email protected]/1.1.1t/lib/libcrypto.so: undefined reference to `pthread_getspecific@GLIBC_2.34'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/sqlite/3.40.1/lib/libsqlite3.so: undefined reference to `pthread_create@GLIBC_2.34'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/sqlite/3.40.1/lib/libsqlite3.so: undefined reference to `pthread_mutex_trylock@GLIBC_2.34'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/sqlite/3.40.1/lib/libsqlite3.so: undefined reference to `pthread_mutexattr_destroy@GLIBC_2.34'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/sqlite/3.40.1/lib/libsqlite3.so: undefined reference to `pthread_mutexattr_settype@GLIBC_2.34'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/sqlite/3.40.1/lib/libsqlite3.so: undefined reference to `pthread_join@GLIBC_2.34'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/[email protected]/1.1.1t/lib/libcrypto.so: undefined reference to `dlclose@GLIBC_2.34'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/[email protected]/1.1.1t/lib/libcrypto.so: undefined reference to `pthread_rwlock_rdlock@GLIBC_2.34'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/[email protected]/1.1.1t/lib/libcrypto.so: undefined reference to `pthread_key_delete@GLIBC_2.34'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/[email protected]/1.1.1t/lib/libcrypto.so: undefined reference to `fstat@GLIBC_2.33'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/[email protected]/1.1.1t/lib/libcrypto.so: undefined reference to `stat@GLIBC_2.33'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/[email protected]/1.1.1t/lib/libcrypto.so: undefined reference to `pthread_once@GLIBC_2.34'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/[email protected]/1.1.1t/lib/libcrypto.so: undefined reference to `dladdr@GLIBC_2.34'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/[email protected]/1.1.1t/lib/libcrypto.so: undefined reference to `pthread_rwlock_destroy@GLIBC_2.34'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/[email protected]/1.1.1t/lib/libcrypto.so: undefined reference to `pthread_key_create@GLIBC_2.34'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/[email protected]/1.1.1t/lib/libcrypto.so: undefined reference to `pthread_rwlock_unlock@GLIBC_2.34'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/[email protected]/1.1.1t/lib/libcrypto.so: undefined reference to `dlsym@GLIBC_2.34'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/sqlite/3.40.1/lib/libsqlite3.so: undefined reference to `lstat64@GLIBC_2.33'
collect2: error: ld returned 1 exit status
= note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
= note: use the `-l` flag to specify native libraries to link
= note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
error: could not compile `bkmr` due to previous error
error: failed to compile `bkmr v0.2.3`, intermediate artifacts can be found at `/tmp/cargo-installISvYok`
Hi, thanks for the cool tool
Is there a way to output all bookmarks as plain text? Maybe grouped by tags?
hi i wanted to try bkmr after reading ur blog post(on twbm) and you mentioned its a cross-platform bookmark manger so i thought maybe bkmr is also supposed to work on windows so i made this issue.
here's the error log
Updating crates.io index
Installing bkmr v0.3.1
Compiling autocfg v1.1.0
Compiling proc-macro2 v1.0.56
Compiling quote v1.0.26
Compiling unicode-ident v1.0.8
Compiling cfg-if v1.0.0
Compiling windows_x86_64_msvc v0.42.2
Compiling once_cell v1.17.1
Compiling winapi v0.3.9
Compiling version_check v0.9.4
Compiling syn v1.0.109
Compiling log v0.4.17
Compiling serde_derive v1.0.159
Compiling memchr v2.5.0
Compiling serde v1.0.159
Compiling scopeguard v1.1.0
Compiling getrandom v0.2.9
Compiling pin-project-lite v0.2.9
Compiling ahash v0.7.6
Compiling ppv-lite86 v0.2.17
Compiling futures-core v0.3.28
Compiling windows-targets v0.42.2
Compiling num-traits v0.2.15
Compiling windows-sys v0.45.0
Compiling rand_core v0.6.4
Compiling crossbeam-utils v0.8.15
Compiling windows_x86_64_msvc v0.48.0
Compiling siphasher v0.3.10
Compiling libc v0.2.141
Compiling rand_chacha v0.3.1
Compiling phf_shared v0.10.0
Compiling slab v0.4.8
Compiling syn v2.0.13
Compiling rand v0.8.5
Compiling pin-utils v0.1.0
Compiling futures-task v0.3.28
Compiling futures-channel v0.3.28
Compiling num_cpus v1.15.0
Compiling futures-sink v0.3.28
Compiling hashbrown v0.12.3
Compiling lock_api v0.4.9
Compiling futures-util v0.3.28
Compiling parking_lot_core v0.9.7
Compiling smallvec v1.10.0
Compiling bytes v1.4.0
Compiling phf_generator v0.10.0
Compiling windows-targets v0.48.0
Compiling indexmap v1.9.3
Compiling tokio v1.27.0
Compiling memoffset v0.8.0
Compiling bitflags v1.3.2
Compiling new_debug_unreachable v1.0.4
Compiling futures-io v0.3.28
Compiling itoa v1.0.6
Compiling windows-sys v0.48.0
Compiling phf_codegen v0.10.0
Compiling string_cache_codegen v0.5.2
Compiling crossbeam-epoch v0.9.14
Compiling num-integer v0.1.45
Compiling semver v1.0.17
Compiling ident_case v1.0.1
Compiling strsim v0.10.0
Compiling either v1.8.1
Compiling fnv v1.0.7
Compiling io-lifetimes v1.0.10
Compiling mac v0.1.1
Compiling futf v0.1.5
Compiling markup5ever v0.11.0
Compiling aho-corasick v0.7.20
Compiling windows-sys v0.42.0
Compiling proc-macro-error-attr v1.0.4
Compiling tracing-core v0.1.30
Compiling precomputed-hash v0.1.1
Compiling utf-8 v0.7.6
Compiling utf8parse v0.2.1
Compiling pkg-config v0.3.26
Compiling vcpkg v0.2.15
Compiling socket2 v0.4.9
Compiling cc v1.0.79
Compiling anstyle v0.3.5
Compiling mio v0.8.6
Compiling parking_lot v0.12.1
Compiling regex-syntax v0.6.29
Compiling winapi-util v0.1.5
Compiling time v0.1.45
Compiling tracing v0.1.37
Compiling tendril v0.4.3
Compiling darling_core v0.14.4
Compiling libsqlite3-sys v0.25.2
Compiling futures-macro v0.3.28
Compiling http v0.2.9
Compiling regex v1.7.3
Compiling phf v0.10.1
Compiling crossbeam-channel v0.5.7
Compiling proc-macro-error v1.0.4
Compiling native-tls v0.2.11
Compiling httparse v1.8.0
Compiling predicates-core v1.0.6
Compiling rustversion v1.0.12
Compiling tinyvec_macros v0.1.1
Compiling tinyvec v1.6.0
Compiling rustc_version v0.4.0
Compiling chrono v0.4.24
Compiling crossbeam-deque v0.8.3
Compiling tokio-util v0.7.7
Compiling html5ever v0.26.0
Compiling darling_macro v0.14.4
Compiling schannel v0.1.21
Compiling termcolor v1.2.0
Compiling darling v0.14.4
Compiling is-terminal v0.4.7
Compiling dirs-sys-next v0.1.2
Compiling itertools v0.10.5
Compiling unicase v2.6.0
Compiling memoffset v0.6.5
Compiling difflib v0.4.0
Compiling try-lock v0.2.4
Compiling crossbeam-queue v0.3.8
Compiling percent-encoding v2.2.0
Compiling rayon-core v1.11.0
Compiling unicode-width v0.1.10
Compiling form_urlencoded v1.1.0
Compiling want v0.3.0
Compiling dirs-next v2.0.0
Compiling h2 v0.3.16
Compiling derive_builder_core v0.11.2
Compiling unicode-normalization v0.1.22
Compiling rstest_macros v0.16.0
Compiling toml v0.5.11
Compiling string_cache v0.8.7
Compiling http-body v0.4.5
Compiling anstyle-wincon v0.2.0
Compiling concolor-query v0.3.3
Compiling atty v0.2.14
Compiling anstyle-parse v0.1.1
Compiling lazy_static v1.4.0
Compiling concolor-override v1.0.0
Compiling doc-comment v0.3.3
Compiling ryu v1.0.13
Compiling winreg v0.10.1
Compiling os_str_bytes v6.5.0
Compiling unicode-bidi v0.3.13
Compiling httpdate v1.0.2
Compiling tower-service v0.3.2
Compiling serde_json v1.0.95
Compiling humantime v2.1.0
Compiling termtree v0.4.1
Compiling predicates-tree v1.0.9
Compiling idna v0.3.0
Compiling hyper v0.14.25
Compiling xml5ever v0.17.0
Compiling clap_lex v0.2.4
Compiling migrations_internals v2.0.0
Compiling anstream v0.2.6
Compiling term v0.7.0
Compiling derive_builder_macro v0.11.2
Compiling diesel_derives v2.0.2
Compiling tokio-native-tls v0.3.1
Compiling futures-executor v0.3.28
Compiling terminal_size v0.2.6
Compiling dirs-sys v0.4.0
Compiling nix v0.24.3
Compiling float-cmp v0.9.0
Compiling vte_generate_state_changes v0.1.1
Compiling thread_local v1.1.7
Compiling time-core v0.1.0
Compiling regex-automata v0.1.10
Compiling textwrap v0.16.0
Compiling clap_lex v0.4.1
Compiling arrayvec v0.7.2
Compiling bit-vec v0.6.3
Compiling heck v0.4.1
Compiling anyhow v1.0.70
Compiling camino v1.1.4
Compiling normalize-line-endings v0.3.0
Compiling predicates v2.1.5
Compiling clap_derive v4.2.0
Compiling bit-set v0.5.3
Compiling vte v0.11.0
Compiling bstr v1.4.0
Compiling clap v3.2.23
Compiling clap_builder v4.2.1
Compiling time v0.3.20
Compiling fuzzy-matcher v0.3.7
Compiling rayon v1.7.0
Compiling hyper-tls v0.5.0
Compiling dirs v5.0.0
Compiling tuikit v0.5.0
Compiling futures v0.3.28
Compiling crossbeam v0.8.2
error[E0433]: failed to resolve: could not find `unix` in `os`
--> C:\Users\ala\.cargo\registry\src\github.com-1ecc6299db9ec823\tuikit-0.5.0\src\input.rs:13:14
|
13 | use std::os::unix::io::AsRawFd;
| ^^^^ could not find `unix` in `os`
error[E0433]: failed to resolve: could not find `unix` in `os`
--> C:\Users\ala\.cargo\registry\src\github.com-1ecc6299db9ec823\tuikit-0.5.0\src\input.rs:14:14
|
14 | use std::os::unix::io::FromRawFd;
| ^^^^ could not find `unix` in `os`
error[E0433]: failed to resolve: could not find `unix` in `os`
--> C:\Users\ala\.cargo\registry\src\github.com-1ecc6299db9ec823\tuikit-0.5.0\src\output.rs:18:14
|
18 | use std::os::unix::io::AsRawFd;
| ^^^^ could not find `unix` in `os`
error[E0433]: failed to resolve: could not find `sys` in `nix`
--> C:\Users\ala\.cargo\registry\src\github.com-1ecc6299db9ec823\tuikit-0.5.0\src\raw.rs:26:10
|
26 | use nix::sys::termios::{cfmakeraw, tcgetattr, tcsetattr, SetArg, Termios};
| ^^^ could not find `sys` in `nix`
error[E0432]: unresolved import `nix::fcntl`
--> C:\Users\ala\.cargo\registry\src\github.com-1ecc6299db9ec823\tuikit-0.5.0\src\input.rs:18:10
|
18 | use nix::fcntl::{fcntl, FcntlArg, OFlag};
| ^^^^^ could not find `fcntl` in `nix`
error[E0433]: failed to resolve: could not find `unix` in `os`
--> C:\Users\ala\.cargo\registry\src\github.com-1ecc6299db9ec823\tuikit-0.5.0\src\raw.rs:29:14
|
29 | use std::os::unix::io::{AsRawFd, RawFd};
| ^^^^ could not find `unix` in `os`
error[E0433]: failed to resolve: could not find `errno` in `nix`
--> C:\Users\ala\.cargo\registry\src\github.com-1ecc6299db9ec823\tuikit-0.5.0\src\raw.rs:106:18
|
106 | use nix::errno::Errno::ENOTTY;
| ^^^^^ could not find `errno` in `nix`
error[E0433]: failed to resolve: could not find `sys` in `nix`
--> C:\Users\ala\.cargo\registry\src\github.com-1ecc6299db9ec823\tuikit-0.5.0\src\raw.rs:107:18
|
107 | use nix::sys::termios::OutputFlags;
| ^^^ could not find `sys` in `nix`
error[E0433]: failed to resolve: could not find `unix` in `os`
--> C:\Users\ala\.cargo\registry\src\github.com-1ecc6299db9ec823\tuikit-0.5.0\src\sys\file.rs:2:14
|
2 | use std::os::unix::io::RawFd;
| ^^^^ could not find `unix` in `os`
error[E0432]: unresolved import `nix::unistd`
--> C:\Users\ala\.cargo\registry\src\github.com-1ecc6299db9ec823\tuikit-0.5.0\src\raw.rs:27:10
|
27 | use nix::unistd::isatty;
| ^^^^^^ could not find `unistd` in `nix`
error[E0433]: failed to resolve: could not find `sys` in `nix`
--> C:\Users\ala\.cargo\registry\src\github.com-1ecc6299db9ec823\tuikit-0.5.0\src\sys\file.rs:7:10
|
7 | use nix::sys::time::{TimeVal, TimeValLike};
| ^^^ could not find `sys` in `nix`
error[E0433]: failed to resolve: could not find `sys` in `nix`
--> C:\Users\ala\.cargo\registry\src\github.com-1ecc6299db9ec823\tuikit-0.5.0\src\sys\signal.rs:2:10
|
2 | use nix::sys::signal::{pthread_sigmask, sigaction};
| ^^^ could not find `sys` in `nix`
error[E0433]: failed to resolve: could not find `sys` in `nix`
--> C:\Users\ala\.cargo\registry\src\github.com-1ecc6299db9ec823\tuikit-0.5.0\src\sys\signal.rs:3:10
|
3 | use nix::sys::signal::{SaFlags, SigAction, SigHandler, SigSet, SigmaskHow, Signal};
| ^^^ could not find `sys` in `nix`
error[E0432]: unresolved import `nix::sys`
--> C:\Users\ala\.cargo\registry\src\github.com-1ecc6299db9ec823\tuikit-0.5.0\src\sys\file.rs:6:10
|
6 | use nix::sys::select;
| ^^^ could not find `sys` in `nix`
error[E0432]: unresolved import `nix::libc`
--> C:\Users\ala\.cargo\registry\src\github.com-1ecc6299db9ec823\tuikit-0.5.0\src\sys\size.rs:4:10
|
4 | use nix::libc::{c_int, c_ushort, ioctl, TIOCGWINSZ};
| ^^^^ could not find `libc` in `nix`
error[E0433]: failed to resolve: could not find `unistd` in `nix`
--> C:\Users\ala\.cargo\registry\src\github.com-1ecc6299db9ec823\tuikit-0.5.0\src\input.rs:53:29
|
53 | let (rx, tx) = nix::unistd::pipe().expect("failed to set pipe");
| ^^^^^^ could not find `unistd` in `nix`
error[E0412]: cannot find type `Error` in crate `nix`
--> C:\Users\ala\.cargo\registry\src\github.com-1ecc6299db9ec823\tuikit-0.5.0\src\error.rs:19:19
|
19 | NixError(nix::Error),
| ^^^^^ not found in `nix`
|
help: consider importing one of these items
|
1 | use core::error::Error;
|
1 | use core::fmt::Error;
|
1 | use std::error::Error;
|
1 | use std::fmt::Error;
|
and 4 other candidates
help: if you import `Error`, refer to it directly
|
19 - NixError(nix::Error),
19 + NixError(Error),
|
error[E0412]: cannot find type `Error` in crate `nix`
--> C:\Users\ala\.cargo\registry\src\github.com-1ecc6299db9ec823\tuikit-0.5.0\src\error.rs:65:16
|
65 | impl From<nix::Error> for TuikitError {
| ^^^^^ not found in `nix`
|
help: consider importing one of these items
|
1 | use core::error::Error;
|
1 | use core::fmt::Error;
|
1 | use std::error::Error;
|
1 | use std::fmt::Error;
|
and 4 other candidates
help: if you import `Error`, refer to it directly
|
65 - impl From<nix::Error> for TuikitError {
65 + impl From<Error> for TuikitError {
|
error[E0412]: cannot find type `Error` in crate `nix`
--> C:\Users\ala\.cargo\registry\src\github.com-1ecc6299db9ec823\tuikit-0.5.0\src\error.rs:66:25
|
66 | fn from(error: nix::Error) -> Self {
| ^^^^^ not found in `nix`
|
help: consider importing one of these items
|
1 | use core::error::Error;
|
1 | use core::fmt::Error;
|
1 | use std::error::Error;
|
1 | use std::fmt::Error;
|
and 4 other candidates
help: if you import `Error`, refer to it directly
|
66 - fn from(error: nix::Error) -> Self {
66 + fn from(error: Error) -> Self {
|
error[E0412]: cannot find type `Error` in crate `nix`
--> C:\Users\ala\.cargo\registry\src\github.com-1ecc6299db9ec823\tuikit-0.5.0\src\raw.rs:130:32
|
130 | fn nix_err_to_io_err(err: nix::Error) -> io::Error {
| ^^^^^ not found in `nix`
|
help: consider importing one of these items
|
23 | use core::error::Error;
|
23 | use core::fmt::Error;
|
23 | use crate::raw::io::Error;
|
23 | use std::error::Error;
|
and 5 other candidates
help: if you import `Error`, refer to it directly
|
130 - fn nix_err_to_io_err(err: nix::Error) -> io::Error {
130 + fn nix_err_to_io_err(err: Error) -> io::Error {
|
Some errors have detailed explanations: E0412, E0432, E0433.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `tuikit` due to 20 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile `bkmr v0.3.1`, intermediate artifacts can be found at `C:\Users\ala\AppData\Local\Temp\cargo-install7TkqVu`
I'm not sure if the crate has not been published yet but I can't seem to find it in crates.io, not sure what you mean by "standard Rust install via cargo
" :)
Edit: I'm not sure if by that you meant running cargo install
in the repo after cloning it but if that's the case, I could help setting up a CD pipeline if you're interested. I've done this a few times for my own projects.
Hello.
Thanks for the great utility, and the rewrite in Rust! Super snappy.
I'm wondering, is there a way to filter out tags from search results?
I thought that's what the -n
flag in the readme was going to be doing, but apparently not.
I'm thinking a long the lines of:
bkmr search -t tech -n education
Which would return all bookmarks that have tags tech
and not education
Running bkmr search --np
prints a list of found ids at the end of the output, which isn't needed:
Found 189 bookmarks
1,2,3,4,5,6,7,8,9,10,11
. . .
184,185,186,187,188,189
Version: 0.6.0
bkmr edit 4 # or any other id
Error (bkmr::main::{{closure}}:451) Editing Bookmarks: (bkmr::process::edit_bms::{{closure}}:177) Error opening bookmarks
Caused by:
0: (bkmr::process::do_sth_with_bms::{{closure}}:268): bm Bookmark { id: 4, URL: "https://taskwarrior.org/docs/", metadata: "Taskwarrior - Documentation - Taskwarrior", tags: ",,", desc: "", flags: 0, last_update_ts: 2023-02-17T18:23:12 }
1: (bkmr::process::do_edit::{{closure}}:311) Error opening temp file with vim
2: No such file or directory (os error 2)
[~]$ bkmr search --np
1. Forbidden - Stack Exchange [2]
https://stackoverflow.com/questions/1335815/how-to-slice-an-array-in-bash
2. Forbidden - Stack Exchange [3]
https://unix.stackexchange.com/questions/27013/displaying-seconds-as-days-hours-mins-seconds
3. GitHub - sysid/bkmr: Super fast CLI bookmark manager and launcher [1]
https://github.com/sysid/bkmr#configuration
Super fast CLI bookmark manager and launcher. Contribute to sysid/bkmr development by creating an account on GitHub.
4. Taskwarrior - Documentation - Taskwarrior [4]
https://taskwarrior.org/docs/
# This works fine
[~]$ bkmr open 4
Also, it does create a file named temp.txt in the current directory.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.