创建新文档

您的文档标题(将显示为 H1)
URL 友好名称(无空格,使用连字符)
创建文档的路径(可选,使用正斜杠创建子目录)

移动/重命名文档

文档的当前位置
文档的新路径(包括别名)
这只会更改文档的路径,不会修改文档的标题(H1 标题)。

删除文档

您确定要删除此文档吗?此操作无法撤销。

警告:如果这是一个文件夹,包括子文件夹和文档在内的所有内容将被删除。

Message

Message content goes here.

Confirm Action

Are you sure?

附件

允许的文件类型:jpg, jpeg, png, gif, svg, webp, txt, log, csv, sfd, zip, pdf, docx, xlsx, pptx, mp4(最大:1MB)

文档文件

正在加载附件...

文档历史

以前的版本

Loading versions...

预览

选择要预览的版本

Wiki 设置

用户界面语言
控制哪些日志消息写入控制台 (debug, info, warn, error)
每个文档保留的版本数量。设置为0以禁用版本控制。
上传文件的最大允许大小(MB)。

用户管理

添加新用户

留空以保持当前密码
拥有这些组的用户可以访问受限部分。

为您的Wiki部分定义基于路径的访问规则。规则按顺序评估。首次匹配生效。

活动规则

从ZIP归档文件导入Markdown文件。文件将被处理并存储在适当的文档结构中。ZIP中的目录结构(类别/子类别)将在wiki中保留。

上传包含要导入的Markdown(.md)文件的ZIP归档(压缩包)。

创建和管理您的 Wiki 数据备份。备份包括所有文档、图像和配置文件。

可用备份

正在加载备份...

添加/编辑访问规则

已选择: /

添加列

Configuration

Basic Settings

Configuration is stored in data/config.yaml and will be created automatically on first run with default values. You can modify this file to customize your wiki:

server:
    host: 0.0.0.0
    port: 8080
    # When set to true, allows cookies to be sent over non-HTTPS connections.
    # WARNING: Only enable this in trusted environments like a homelab
    # where HTTPS is not available. This reduces security by allowing
    # cookies to be transmitted in plain text.
    allow_insecure_cookies: true
    # Enable native TLS. When true, application will run over HTTPS using the
    # supplied certificate and key paths.
    ssl: false
    ssl_cert: ""
    ssl_key: ""
wiki:
    root_dir: "data"
    documents_dir: "documents"
    title: "📚 Wiki-Go"
    owner: "wiki.example.com"
    notice: "Copyright :::year::: © All rights reserved."
    timezone: "America/Vancouver"
    private: false
    disable_comments: false
    disable_file_upload_checking: false
    enable_link_embedding: true
    hide_attachments: false
    disable_content_max_width: false
    always_open_children_in_sidebar: false
    max_versions: 10
    # Maximum file upload size in MB
    max_upload_size: 10
    # Default language for the wiki interface (en, es, etc.)
    language: en
security:
    login_ban:
        # Enable protection against brute force login attacks
        enabled: true
        # Number of failed attempts before triggering a ban
        max_failures: 5
        # Time window in seconds for counting failures
        window_seconds: 180
        # Duration in seconds for the first ban
        initial_ban_seconds: 60
        # Maximum ban duration in seconds (24 hours)
        max_ban_seconds: 86400
users:
    - username: admin
      password: <bcrypt-hashed-password>
      role: admin

Customization

Custom Favicon

LeoMoon Wiki-Go comes with default favicons, but you can easily replace them with your own:

  1. To use custom favicons, place your files in the data/static/ directory with the following names:

    • favicon.ico - Standard favicon format (used by older browsers)
    • favicon.png - PNG format favicon
    • favicon.svg - SVG format favicon (recommended for best quality at all sizes)
  2. The application will automatically detect and use your custom favicon files without requiring a restart.

SVG format is recommended for favicons as it scales well to different sizes while maintaining crisp quality.

Custom Logo (Optional)

You can add a custom logo to display in the sidebar above your wiki title:

  1. Create a logo file in one of the supported formats:

    • logo.svg - SVG format (recommended for best quality)
    • logo.png - PNG format (alternative option)
  2. Place the logo file in the data/static/ directory.

  3. The logo will automatically appear in the sidebar above your wiki title.

Notes:

Global Banner (Optional)

You can add a banner image that will appear at the top of all documents:

  1. Create a banner image in one of the supported formats:

    • banner.png - PNG format (recommended for best quality)
    • banner.jpg - JPG format (alternative option)
  2. Place the banner file in the data/static/ directory.

  3. The banner will automatically appear at the top of all document content.

Notes:

User Management

LeoMoon Wiki-Go includes a user management system with different permission levels:

The default admin credentials are:

It's recommended to change these credentials immediately after first login.

附件

正在加载附件...

评论

暂无评论。成为第一个评论者!

搜索结果