# lead **Repository Path**: cmvy2020/lead ## Basic Information - **Project Name**: lead - **Description**: 一个简约的背单词网站 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2023-07-15 - **Last Updated**: 2023-12-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
一个简约的背单词应用
首页: https://rzyzai.tech/lead/ DEMO: http://lead.rzyzai.tech/ ### 示例 |  |  | |---------------------------------------------------------|---------------------------------------------------------| |  |  | ### 部署 ```shell git clone https://github.com/rzyzai/lead.git cd lead mkdir build && cd build cmake .. && make (或 g++ ../src/*.cpp -I ../include -I ../include/bundled -lpthread -lleveldb -std=c++17 -O2 -o lead) ./lead ../res/config/config.json 打开 "localhost:8080" ``` ### config.json ```json { "admin_password": "admin", "listen_address": "0.0.0.0", "listen_port": 8080, "resource_path": "../res", "smtp_email": "", "smtp_password": "", "smtp_server": "", "smtp_username": "" } ``` - `admin_password`为管理员密码,用于在网页端查看服务器状态和修改配置。 - `listen_address`、`listen_address`为服务器监听地址 - `resource_path`是资源目录 - `smtp_**` 用于注册时发送验证邮件(选填) ### 依赖 - [nlohmann/json](https://github.com/nlohmann/json) - [cpp-httplib](https://github.com/yhirose/cpp-httplib) - [leveldb](https://github.com/google/leveldb) - [cppcodec](https://github.com/tplgy/cppcodec) - [libcurl](https://curl.se/libcurl/) - [MDUI v1](https://www.mdui.org/docs/) ### 日照一中AI社 lead 来自[日照一中AI社](https://github.com/rzyzai)