-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
action.yml
1132 lines (918 loc) · 35.7 KB
/
action.yml
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# ====================================================================================
# Inputs and configuration
inputs:
# ====================================================================================
# 🗃️ Base content
# Base content
base:
description: Metrics base content
default: header, activity, community, repositories, metadata
# Number of repositories to use to computes metrics
# Using more will result in more accurate metrics, but you may hit GitHub rate-limit more easily if you use a lot of plugins
repositories:
description: Number of repositories to use
default: 100
# Include forked repositories into metrics
repositories_forks:
description: Include forks in metrics
default: no
# Filter repositories by user affiliations (you can specify multiple affiliations constraints)
# Set to "" to use all repositories related to you
# Note that it may affect some plugin outputs (broad affiliations will result in less representative metrics)
repositories_affiliations:
description: Repositories affiliations
default: owner
# ====================================================================================
# 🧱 Core
# User account personal token
# No additional scopes are needed unless you want to include private repositories metrics
# Some plugins may also require additional scopes
# ────────────────────────────────────────────────────────────────
# If you're only using plugins which don't really require a GitHub token, you may pass "NOT_NEEDED" as value
token:
description: GitHub Personal Token
required: true
# GitHub username
# Defaults to "token" owner
user:
description: GitHub username
default: ""
# GitHub repository
# Compute metrics for a repository instead ("user" being the repository owner)
# Check https://github.com/lowlighter/metrics/blob/master/source/templates/repository/README.md for more informations
repo:
description: GitHub repository
default: ""
# Set to "${{ github.token }}" or "${{ secrets.GITHUB_TOKEN }}"
# GITHUB_TOKEN is a special auto-generated token restricted to current repository, which is used to push files in it
committer_token:
description: GitHub Token used to commit metrics
default: ${{ github.token }}
# Branch used to commit rendered metrics
committer_branch:
description: Branch used to commit rendered metrics
default: ""
# Commit message
# Use "${filename}" to display filename
committer_message:
description: Commit message
default: Update ${filename} - [Skip GitHub Action]
# Instead of saving metrics to a repository, it's possible to save them to a gist to avoid "commits pollution"
# Gist must be created prior and you must pass its identifier in the following option
# Set "gist" in "output_action" to use this option
committer_gist:
description: Gist used to store metrics
default: ""
# Rendered metrics output path, relative to repository's root
filename:
description: Rendered metrics output path
default: github-metrics.svg
# Rendered markdown output path (when using a markdown template)
# It can be either a local path or a link (e.g. raw.githubusercontent.com)
markdown:
description: Rendered markdown output path
default: TEMPLATE.md
# Rendered markdown file cache (when using a markdown template)
markdown_cache:
description: Rendered markdown file cache
default: .cache
# Output action
output_action:
description: Output action
default: commit
# Optimize SVG image to reduce its filesize
# Some templates may not support this option
optimize:
description: SVG optimization
default: yes
# Setup additional templates from remote repositories
setup_community_templates:
description: Additional community templates to setup
default: ""
# Template to use
# To use community template, prefix its name with "@"
template:
description: Template to use
default: classic
# Additional query parameters (JSON string)
# Some templates may require additional parameters which you can specify here
# Do not use this option to pass plugins parameters as they'll be overwritten by the other options
query:
description: Additional query parameters
default: "{}"
# Timezone used by metrics
# See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
config_timezone:
description: Timezone used
default: ""
# Specify in which order metrics content will be displayed
# If you omit some partials, they'll be appended at the end in default order
# See "partials/_.json" of each template for a list of supported partials
config_order:
description: Configure content order
default: ""
# Use twemojis instead of emojis
# May increase filesize but emojis will be rendered the same across all platforms
config_twemoji:
description: Use twemojis instead of emojis
default: no
# Render GitHub custom emojis (like ":octocat:", see full list at https://api.github.com/emojis)
# May increase filesize
config_gemoji:
description: Use GitHub custom emojis
default: yes
# Enable SVG CSS animations
config_animations:
description: SVG CSS animations
default: yes
# Configure padding for output image (percentage value)
# It can be used to add padding to generated metrics if rendering is cropped or has too much empty space
# Specify one value (for both width and height) or two values (one for width and one for height)
config_padding:
description: Image padding
default: 6%, 13%
# Metrics output format
config_output:
description: Output image format
default: svg
# Number of retries in case rendering fail
retries:
description: Number of retries
default: 3
# Time to wait (in seconds) before each retry
retries_delay:
description: Time to wait (in seconds) before each retry
default: 300
# Throw on plugins errors
# If disabled, metrics will handle errors gracefully with a message in rendered metrics
plugins_errors_fatal:
description: Die on plugins errors
default: no
# Debug mode
# Note that this will automatically be enabled if job fails
debug:
description: Debug logs
default: no
# Ensure SVG can be correctly parsed after generation
verify:
description: Verify SVG
default: no
# Debug flags
debug_flags:
description: Debug flags
default: ""
# Dry-run mode (perform generation without output)
# Unlike "output_action" set to "none", output file won't be available in "/metrics_renders"
dryrun:
description: Enable dry-run
default: no
# Experimental features
experimental_features:
description: Experimental features
default: ""
# Use mocked data to bypass external APIs
use_mocked_data:
description: Use mocked data instead of live APIs
default: no
# Use a pre-built image from GitHub registry when using unreleased versions of "lowlighter/metrics"
# This option has no effect on forks (images will always be rebuilt from Dockerfile)
# See https://github.com/users/lowlighter/packages/container/package/metrics for more information
use_prebuilt_image:
description: Use pre-built image from GitHub registry
default: yes
# ====================================================================================
# 📅 Isometric commit calendar
# Enable or disable plugin
plugin_isocalendar:
description: Display an isometric view of your commits calendar
default: no
# Set time window shown by isometric calendar
plugin_isocalendar_duration:
description: Set time window shown by isometric calendar
default: half-year
# ====================================================================================
# 🈷️ Most used languages
# Enable or disable plugin
plugin_languages:
description: Display most used languages metrics
default: no
# List of languages that will be ignored
plugin_languages_ignored:
description: Languages to ignore
default: ""
# List of repositories that will be skipped
plugin_languages_skipped:
description: Repositories to skip
default: ""
# Number of languages to display
# Set to 0 to disable limitations
plugin_languages_limit:
description: Maximum number of languages to display
default: 8
# Overrides default languages colors
# Use `${n}:${color}` to change the color of the n-th most used language (e.g. "0:red" to make your most used language red)
# Use `${language}:${color}` to change the color of named language (e.g. "javascript:red" to make JavaScript language red, language case is ignored)
# Use a value from `colorsets.json` to use a predefined set of colors
# Both hexadecimal and named colors are supported
# This cannot be used when "plugin_languages_limit" is greater than 8
plugin_languages_colors:
description: Custom languages colors
default: github
# Languages additional details
plugin_languages_details:
description: Additional details
default: ""
# Minimum threshold (in percentage) to reach for languages to be displayed
plugin_languages_threshold:
description: Minimum threshold
default: 0%
# ====================================================================================
# 🙋 Introduction
# Enable or disable plugin
plugin_introduction:
description: Display account or repository introduction
default: no
# Display introduction section title
plugin_introduction_title:
description: Display introduction section title
default: yes
# ====================================================================================
# 💡 Coding habits
# Enable or disable plugin
plugin_habits:
description: Display coding habits metrics
default: no
# Number of events to use to computes habits
# Using more will result in more accurate metrics, but you may hit GitHub rate-limit more easily
plugin_habits_from:
description: Number of events to use
default: 200
# Filter used events to compute habits by age
plugin_habits_days:
description: Maximum event age
default: 14
# Display tidbits about your most active hours/days, indents used (spaces/tabs), etc.
# This is deduced from your recent activity
plugin_habits_facts:
description: Display coding habits collected facts based on recent activity
default: yes
# Display charts of most active time of the day and most active day of the week
# Also display languages recently used (this is not the same as plugin_languages, as the latter is an all-time stats)
plugin_habits_charts:
description: Display coding habits charts based on recent activity
default: no
# ====================================================================================
# 📜 Repository licenses
# Enable or disable plugin
plugin_licenses:
description: Display licenses informations
default: no
# Command to use to setup target repository
# It is required to install all dependencies that will be analyzed with github/licensed
plugin_licenses_setup:
description: Command to setup target repository
default: ""
# Display used licenses from both repository license and dependencies licenses ratio
plugin_licenses_ratio:
description: Display used licenses ratio
default: no
# Display permissions, limitations and conditions from both repository license and dependencies licenses
# Note that this is NOT legal advice, use at your own risk
plugin_licenses_legal:
description: Display legal informations about used licenses
default: yes
# ====================================================================================
# 🏅 Repository contributors
# Enable or disable plugin
plugin_contributors:
description: Display repository contributors
default: no
# Base reference (commit, tag, branch, etc.)
plugin_contributors_base:
description: Base reference
default: ""
# Head reference (commit, tag, branch, etc.)
plugin_contributors_head:
description: Head reference
default: master
# Ignored contributors (useful to ignore bots users)
plugin_contributors_ignored:
description: Contributors to ignore
default: github-actions[bot]
# Display total contributions for each contributor
plugin_contributors_contributions:
description: Display contributions
default: no
# ====================================================================================
# 🌟 Recently starred repositories
# Enable or disable plugin
plugin_stars:
description: Display recently starred repositories
default: no
# Number of stars to display
plugin_stars_limit:
description: Maximum number of stars to display
default: 4
# ====================================================================================
# 📌 Starred topics
# Enable or disable plugin
plugin_topics:
description: Display starred topics
default: no
# Plugin mode
plugin_topics_mode:
description: Plugin mode
default: starred
# Topics sorting order
plugin_topics_sort:
description: Sorting method of starred topics
default: stars
# Number of topics to display
# Set to 0 to disable limitations
# When in "starred" mode, additional topics will be grouped into an ellipsis
plugin_topics_limit:
description: Maximum number of topics to display
default: 15
# ====================================================================================
# 🎭 Comment reactions
# Enable or disable plugin
plugin_reactions:
description: Display average issue comments reactions
default: no
# Maximum number of issue comments to parse
# Issues will be fetched before issues comments
plugin_reactions_limit:
description: Maximum number of issue comments to parse
default: 200
# Filter reactions by issue comments age
# Set to 0 to disable age filtering
plugin_reactions_days:
description: Maximum issue comments age
default: 0
# Reaction display mode.
# Use this option to fill gauges using:
# - "absolute" to use total reactions count
# - "relative" to use highest reaction count
plugin_reactions_display:
description: Display mode
default: absolute
# Additional details
# If multiple values are specified, emphasis will be set on first value
plugin_reactions_details:
description: Additional details
default: ""
# ====================================================================================
# 🧑🤝🧑 People plugin
# Enable or disable plugin
plugin_people:
description: Display GitHub users from various affiliations
default: no
# Number of users to display per section
plugin_people_limit:
description: Maximum number of user to display
default: 28
# Size of displayed user's avatar
plugin_people_size:
description: Size of displayed GitHub users' avatars
default: 28
# List of section to display
# Ordering will be kept
plugin_people_types:
description: Affiliations to display
default: followers, following
# When displaying "thanks" section, specified users list will be displayed
# This is useful to craft "Special thanks" badges
plugin_people_thanks:
description: GitHub users to personally thanks
default: ""
# Add specified users to GitHub sponsors ("sponsors" must be specified in "plugin_people_types")
# This is useful to list sponsors from unsupported GitHub sponsors sources
plugin_people_sponsors_custom:
description: Custom GitHub sponsors
default: ""
# Use GitHub identicons instead of users' avatar (for privacy purposes)
plugin_people_identicons:
description: Use identicons instead of avatars
default: no
# Shuffle users for varied outputs
# If "plugin_people_limit" is set, plugin will fetch up to 10 ten times limit to ensure output is different each time
plugin_people_shuffle:
description: Shuffle users
default: no
# ====================================================================================
# 🎫 Gists
# Enable or disable plugin
plugin_gists:
description: Display gists metrics
default: no
# ====================================================================================
# 🎟️ Follow-up of issues and pull requests
# Enable or disable plugin
plugin_followup:
description: Display follow-up of repositories issues and pull requests
default: no
# ====================================================================================
# 👨💻 Lines of code changed
# Enable or disable plugin
plugin_lines:
description: Display lines of code metrics
default: no
# ====================================================================================
# 🧮 Repositories traffic
# Enable or disable plugin
plugin_traffic:
description: Display repositories traffic metrics
default: no
# ====================================================================================
# ✨ Stargazers over last weeks
# Enable or disable plugin
plugin_stargazers:
description: Display stargazers metrics
default: no
# ====================================================================================
# 🗂️ Active projects
# Enable or disable plugin
plugin_projects:
description: Display active projects
default: no
# Number of projects to display
# Set to 0 to only display "plugin_projects_repositories" projects
# Projects listed in "plugin_projects_repositories" are not affected by this option
plugin_projects_limit:
description: Maximum number of projects to display
default: 4
# List of repository projects to display, using the following format:
# :user/:repo/projects/:project_id
plugin_projects_repositories:
description: List of repository project identifiers to disaplay
default: ""
# Display projects descriptions
plugin_projects_descriptions:
description: Display projects descriptions
default: no
# ====================================================================================
# 📰 Recent activity
# Enable or disable plugin
plugin_activity:
description: Display recent activity
default: no
# Number of activity events to display
plugin_activity_limit:
description: Maximum number of events to display
default: 5
# Filter events by age
# Set to 0 to disable age filtering
plugin_activity_days:
description: Maximum event age
default: 14
# Filter events by type
plugin_activity_filter:
description: Events types to keep
default: all
# Set events visibility (use this to restrict events when using a "repo" token)
plugin_activity_visibility:
description: Set events visibility
default: all
# Display events timestamps
plugin_activity_timestamps:
description: Display events timestamps
default: no
# ====================================================================================
# 🏆 Achievements
# Enable or disable plugin
plugin_achievements:
description: Display achievements
default: no
# Minimal rank to display
plugin_achievements_threshold:
description: Display rank minimal threshold
default: C
# Display secrets achievements unlocked
plugin_achievements_secrets:
description: Display unlocked secrets achievements
default: yes
# Number of achievements events to display
# Set to 0 to disable limitations
plugin_achievements_limit:
description: Maximum number of achievements to display
default: 0
# List of unlocked achievements to hide
# Names must be given in lower case, without rank adjective
plugin_achievements_ignored:
description: Unlocked achievements to hide
default: ""
# List of unlocked achievements to display
# Names must be given in lower case, without rank adjective
# Using this option is equivalent of using "plugin_achievements_ignored" with all existing achievements but the ones listed
plugin_achievements_only:
description: Unlocked achievements to display
default: ""
# ====================================================================================
# 🎩 Notable contributions
# Enable or disable plugin
plugin_notable:
description: Display notable contributions in organizations
default: no
# ====================================================================================
# 💭 GitHub Community Support
# Enable or disable plugin
plugin_support:
description: GitHub Community Support metrics
default: no
# ====================================================================================
# 🌇 GitHub Skyline 3D calendar
# Enable or disable plugin
plugin_skyline:
description: Display GitHub Skyline 3D calendar
default: no
# Displayed year
plugin_skyline_year:
description: Displayed year
default: current-year
# Number of frames
# Use 120 for a full-loop and 60 for a half-loop
plugin_skyline_frames:
description: Number of frames
default: 60
# Image quality
plugin_skyline_quality:
description: Image quality
default: 0.5
# This uses CSS animations instead of GIF to support a wider range of browser like FireFox and Safari
# Using this mode significantly increase file size as each frame is encoded separately
plugin_skyline_compatibility:
description: Compatibility mode
default: no
# ====================================================================================
# ⏱️ Website performances
# Enable or disable plugin
plugin_pagespeed:
description: Display a website Google PageSpeed metrics
default: no
# Website to audit with PageSpeed
plugin_pagespeed_url:
description: Audited website
default: .user.website
# Display the following additional metrics from audited website:
# First Contentful Paint, Speed Index, Largest Contentful Paint, Time to Interactive, Total Blocking Time, Cumulative Layout Shift
# See https://web.dev/performance-scoring/ and https://googlechrome.github.io/lighthouse/scorecalc/ for more informations
plugin_pagespeed_detailed:
description: Detailed audit result
default: no
# Display a screenshot of audited website
# May increases significantly filesize
plugin_pagespeed_screenshot:
description: Display a screenshot of your website
default: no
# PageSpeed API token
# This is optional, but providing it will avoid hitting rate-limiter
# See https://developers.google.com/speed/docs/insights/v5/get-started for more informations
plugin_pagespeed_token:
description: PageSpeed token
default: ""
# ====================================================================================
# 🎼 Music plugin
# Enable or disable plugin
plugin_music:
description: Display your music tracks
default: no
# Name of music provider
# This is optional for "playlist" mode (it can be deduced automatically from "plugin_music_playlist" url)
# This is required in other modes
plugin_music_provider:
description: Music provider
default: ""
# Music provider token
# This may be required depending on music provider used and plugin mode
# - "apple" : not required
# - "spotify" : required for "recent" mode, format is "client_id, client_secret, refresh_token"
# - "lastfm" : required, format is "api_key"
plugin_music_token:
description: Music provider personal token
default: ""
# Plugin mode
plugin_music_mode:
description: Plugin mode
default: ""
# Embed playlist url (i.e. url used by music player iframes)
plugin_music_playlist:
description: Embed playlist url
default: ""
# Number of music tracks to display
plugin_music_limit:
description: Maximum number of tracks to display
default: 4
# Display when track was last played
plugin_music_played_at:
description: Display when the track was played
default: no
# Username on music provider service
plugin_music_user:
description: Music provider username
default: .user.login
# ====================================================================================
# 🐤 Latest tweets
# Enable or disable plugin
plugin_tweets:
description: Display recent tweets
default: no
# Twitter API token
# See https://apps.twitter.com for more informations
plugin_tweets_token:
description: Twitter API token
default: ""
# Display tweets attachments (images, video previews, etc.)
plugin_tweets_attachments:
description: Display tweets attchments
default: no
# Number of tweets to display
plugin_tweets_limit:
description: Maximum number of tweets to display
default: 2
# Twitter username
plugin_tweets_user:
description: Twitter username
default: .user.twitter
# ====================================================================================
# 🌸 Anilist watch list and reading list
# Enable or disable plugin
plugin_anilist:
description: Display data from your AniList account
default: no
# Types of medias to display
plugin_anilist_medias:
description: Medias types to display
default: anime, manga
# Sections to display
# Values from "plugin_anilist_medias" may impact displayed sections
plugin_anilist_sections:
description: Sections to display
default: favorites
# Number of entries to display per section (this does not impacts characters section)
# Set to 0 to disable limitations
plugin_anilist_limit:
description: Maximum number of entries to display per section
default: 2
# Number of entries to display in characters section
# Set to 0 to disable limitations
plugin_anilist_limit_characters:
description: Maximum number of entries to display in characters section
default: 22
# Shuffle AniList data for varied outputs
plugin_anilist_shuffle:
description: Shuffle AniList data
default: yes
# Username on AniList
plugin_anilist_user:
description: AniList login
default: .user.login
# ====================================================================================
# 🗨️ Stackoverflow plugin
# Enable or disable plugin
plugin_stackoverflow:
description: Stackoverflow metrics
default: no
# Stackoverflow user id
# To obtain it, extract the identifier on your account page url
plugin_stackoverflow_user:
description: Stackoverflow user id
default: 0
# Sections to display
plugin_stackoverflow_sections:
description: Sections to display
default: answers-top, questions-recent
# Number of entries to display per section
plugin_stackoverflow_limit:
description: Maximum number of entries to display per section
default: 2
# Number of lines to display per question or answer
# Set to 0 to disable limitations
plugin_stackoverflow_lines:
description: Maximum number of lines to display per question or answer
default: 4
# ====================================================================================
# ✒️ Recent posts
# Enable or disable plugin
plugin_posts:
description: Display recent posts
default: no
# Posts external source
plugin_posts_source:
description: Posts external source
default: ""
# Display a few lines about each posts
plugin_posts_descriptions:
description: Display posts descriptions
default: no
# Display posts cover images
plugin_posts_covers:
description: Display posts cover images
default: no
# Number of posts to display
plugin_posts_limit:
description: Maximum number of posts to display
default: 4
# Username on external posts source
plugin_posts_user:
description: Posts external source username
default: .user.login
# ====================================================================================
# 🗼 Rss feed
# Enable or disable plugin
plugin_rss:
description: Display RSS feed
default: no
# RSS feed source
plugin_rss_source:
description: RSS feed source
default: ""
# Number of items to display
# Set to 0 to disable limitations
plugin_rss_limit:
description: Maximum number of items to display
default: 4
# ====================================================================================
# ⏰ WakaTime plugin
# Enable or disable plugin
plugin_wakatime:
description: Display WakaTime stats
default: no
# WakaTime API token
# See https://wakatime.com/settings/account get your API key
plugin_wakatime_token:
description: WakaTime API token
default: ""
# Time range to use for displayed stats
plugin_wakatime_days:
description: WakaTime time range
default: 7
# Sections to display
plugin_wakatime_sections:
description: Sections to display
default: time, projects, projects-graphs, languages, languages-graphs, editors, os
# Number of entries to display per graph
# Set to 0 to disable limitations
plugin_wakatime_limit:
description: Maximum number of entries to display per graph
default: 5
# ====================================================================================
# 💹 Stock prices
# Enable or disable plugin
plugin_stock:
description: Display stock prices of a given company
default: no
# RapidAPI Yahoo finance token
# Case insensitive
plugin_stock_token:
description: Yahoo Finance token
default: ""
# Company stock symbol (required)
plugin_stock_symbol:
description: Company stock symbol
default: ""
# Time range to display (relative to current date)
plugin_stock_duration:
description: Time range to display
default: 1d
# Time invervals between each records over the given time range
plugin_stock_interval:
description: Time intervals between records
default: 5m
# ====================================================================================
# 📸 Website screenshot
# Enable or disable plugin
plugin_screenshot:
description: Display a screenshot of any website
default: no
# Screenshot title caption
plugin_screenshot_title:
description: Screenshot title caption
default: Screenshot
# Website to take screenshot
plugin_screenshot_url:
description: Website to take screenshot
default: ""
# Selector to take in screenshot
plugin_screenshot_selector:
description: Selector to take in screenshot
default: body
# Display or remove default page background
plugin_screenshot_background:
description: Display or remove default page background
default: yes
# ====================================================================================