Skip to content
Notifications You must be signed in to change notification settings

aryan9190/haclib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8e7d13b · · Jul 24, 2025

History

73 Commits
Jul 24, 2025
Jul 13, 2025
Jul 13, 2025
Jul 23, 2025
Jul 23, 2025
Jul 14, 2025
Jul 13, 2025

Repository files navigation

HacLib — Self-Hosted Digital Library

HacLib is a public, self-hosted digital library platform where anyone can explore, suggest, and organize books, videos, and resources — with a clean admin panel and moderated content submission.

Live Demo: https://haclib.onrender.com


Windows Docker Users — Special Note

If you're on Windows and see an error like:

[Error: SQLITE_CANTOPEN: unable to open database file]

That means SQLite can't create or write to the default ./haclib.db file inside the Docker container — a common issue on Windows due to file permission behavior in Docker volumes.

To Fix This:

  1. Update your docker-compose.yaml to add a writable volume:
volumes:
  - ./data:/app/data

  1. Create a data/ folder locally in your project root:

mkdir data

  1. Update your db.js file so the database path is absolute inside the container:

filename: "/app/data/haclib.db"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published