setup
koreader
setup | koreader | |
---|---|---|
12 | 390 | |
68 | 15,254 | |
- | 2.0% | |
8.9 | 9.7 | |
about 1 month ago | 5 days ago | |
Python | Lua | |
MIT License | GNU Affero General Public License v3.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
setup
- Why Fennel?
-
Calibre 6.0
https://github.com/kbd/binrun
I just wrote it today and still need to package it. I was tired of alt+tab + up arrow + enter constantly to execute builds etc. in my terminal. It calls out to a wrapper script I wrote[1] that does things like queries kitty for its running windows so that when I launch from vscode it can find the right kitty window for the vscode workspace and execute there...
Point is, Kovid Goyal is awesome and the extensibility he wrote into kitty makes all that possible. I had no idea he was also the author of Calibre until I'd been using kitty for a while.
[1] https://github.com/kbd/setup/blob/master/HOME/bin/kw
- Ask HN: How do you sync your computers development configurations/environment?
- Forgit: A utility tool powered by fzf for using Git interactively
-
Hammerspoon – Lua-based powerful tool automation of macOS
If anyone cares, here's my config: https://github.com/kbd/setup/blob/master/HOME/.hammerspoon/i...
It shows off a tiny bit of what you can do with Hammerspoon:
- window and app management
-
The Fish Shell Is Amazing
I'll put it this way: Nu shell seems perfectly supportive of my philosophy that a shell is basically a REPL for a computer, and they're taking the ergonomics of an interactive REPL along with the programming language that powers that REPL seriously.
The thing is, there's currently NOTHING GOOD for "shell scripting". Shell sucks (yes it does), so for anything more than very short things I'd rather write Python. But Python sucks for shell-like things, parallelization, it has slow startup, and you also can't do things like put environment variables into your session or change the working directory, so you often wind up writing shims (eg. Broot's br alias - https://dystroy.org/broot/install-br/).
Yes I've looked at Xonsh but maybe the additional syntax is offputting to me. Like, I wouldn't use it as a shell over Zsh (how's Xonsh's fzf support? I don't know, but I know everything's going to support Zsh), and I dunno if I want to use its syntax extensions over just Python. Though It's always on my list of things to re-explore, and maybe it'll click one day. But it being based in Python makes it feel slow (I wrote my prompt in Zig to get it to be fast...)
This is relevant to mention: I wrote a small Python library (https://github.com/kbd/aush) that's basically a DSL for subprocesses, so it tries to make it more convenient to do shell-like things. I find it preferable to shell or Python alone most of the time. Here's an example of its use in my script that creates a new Python project: https://github.com/kbd/setup/blob/master/HOME/bin/create-pyt...
I haven't figured out a convenient way to implement shell piping well with Python's pipe operator, or pass through interactive output directly (so things that "update" the display, like poetry and npm don't behave the same as they do interactively) so it's still .9 status, but it works really well for what it is, and you can always write "regular Python" along with it.
Anyway, Nu seems to be an attempt to put a "real" programming language REPL in my shell, from people who have serious language experience, so I'm hopeful it'll be great.
-
Extracting Objects Recursively with Jq
Just sharing my take on that interactive jq (or anything else) repl:
https://github.com/kbd/setup/blob/master/HOME/bin/fzr
It's just an fzf wrapper that sets up temporary files and so on. It works really well; it's amazing all the things one can use fzf for.
-
A Way to Manage Dotfiles
Since we're sharing, my dotfiles setup has pretty much reached its final form. I use my symgr[1] to symlink my dotfiles repo into my home dir. Pretty much everything I think about this topic is in its readme, as well as a link to my setup[2] repo with my dotfiles showing how I use symgr.
[1] https://github.com/kbd/symgr
[2] https://github.com/kbd/setup
-
Apple's follow-up to M1 chip goes into mass production for Mac
It's not exactly a tiling window manager, but if you can program some simple Lua then Hammerspoon is a godsend. You can program anything any of the other window managers for Mac (like Rectangle, Spectacle, etc.) can do and have complete freedom to set up your own keyboard shortcuts for anything.
I have some predefined layouts[1] for my most common usage. So, one keyboard shortcut arranges the screen how I want, and I have other keyboard shortcuts[2] (along with using Karabiner Elements for a 'hyper' key) to open or switch to common apps.
[1] https://github.com/kbd/setup/blob/1a05e5df545db0133cf7b6f1bc...
[2] https://github.com/kbd/setup/blob/1a05e5df545db0133cf7b6f1bc...
-
Improving Shell Workflows with Fzf
Figured I'd link my git aliases here, that make heavy use of fzf. The goal is generally to never have to type a filename (eg. for git add) or a commit hash (eg. for cherry-pick).
Here's a link to my 'cp' alias that lets me choose a branch, then a commit to cherry pick into my current branch:
https://github.com/kbd/setup/blob/e23b3e8e2363284c3c766c0be2...
koreader
-
Ask HN: Best Open E-Reader?
Kobos[1] and Pocketbooks[2] are a lot more open than Kindles. AFAIK you can transfer .epub files into both devices and these epubs are perfectly readable via the stock OS. If for some reason you find the stock proprietary OS lacking, you can install an open source one like KOreader [3] or Plato[4]
Of course you want a good way of organizing epubs pdfs mobi, and like has already been mentioned Calibre[5] is a great option.
[1]https://www.kobo.com/
[2]https://pocketbookstore.com/en-ca
[3]https://github.com/koreader/koreader
[4]https://github.com/baskerville/plato
[5]https://calibre-ebook.com/
-
KOReader Document Viewer for E Ink devices
[2]: https://github.com/koreader/koreader/wiki/Dictionary-support...
-
Majority of web apps could just run on a single server
Oh man I absolutely love the work that you guys do. I'm actually in the process of learning Ebook production using the 'Step by Step' guide on your website. I'm essentially learning it all from scratch as I have little to no programming/SWE experience (I learned a bit of Lua because of KOReader[1]) but the technical side of ebook production has always fascinated me enough to keep learning.
[1] https://github.com/koreader/koreader
-
Wear OS "Hybrid" design has two OSes, two CPUs, "100 hour" battery life
Ha! I feel similarly, if not as eloquently.
Installed https://github.com/koreader/koreader on mine + enabled SSH server.
-
E-books are fast becoming tools of corporate surveillance
I read that KOreader is unstable on the Libra 2[0], so I haven’t installed it yet even though I would like to. What has been your experience running it?
[0] https://github.com/koreader/koreader/issues/8414
-
First E-reader. I am thinking of buying Kobo Libra 2?
You can easily modify it (like adding KOReader).
-
Conversion from epub to kepub, and related Calibre use
I'm using Kobo Clara 2E (6" screen size), and it is unpleasant to read PDF and CBZ files (comic/manga) since Kobo only provides zoom and orientation mode. I installed KOReader on my Kobo. It has more setup to display those files way better. The views of PDF in KOReader and Comic in Koreader. I read Epub files in Koreader to maintain its original format.
-
Should I buy a kobo libra 2 or carla 2e for manga
I installed KOReader on my Kobo Clara 2E. KOReader is a document viewer to read PDFs and manga/comics. KOReader has more setup to display fixed-layout format in a way that is better than the native Kobo display (Kobo stock).
-
Calibre – New in Calibre 7.0
It doesn't try to solve the same use cases that Calibre does, but I built an open source (EPUB only) manager / reader / statistics tracker called AnthoLume [0]. It mostly stemmed from me reading in KOReader [1] on my Kindle, and not having the ability to sync the progress to my iPhone / iPad.
It's got metadata matching, support for multiple users, and statistics tracking which allows me to have a "Leaderboard" that shows how fast you read (words per minute). Fun competition between my wife and I (that I'm 100% losing). It's a Progressive Web App and utilizes a Service Worker to support 100% offline reading as well.
There's a demo server [2] (creds are "demo" for both user & pass).
[0] https://gitea.va.reichard.io/evan/AnthoLume
[1] http://koreader.rocks/
[2] https://antholume-demo.cloud.reichard.io/
- I wanted to get the Libra 2 but is it good for reading manga without much hassle?
What are some alternatives?
yabai - A tiling window manager for macOS based on binary space partitioning
plato - Document reader
hammerspoon - A hammerspoon config with a bunch of custom spoons (sleep timer, resolution changer, paywall buster, safari hotkey utilities, window management with undo, etc).
Tachiyomi - Free and open source manga reader for Android. [Moved to: https://github.com/tachiyomiorg/tachiyomi]
fzf-tab - Replace zsh's default completion selection menu with fzf!
koodo-reader - A modern ebook manager and reader with sync and backup capacities for Windows, macOS, Linux and Web
jql - Easy JSON Query Processor with a Lispy syntax in Go
Kavita - Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.
forgit - :zzz: A utility tool powered by fzf for using git interactively.
Calibre Web - :books: Web app for browsing, reading and downloading eBooks stored in a Calibre database
dotfiles - My dotfiles
calibre - The official source code repository for the calibre ebook manager