/monica-fork

:climbing: 您的私人社交关系管家。Monica with Lunar Calendar support and more security features.

Primary LanguagePHPGNU Affero General Public License v3.0AGPL-3.0

Monica Fork

构建状态

随意添加您需要的功能,我们没有 CI,没有 style-lint,也没有付费用户需要顾忌

本分叉与上游的区别:

  1. 支持农历(阴历)日期的提醒(很重要,许多人过农历生日、纪念日)
  2. 对 storage 的访问增加了权限验证(排除了穷举照片、文档的风险)

安装指北

  1. 请先预装 Docker、docker-compose
    mkdir monica && cd monica
    wget https://raw.githubusercontent.com/naiba/monica-fork/master/docker-compose.yml
    wget -O .env https://raw.githubusercontent.com/naiba/monica-fork/master/.env.example
    mkdir -p storage/framework/sessions
    mkdir -p storage/framework/cache
    mkdir -p storage/framework/views
    docker-compose up -d
    
  2. 修改一下 .env 里面的配置项
  3. 初始化数据库
    docker-compose exec mariadb mysql -uroot -pmysqrootpass -e "CREATE DATABASE monica CHARACTER SET utf8 COLLATE utf8_general_ci;"
    
  4. 初始化系统
    docker-compose exec monica php /monica/artisan key:generate
    docker-compose exec monica php /monica/artisan migrate
    docker-compose exec monica php /monica/artisan passport:keys
    
  5. 访问 ip:8080,可以使用反向代理包装一下

截图

首页

首页截图

联系人

联系人截图

# Do you want to add more calendars (Buddhist, Islamic, Japanese)?

  1. Add a translation in resource/lang/en/people.php, search for reminders_calendar_lunar. For example: add reminders_calendar_buddhist after reminders_calendar_lunar.
  2. Realize the corresponding Gregorian date conversion operation in convertToSolarCalendarDate and addTimeAccordingToFrequencyType in app/Helpers/DateHelper.php.

此项目从 2020 年 12 月 fork 自 Monica