Skip to content

Commit

Permalink
initial upload for new bingGPT
Browse files Browse the repository at this point in the history
  • Loading branch information
lony2003 committed Dec 18, 2023
0 parents commit 675b16b
Show file tree
Hide file tree
Showing 24 changed files with 5,945 additions and 0 deletions.
60 changes: 60 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Build/release

on:
push

jobs:
release:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]

steps:
- name: Install Depentent
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install -y rpm fakeroot

- name: Check out Git repository
uses: actions/checkout@v1

- uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v4
with:
node-version: 16

# step5: cleanup artifacts in dist_electron
#- name: cleanup package lock
# run: |
# npx rimraf "package-lock.json"

# step3: npm install
- name: npm install
run: |
npm install
# step4: build app
- name: build app
run: |
npm run make
# step6: upload artifacts
- name: upload artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.os }}
path: 'out/make'

# step7: create release
- name: release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: "out/make/**"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
94 changes: 94 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock
.DS_Store

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# Webpack
.webpack/

# Vite
.vite/

# Electron-Forge
out/

.idea/
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Release 0.4.1

## What's Improved

- A new Logo!!! Now `BingGPT` is becoming the wrapper of `Copilot with Bing Chat` (Although the app name won't change)
- A new Logo for macOS Platform which meets Apple's design guide
- A new wrapper written in Vue has been included in order to recover the function of bingGPT and provides a user-friendly interface instead of just right click.

## What's Broken

- All the Keyboard Shortcuts, Export, Font Size settings are broken due to `iframe`. Maybe next version I will change the `iframe` to `BrowserView`, or maybe next time, next next time......

## What Changed

- the appBundleId has changed from `com.dice2o.binggpt` to `org.eu.fangkehou.binggptee`. So if you are using macOS you may have to delete the old version of this app by yourself. Please notice that if you do that, ___ALL YOUR APP DATA WILL BE DELETED___

## What Needs Help

- Logo for macOS only have 1024x1024@x1 format, I cant find a proper tool for linux to generate an `icns` file that contains different size of the image and I don't have a MacBook.

If you can help me improve this app, Please contribute to this repository! Pull Request and Issue is welcome.
70 changes: 70 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<p align="center">
<img width="180" src="./icon.png" alt="BingGPT">
<h1 align="center">BingGPT</h1>
<p align="center">Desktop application of new Bing's AI-powered chat</p>
</p>

<p align="center">
<a href="https://opensource.org/licenses/Apache-2.0">
<img alt="License" src="https://img.shields.io/badge/license-Apache_2.0-green">
</a>
<a href="https://github.com/fangkehou-team/BingGPT/releases">
<img alt="Downloads" src="https://img.shields.io/github/downloads/fangkehou-team/BingGPT/total?color=blue">
</a>
</p>

English | [中文](./README_zh_CN.md)

## Info

Modified By Team Fangkehou.

## Install

Please go to [Releases page of this repository](https://github.com/fangkehou-team/BingGPT/releases) to get the latest build.

## Usage

- Sign in to your Microsoft account
- Start chatting

**Note: VPN is required if new Bing is not available in your area. Make sure `bing.com` and its subdomains are included in proxy rules.**

**If the app cannot be opened in macOS, execute the following command in Terminal app**

```
sudo xattr -d com.apple.quarantine /Applications/BingGPT.app
```

## Features

- Chat with new Bing without installing Microsoft Edge or browser plugins
- Export full conversation to Markdown, PNG or PDF
- Customize appearance (theme & font size)
- Keyboard shortcuts
- Multi-platform

## Shortcuts

| Action | Shortcut |
| ----------------- | ----------------------------------------------- |
| New topic | <kbd>Ctrl/Cmd</kbd> + <kbd>N</kbd> |
| Switch tone | <kbd>Ctrl/Cmd</kbd> + <kbd><</kbd> <kbd>></kbd> |
| Quick reply | <kbd>Ctrl/Cmd</kbd> + <kbd>Number</kbd> |
| Focus on textarea | <kbd>Ctrl/Cmd</kbd> + <kbd>I</kbd> |
| Stop responding | <kbd>Ctrl/Cmd</kbd> + <kbd>S</kbd> |
| Always on top | <kbd>Ctrl/Cmd</kbd> + <kbd>T</kbd> |
| Reload | <kbd>Ctrl/Cmd</kbd> + <kbd>R</kbd> |
| Set font size | <kbd>Ctrl/Cmd</kbd> + <kbd>+</kbd> <kbd>-</kbd> |

<kbd>Ctrl</kbd> - Windows and Linux

<kbd>Cmd(⌘)</kbd> - macOS

## Screenshot

<img width="601" src="./screenshot.png" alt="BingGPT Screenshot">

## License

Apache-2.0 License
66 changes: 66 additions & 0 deletions README_zh_CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<p align="center">
<img width="180" src="./icon.png" alt="BingGPT">
<h1 align="center">BingGPT</h1>
<p align="center">新必应的人工智能聊天桌面应用

</p>
</p>

<p align="center">
<a href="https://opensource.org/licenses/Apache-2.0">
<img alt="License" src="https://img.shields.io/badge/license-Apache_2.0-green">
</a>
<a href="https://github.com/fangkehou-team/BingGPT/releases">
<img alt="Downloads" src="https://img.shields.io/github/downloads/fangkehou-team/BingGPT/total?color=blue">
</a>
</p>

[English](./README.md) | 中文

## 注意

本仓库非原作者,本仓库代码由 Team Fangkehou 负责维护。

## 安装

请前往 [Releases 页面](https://github.com/fangkehou-team/BingGPT/releases) 获取最新版本

## 用法

- 登录你的微软账户
- 开始聊天

**注意:如果新版必应在你所在的地区不可用,你需要使用VPN。请确保`bing.com`及其子域名被包含在代理规则中。**

## 功能

- 不需要安装微软Edge或浏览器插件,就可以和新版必应聊天
- 将完整的对话导出为Markdown,PNG或PDF
- 自定义外观(主题和字体大小)
- 键盘快捷键
- 跨平台

## 快捷键

| 操作 | 快捷键 |
| ----------------- | ----------------------------------------------- |
| 新话题 | <kbd>Ctrl/Cmd</kbd> + <kbd>N</kbd> |
| 切换语气 | <kbd>Ctrl/Cmd</kbd> + <kbd><</kbd> <kbd>></kbd> |
| 快速回复 | <kbd>Ctrl/Cmd</kbd> + <kbd>Number</kbd> |
| 聚焦在文本区域 | <kbd>Ctrl/Cmd</kbd> + <kbd>I</kbd> |
| 停止回复 | <kbd>Ctrl/Cmd</kbd> + <kbd>S</kbd> |
| 始终在顶部 | <kbd>Ctrl/Cmd</kbd> + <kbd>T</kbd> |
| 重载账户设置 | <kbd>Ctrl/Cmd</kbd> + <kbd>R</kbd> |
| 设置字体大小 | <kbd>Ctrl/Cmd</kbd> + <kbd>+</kbd> <kbd>-</kbd> |

<kbd>Ctrl</kbd> - Windows 和 Linux

<kbd>Cmd(⌘)</kbd> - macOS

## 截图

<img width="601" src="./screenshot.png" alt="BingGPT 截图">

## 许可证

Apache-2.0 License
Loading

0 comments on commit 675b16b

Please sign in to comment.