Skip to content

Saigut/LumenIM

This branch is 8 commits ahead of, 26 commits behind gzydong/LumenIM:master.

Folders and files

NameName
Last commit message
Last commit date
Nov 18, 2023
Nov 20, 2023
Nov 18, 2023
Jul 14, 2024
Nov 22, 2023
Nov 22, 2023
Nov 21, 2023
Nov 20, 2023
Jul 8, 2024
Nov 20, 2023
Jul 9, 2024
Dec 16, 2023
Jul 8, 2024
Jul 8, 2024
Jul 8, 2024
Jul 8, 2024
Jul 8, 2024
Jul 8, 2024

Repository files navigation

Talk Client

项目介绍

此项目修改自 Lumen IM, 是 Saigut/social_server 的客户端。

项目预览

项目安装

下载安装
## 克隆项目源码包
git clone https://gitee.com/Saigut/LumenIM
或
git clone https://github.com/Saigut/LumenIM

## 安装项目依赖扩展组件
yarn install

# 启动本地开发环境
yarn dev
# 启动本地开发环境桌面客户端
yarn electron:dev

## 生产环境构建项目
yarn build

## 生产环境桌面客户端打包
yarn electron:build
关于请求转发

需要将 /gen_grpc.GrpcApi 请求转发到 social_server。

以 nginx 为例,如下:

server {
    listen       80;
    server_name  www.yourdomain.com;

    root /project-path/dist;
    index  index.html;

    location / {
      try_files $uri $uri/ /index.html;
    }
    
    location /gen_grpc.GrpcApi {
        proxy_pass http://localhost:10080;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header Content-Type $http_content_type;
    }

    location ~ .*\.(gif|jpg|jpeg|png|bmp|swf|flv|ico)$ {
        expires 7d;
    }

    location ~ .*\.(js|css)?$ {
        expires 7d;
    }
}

开发环境可以参考 vite.config.ts 中的 server.proxy 进行配置。

About

Saigut/social-server 的客户端

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 46.1%
  • TypeScript 42.5%
  • JavaScript 9.6%
  • Less 1.6%
  • HTML 0.2%