Giter Club home page Giter Club logo

local-ehentai's Introduction

local-ehentai

Local E-Hentai Gallery Index (with ~830k galleries' metadata)

中文简介

Features

  • Search multiple tags, in like mode / exact mode
  • Local thumbnails cache
  • Export search results as csv / json
  • Expunged / min-rating filter
  • (Filename / URL based) local files filter, with auto discover

Build

Requirement

  • Go >= 1.12

Build

Build package cmd/local-ehentai:

go build ./cmd/local-ehentai

Set your workdir to web when running

Usage

Quick Start

  1. Download gdata.json from Mega, shared by Sachia Lanlus.
  2. Download & unzip local-ehentai.win.zip (Releases)
  3. Put gdata.json in the same directory with local-ehentai.exe
  4. Run local-ehentai.exe
  5. Open http://127.0.0.1:8080/

Search

Syntax

Comma-separated tag:value pair

tag1:exact value1$, tag2:like value2 [, tag3:value3, value4, ...]

If the tag is omitted, all tags will be searched.
If the value ends with $, an exact match will be performed.

Valid Tags

  • category
  • uploader
  • parody
  • character
  • artist
  • group
  • female
  • male
  • language
  • misc
  • gid (exact match)

Example

artist:toyo$, female: swim
Will match
(artist is toyo) AND (female contains swim)

Local Files Filter

Filename Based

Auto Discover

  1. Put your archive files under files directory (or sub directory)
  2. Restart local-ehentai.exe

Manually Link File with Gallery

  1. Modify file filesMap.txt in the same directory with local-ehentai.exe
  2. Syntax: filename/gallery_id, eg: abcd.zip/1234
  3. Restart local-ehentai.exe

URL Based

  1. Modify file existUrls.txt in the same directory with local-ehentai.exe
  2. Restart local-ehentai.exe

Enable Local Thumbnails Cache

If you have downloaded thumbnails form this torrent, you can use local thumbs cache without connecting to eght.org

  1. Unzip thumbs_raw.7z, rename the directory to thumbs
  2. Put thumbs directory in the same directory with local-ehentai.exe, then restart it

Demo

Galleries

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.