This repository has been archived on 2026-02-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
2025-11-17 21:42:52 +08:00
2025-11-17 21:42:52 +08:00
2025-10-18 17:34:11 +08:00
2025-10-18 17:34:11 +08:00
2025-10-18 17:34:11 +08:00
2025-11-17 21:42:52 +08:00
2025-11-17 21:42:52 +08:00
2025-10-18 17:34:11 +08:00
2025-10-18 17:34:11 +08:00
2025-10-18 17:34:11 +08:00
2025-10-18 17:34:11 +08:00

A simple anonymous post website awa!

快速开始~

0、Clone本仓库

git clone https://github.com/Sycamore-Whisper/frontend.git

1、安装node依赖

pnpm install

2、修改配置

找到/src/config.ts根据注释配置后端信息和变量

接下来,找到/public/icon.png将其替换为你自己的图标

最后,找到/public/about.md填入自己的关于信息

配置完成!

3、构建静态文件

pnpm build

生成出的静态文件在/dist目录下将其上传到静态网页托管服务商或者自己的服务器上

接下来配置SPA路由回退

# Nginx/OpenResty
location / {
    try_files $uri $uri/ /index.html;
}
# Apache - .htaccess
<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /
  
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-l
  RewriteRule . /index.html [L]
</IfModule>

4、初始化后端

打开前端,会自动跳转至/init以便配置后端参数

部署完成owo。

5、管理页面

前往/admin输入初始化时设置的token即可

License

This project is licensed under the MIT License.

Description
😉 Sycamore_Whisper项目的前端
Readme 313 KiB
Languages
TypeScript 98.7%
CSS 0.8%
JavaScript 0.3%
HTML 0.2%