openlibrary

module
v0.0.0-...-ada020d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2026 License: MIT

README

Prerequisite

libvips installation

  1. Download libvips: https://github.com/libvips/libvips/releases
  2. Install dependencies:

For debian-based:

apt install \
    libjpeg8 libjpeg8-dev \
    libpng16-16 libpng-dev \
    libwebp7 libwebp-dev
  1. Install libvips
./scripts/install-vips.sh
libvips - gotchas (at least for me, idk)
  1. Make sure that /usr/local/lib is in LD_LIBRARY_PATH

Install go tools

go install github.com/a-h/templ/cmd/templ@latest
go install github.com/mitranim/gow@latest

# Requires protoc installed
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest

go install -tags 'postgres' github.com/golang-migrate/migrate/v4/cmd/migrate@latest
go install github.com/sqlc-dev/sqlc/cmd/sqlc@latest

Directories

Path Synopsis
cmd
go2tsdef command
go2tsdef/generator
Package generator converts selected Go type declarations to TypeScript.
Package generator converts selected Go type declarations to TypeScript.
google-fonts-fetches command
Command google-fonts-fetches downloads the SIL OFL and Apache 2.0 families from the official Google Fonts repository.
Command google-fonts-fetches downloads the SIL OFL and Apache 2.0 families from the official Google Fonts repository.
rr-author-fix command
rr-scrapper command
sandbox command
server command
internal
app
lib
web

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL