Skip to content

Han8931/gorae

Repository files navigation

Gorae

Gorae logo

Gorae (고래, whale) is a terminal-first TUI librarian for PDFs and EPUBs—fast browsing, solid metadata, quick search, and mouse support—built as a Vim/CLI-friendly alternative to Zotero, Mendeley, and EndNote.

The Gorae logo is inspired by the Bangudae Petroglyphs (반구대 암각화) in Ulsan, South Korea—one of the earliest known depictions of whales and whale hunting. The “glyph-like” whale shape is meant to feel like an engraving: minimal, timeless, and a little handmade—like a good terminal tool.

App Demo

✨ Highlights

  • Vim-style browsing: fast file navigation with a cozy TUI feel.
  • Favorites: keep your best papers one keystroke away.
  • 📌 To-read queue: stash papers for later.
  • 🕮 Reading states: Unread / Reading / Read tracked via metadata.
  • 🔎 Search: metadata + full-text search with previews/snippets.
  • 🧾 Auto metadata import: detect DOI / arXiv IDs inside PDFs and fetch info.
  • ✍️ In-app editing: edit metadata, import from arXiv, copy BibTeX.
  • 🎨 Themeable UI: colors, glyphs, borders — plus helper folders usable in any file manager.

Everyday use

For deeper instructions, read Wiki or run :help.

Action Key
Move j/k
Enter dir / up l / h
Select Space
Favorite / To-read f / t
Reading state r
Edit metadata ee
Search /
Help :help

Arrow keys and mouse input are also supported.

🔎 Search tips

Press / to open search, then type your query.

You can scope the search with flags:

  • -t <title> search in title
  • -a <author> search in author
  • -y <year> filter by year
  • -c <keyword> search in full text (content)
  • --tag <tag> filter by a single tag
  • --tag <t1,t2> filter by multiple tags (comma-separated)

Examples

  • / -t transformer
  • / -a "Yoshua Bengio"
  • / -y 2023
  • / -c attention
  • / --tag llm,graph

Install

For Arch Linux users:

yay -S gorae

Option A) Run the pre-built executable (no Go required)

Download the ready-to-run binary from the latest GitHub Release.

  1. Download the file for your OS/CPU

    • Linux: gorae
    • macOS (Intel): gorae-darwin-amd64
    • macOS (Apple Silicon / M1–M3): gorae-darwin-arm64
    • Windows (64-bit): gorae-windows-amd64.exe
  2. (Linux/macOS) Make it executable

    chmod +x gorae*
  3. Move it into a folder on your PATH (so you can run it anywhere)

    • Linux/macOS examples: ~/.local/bin, /usr/local/bin
    • Windows example: %USERPROFILE%\bin
  4. Run it

    gorae

Tip: If your downloaded file has a long name (e.g., gorae-darwin-arm64), you can rename it to just gorae for convenience.


Option B) Quick install (script)

This option builds and installs Gorae using Go.

Requirements

  • Go 1.21+
  • Poppler CLI tools: pdftotext, pdfinfo

Install prerequisites:

  • macOS: brew install golang poppler
  • Debian/Ubuntu: sudo apt install golang-go poppler-utils
  • Arch: sudo pacman -S go poppler

Optional (recommended)

  • A fast PDF viewer (Zathura recommended)

    • Debian/Ubuntu: sudo apt install zathura zathura-pdf-mupdf
    • Arch: sudo pacman -S zathura zathura-pdf-mupdf
  1. Clone the repo

    git clone https://github.com/Han8931/gorae.git
    cd gorae
  2. Run the installer (Default install path: ~/.local/bin/gorae on Linux, /usr/local/bin/gorae on macOS)

    ./install.sh
    
    # Install to a custom path
    GORAE_INSTALL_PATH=/usr/local/bin/gorae ./install.sh
    ./install.sh ~/bin/gorae
  3. Make sure the install directory is on your PATH, then run:

    gorae

Recommended PDF viewer

  • Gorae works with any viewer command, but we recommend Zathura with the MuPDF backend.
  • Zathura is minimal, keyboard-driven, starts instantly, supports vi-style navigation, and renders beautifully through MuPDF—great for tiling window managers.

Install:

  • Debian/Ubuntu: sudo apt install zathura zathura-pdf-mupdf
  • Arch: sudo pacman -S zathura zathura-pdf-mupdf

Then set the viewer command in your config:

"pdf_viewer": "zathura"

If zathura is on your PATH, Gorae will auto-detect it, so most users can accept the default.

Roadmap

Fix

  • Delete confirmation prompt
  • Metadata view improvement

New Features and Todo

  • Open URL
  • ToDo management
  • Vault warden for cloud support
  • WebServer
  • Trash

AI features (planned)

Uninstall

  1. Delete the binary you installed (default ~/.local/bin/gorae on Linux or /usr/local/bin/gorae on macOS).

  2. Remove the config/data folders if you no longer need them:

    rm -rf ~/.config/gorae        # config + theme
    rm -rf ~/.local/share/gorae   # metadata store, notes, db

That's it—you can re-clone and reinstall at any time.

Attribution / Credit

This project is licensed under the MIT License.

If you use Gorae in your project, documentation, or distribution, please credit:

  • Gorae by Han
  • link to the project repository

Acknowledgements

fineday38
fineday38

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published