You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
a948d4bf69 | 5 years ago | |
---|---|---|
bitcoin | 5 years ago | |
config | 5 years ago | |
db | 5 years ago | |
encoder | 5 years ago | |
export | 5 years ago | |
feeds | 5 years ago | |
filters | 5 years ago | |
github | 5 years ago | |
handlers | 5 years ago | |
logging | 5 years ago | |
posts | 5 years ago | |
static | 5 years ago | |
types | 5 years ago | |
utils | 5 years ago | |
.gitignore | 5 years ago | |
Dockerfile | 5 years ago | |
Dockerfile-sqliteweb | 5 years ago | |
Makefile | 5 years ago | |
README.md | 5 years ago | |
api.go | 5 years ago | |
commands.go | 5 years ago | |
config.toml | 5 years ago | |
docker-compose.yml | 5 years ago | |
docker-entrypoint.sh | 5 years ago | |
feed_commands.go | 5 years ago | |
go.mod | 5 years ago | |
go.sum | 5 years ago | |
jobs.go | 5 years ago | |
main.go | 5 years ago | |
parse_test.go | 5 years ago | |
posts_test.go | 5 years ago | |
scheduler.go | 5 years ago | |
server.go | 5 years ago |
README.md
MIRRORED FROM: https://git.sp4ke.com/sp4ke/hugobot
HUGOBOT
hugobot is a an automated content fetch and aggregation bot for Hugo data driven websites. It has the following features:
Data fetch
- Add feeds to the bot in the
feeds
sqlite table - Currently handles these types of feeds:
RSS
,Github Releases
,Newsletters
- Define your own feed types by implementing the
JobHandler
interface (seehandlers/handlers.go
). - Hugobot automatically fetch new posts from the feeds you defined
- It runs periodically to download new posts in the defined feeds.
- Everything is saved on an sqlite
- The scheduler can handle any number of tasks and uses leveldb for caching/resuming jobs.
Hugo export
- Data is automatically exported to the configured Hugo website path.
- It can export
markdwon
files orjson/toml
data files - All fields in the exported files can be customized
- You can define custom output formats by using the
FormatHandler
interface.
API
-
hugobot also includes a webserver API that can be used with Hugo Data Driven Mode.
-
WIP: Insert and query data
-
An example usage is the automated generation of Bitcoin addresses for new articles on bitcointechweekly.com
Sqliteweb interface
- See Docker files