Firefly Comment Config
Overview
Select a comment provider and adjust provider-specific options without breaking current comments.
Workflow
- •Read the current target file(s) before editing.
- •Confirm the requested behavior and map it to existing keys.
- •Apply the smallest possible change inside the declared scope.
- •Keep existing style, object structure, and value types.
- •Report changed keys and paths.
Edit Scope
- •src/config/commentConfig.ts
Common Keys
- •type (none | twikoo | waline | giscus | disqus | artalk)
- •twikoo.envId / twikoo.lang / twikoo.visitorCount
- •waline.serverURL / waline.lang / waline.login / waline.visitorCount
- •artalk.server / artalk.locale / artalk.visitorCount
- •giscus.repo / repoId / category / categoryId / mapping / strict / reactionsEnabled / emitMetadata / inputPosition / lang / loading
- •disqus.shortname
Guardrails
- •Do not modify files outside Edit Scope unless explicitly requested.
- •Keep booleans, numbers, arrays, enums, and URLs in valid types.
- •Preserve existing comments unless they conflict with the new behavior.
- •Prefer minimal diffs that are easy to review.