Skip to content

AgrospAI/redis-populator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redis-populator

Tool for populating a Redis database from a remote markdown table.

To configure from where to fetch the Markdown file, which column of the Markdown table to use as the key and the destination Redis.

A working usage example is in the docker-compose.yaml, but we can also run it as is with Docker:

$ docker run -e CONFIG_PATH=/config -v $(pwd)/config:/config:ro clopezgarcia/redis-populator:latest

With a config.yaml with the following structure:

markdown:
  url: <Markdown URL>
  key: <Table key> # Will be used as Redis key

redis:
  base_url: <Redis URL>
  username: Optional<Redis Username> # If username is set, password must be set too
  password: Optional<Redis Password> # If password is set, username must be set too

Future

Future improvements (not in order):

  • Fetching auth.
  • Parsing of more file formats.

About

Tool for populating a Redis database from a remote markdown table.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published