Skip to content
Projects

About

本地网页书籍信息检索

Web & App Development

How these counts are measured

Measured star growth

in 24h
0
in 7 days
+1
in 15 days
+2
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

Markdown/README_EN.md

Original

EbookDatabase - Electronic Book Retrieval System ————— FROM CHATGPT4

ENGLISH | 日本語

Introduction

This is a localized electronic book retrieval system that supports advanced search queries.

The project is built with a Go (Gin) backend, a React frontend, and SQLite for data storage. It can be easily deployed with the official release package provided by this project.

The database provided by this project is aggregated from many channels, so there may be incomplete information and other issues. Please understand.

If you find errors in the database content or have good content you want to share with others, please contact me.

If there are many participants, the database will be updated regularly. Everyone contributes, and everyone benefits.

You can join a group chat to interact with like-minded people.

QQ Group: 942385978

Homepage Homepage

Database Backup

Click to view the database list

Quick Start

Video:

YouTube: https://youtu.be/-jD8OsF6di4

bilibili: https://www.bilibili.com/video/BV1fN4y1r7fP/

Other repository address: https://gitee.com/etojsyc/EbookDatabase

Local Running


Method 1 (Recommended! Run using the release package)

  1. Download the software package released by this project.

  2. Unzip the downloaded package.

  3. Download the project's database file and place it in the instance folder.

  4. Double-click the exe to start the project with one click.

  5. Then use it at http://127.0.0.1:10223/.


Method 2 (Run using source code)

  1. Install Node.js 18+, npm, and Go 1.21+.
  2. Run cd frontend && npm install && npm run build to produce the frontend assets.
  3. Return to the repository root and execute go build -o ebook-server . (or run go run . for development).
  4. Place the database files in the instance directory, then launch the binary with ./ebook-server (use ebook-server.exe on Windows). The service listens on http://127.0.0.1:10223/ by default.
  5. For frontend development mode, run npm run dev inside frontend and proxy API requests to the Go server.

Method 3 (Deploy using Docker)

  1. Pull the image directly from dockerhub

    docker pull hellohistory/ebookdatabase:tagname
    
  2. After the build is complete, run the following command to start the container:

    docker run -v /path/to/instance:/app/instance -v /path/to/logs:/app/logs  -p 10223:10223 ebookdatabase
    

You need to replace /path/to/instance with your local database file path, and /path/to/logs with your local log file path.

This will start a Docker container named ebookdatabase and map the container's 10223 port to the same port on the host.

  1. Visit http://127.0.0.1:10223/ in your browser to use the app.

Method 4 (Build and use a Docker container on your own)

Build and use a Docker container on your own.

  1. Make sure Docker is installed on your system. If not, refer to the installation guide on the Docker official website.

  2. Clone or download the source code of this project to your local environment. Make sure the Dockerfile is in the project root directory.

  3. In the terminal or command prompt, navigate to the project root directory and run the following command to build the Docker image:

    docker build -t ebookdatabase .
    
  4. After the build is complete, run the following command to start the container:

    docker run -v /path/to/instance:/app/instance  -p 10223:10223 ebookdatabase
    

    You need to replace /path/to/instance with your local database file path.

    This will start a Docker container named ebookdatabase and map the container's 10223 port to the same port on the host.

  5. Visit http://127.0.0.1:10223/ in your browser to use the app.


Features

  • Supports local basic search and advanced search
  • Supports fuzzy and precise search
  • Displays results with pagination

Search Results Page Search Results Page

Bug Reporting

If you encounter problems while running this project, please submit issues as follows:

1. Operating environment

2. Search conditions used

3. Screenshot of the error screen

Statement

This project is only for learning and communication purposes and is prohibited from being used in any commercial scenarios.

This project will never authorize anyone to use it for commercial purposes in any form. Any commercial scenario claiming to use this project is a rumor.

If rights are infringed, please contact the project for deletion.

This project assumes no responsibility. All responsibility is borne by the user. Please read the license file for details.

Explore related projects

Loading…