-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.yaml
135 lines (121 loc) Β· 4.41 KB
/
config.example.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
# Enables development model. That entails:
# - Request logging.
# - Template loading every request.
# - No git commit on save.
development: false
# The location of the Hugo's source.
sourceDirectory: /app/source
# The directory where the public files will be stored.
publicDirectory: /app/public
# The directory where Eagle will store some data.
dataDirectory: /app/data
# The port to listen on.
port: 8080
# The base URL from which the website is served.
baseUrl: "http://localhost:8080"
# The secret to protect JWT tokens.
tokensSecret: SecureSecret
# Optional GitHub (https://docs.github.com/) webhook secret to update the source repository.
webhookSecret: GitHub
# Turn on TOR Onion service (with Onion-Location header).
tor: true
# Login user configuration.
login:
# The login username.
username: johndoe
# Encrypted password. Use 'eagle pwd' to generate the password.
password: invalidSecret
# Enable support for comments. They are moderated through the same view as
# Webmentions, and stored in the same file. You need to add a form to your posts
# to submit a comment to the '/comments' endpoint.
comments:
# Must be set to enable. Page to which to redirect users after commenting.
redirect: /my-thank-you-page/
# Case-insensitive "captcha" value for anti-spam verification. If not empty,
# users will have to insert this value into a input field with name 'captcha'.
# Think about something they know about you: your name, last name, etc.
captcha: John
# Webmentions configuration.
webmentions:
# Webmention.io (https://webmention.io) secret for incoming webmentions.
secret: MySecret
# Optional Micropub configuration. Disabled otherwise.
micropub:
# Which of your Hugo taxonomy is Micropub channels. Disabled if not set.
channelsTaxonomy: categories
# Which of your Hugo taxonomies is Micropub categories. Disabled if not set.
categoriesTaxonomy: tags
# Allowed Micropub properties. An incoming request will be refused if unknown
# properties are included. The following properties are always allowed: published,
# updated, content, name, summary, post-status, category.
properties:
- syndication
- bookmark-of
# Supported post types. All supported if not set.
postTypes:
- type: bookmark
name: Bookmark
# Notifications configuration.
notifications:
# Telegram (https://core.telegram.org) credentials for notifications.
telegram:
token: TelegramToken
chatId: TelegramChat
# Optional BunnyCDN (https://bunny.net) credentials used for the media upload.
bunnycdn:
zone: someBunnyZone
key: someBunnySecret
base: someBunnyBase
# Optional Meilisearch (https://www.meilisearch.com/) endpoint for search.
meilisearch:
endpoint: myUrl
key: myKey
# The name of the taxonomies to index for search.
taxonomies:
- tags
- categories
# Optional ImgProxy (https://imgproxy.net/) integration for image resizing.
# Sizes are hardcoded for now.
imgproxy:
# Temporary directory shared between Eagle and ImgProxy
directory:
# ImgProxy endpoint
endpoint:
plugins:
# Optional Miniflux (https://miniflux.app) integration for blogroll data generation.
# Runs every day automatically, can be triggered through dashboard.
miniflux:
endpoint: myUrl
key: myKey
filename: data/feeds.json
opml: data/feeds.opml # optional
# Optional Linkding (https://github.com/sissbruecker/linkding) integration for bookmarks.
# Runs every day automatically, can be triggered through dashboard.
linkding:
endpoint: myUrl
key: myKey
filename: data/bookmarks.json
# Optional plugin to serve /.well-known/links, as well as save a data file with them.
# Runs every day automatically, can be triggered through dashboard.
external-links:
filename: "data/external-links.json"
ignored: ['domain.com', 'example.com']
# Optional Mastodon integration for post syndication.
mastodon:
server: yourServerUrl
clientKey: yourClientKey
clientSecret: yourClientSecret
accessToken: yourAccessToken
# Maximum allowed characters per post
maximumCharacters: 500
# Maximum allowed photos per post
maximumPhotos: 5
# Optional WebArchive integration.
webarchive:
# Which fields should be archived. It is either a string with @all or
# an array with the list of fields. @all is equivalent to [bookmark-of].
fields: "@all"
# Optional Locations plugin.
locations:
# Tries to expand the "location" property into a more detailed object.
expand: true