livefetcher

module
v0.0.0-...-d1346dc Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: AGPL-3.0

README

livefetcher

IMPORTANT: This program depends on mecab, please see https://github.com/shogo82148/go-mecab for install instructions. livefetcher Makefile expects mecab-config to be installed, and will set up environment flags appropriately if you use it. Note that if all you are doing is creating a new connector, you do not actually need to run the software, only run tests, which do not require mecab to be installed. See wiki for details.

To run hot-reloaded basic dev version of livefetcher, simply run make migrate and then make watch. This will require you to have postgres installed on your machine and gow set up.

To run containerized, run make run

Connector development

See wiki once I finish writing it.

The relevant code to connector development is also pretty heavily documented.

Directories

Path Synopsis
cmd
internal
core/fetchers
Package fetchers contains site fetchers/scrapers.
Package fetchers contains site fetchers/scrapers.
core/htmlquerier
Package htmlquerier provides a standardized declarative api for creating a querier that is able to fetch a string from a selector, apply filters to it, and send the result on for processing in the core.
Package htmlquerier provides a standardized declarative api for creating a querier that is able to fetch a string from a selector, apply filters to it, and send the result on for processing in the core.

Jump to

Keyboard shortcuts

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