Giter Club home page Giter Club logo

sydneyqt's Introduction

SydneyQt

SydneyQt

A desktop client for New Bing AI (Sydney ver.) based on Python and Qt.

简体中文

Features

  • Jailbreak New Bing with prompt injection.
  • Edit chat context as you wish.
  • Prevent message revoking.
  • Revoke and edit your last message.
  • Choose and send custom quick responses to the chat.
  • Use rich and plain text in snapped context, with LaTeX support.
  • Chat with webpages you browse.
  • Chat with documents you open (including pdf, docx and pptx).
  • Send images and ask the AI to do something with them.
  • Use OpenAI ChatGPT API.
  • Switch between custom prompt presets.
  • Customize settings to your liking.

Usage

  1. (Optional) Put your cookies.json in the same folder as main.py according to the instructions in the README file of EdgeGPT:
    • Install the Cookie-Editor extension for Chrome or Firefox
    • Go to bing.com
    • Open the extension
    • Click Export on the bottom right, then Export as JSON (This saves your cookies to clipboard)
    • Paste your cookies into a file cookies.json
  2. Install requirements:
pip install -r requirements.txt
  1. Run the program:
python main.py
  1. If you see an error message like 200, message='Invalid response status', url=URL('wss://sydney.bing.com/sydney/ChatHub'), you need to set up a proxy service with Cloudflare Workers. Here are the steps to do that:
Click me
  1. Go to this link and sign in or sign up for a Cloudflare account.
  2. In the sidebar, select Workers & Pages.
  3. On the page that opens, click Create application.
  4. Choose Create Worker.
  5. Give your worker a name and click Deploy.
  6. On the worker detail page, click Quick edit.
  7. Copy all the code from here and paste it over the existing code in worker.js. Then click Save and deploy.
  8. Copy the worker domain that looks like xxxx-xxxx-xxxx.xxxx.workers.dev (not a URL like https://xxxx-xxxx-xxxx.xxxx.workers.dev/, please remove the prefixes and suffixes) and paste it as Wss Domain in the settings dialog of SydneyQt. Then click Save.

FAQ

If you encounter any of these issues: Request is throttled, Authentication Failed, OSError: [WinError 64], etc, please try the following steps to fix them:

  1. Update SydneyQt to the latest version.
  2. Open a private browsing window in Edge, log in to bing.com and send a random message to New Bing.
  3. Export the cookies.json file and replace the original one.

If these steps don't work, check your proxy settings as follows:

  1. Go to settings in SydneyQt and try different proxy types. For example: http://127.0.0.1:7890, socks5h://127.0.0.1:7890 (the h letter means to send the hostname to the proxy)
  2. If this doesn't work either, leave the proxy blank in SydneyQt, and try using Proxifier or Clash TUN mode.

To avoid the User needs to solve CAPTCHA to continue message, make sure your proxy IP does not change. If you use Clash, disable load-balancing or round-robin modes and stick to one node only.

Screenshots

Star History

Star History Chart

Credits

https://github.com/acheong08/EdgeGPT

https://github.com/InterestingDarkness/EdgeGPT/tree/sydney

sydneyqt's People

Contributors

juzeon avatar samfisherirl avatar nijikamywaifu avatar supremetechwizard avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.