Skip to content

Instant messaging client copying the look and feel of clients from Andrew Hussie's webcomic Homestuck.

License

Notifications You must be signed in to change notification settings

Dpeta/pesterchum-alt-servers

Repository files navigation

PESTERCHUM GitHub all releases Community Discord Support Discord
GitHub commit activity Lines of code Code style: black

PESTERCHUM

Pesterchum is an instant messaging client copying the look and feel of clients from Andrew Hussie's webcomic Homestuck.

Contributions in any form are very welcome!! Including for extra themes, bug fixes, features, etc. Just hmu in the support server or make a pull request :3

There's a Russian translation of this repository available, it's somewhat outdated though.

This repository is a maintained version of ghostDunk's Pesterchum, originally forked from pesterchum-karxi + Hydrothermal's fix of the "YOUR NICK IS BEING CHANGED TO X" msgbox-spam exploit.

MAIN CHANGES

  • Updated dependencies; Python 2 --> Python 3, Qt4 --> Qt5 & Qt6
  • Basic GUI for choosing a server
  • Client --> Server encrypted connection via TLS/SSL
  • UTF-8 encoded text, emojis 😿💀😱 work and so do non-western characters that weren't supported with ascii
  • Get moods (and color) privately via metadata (IRCv3 draft), previously any IRC user could see who you were messaging since it would send out a public GETMOOD request
  • Tentative support for communicating color and timeline via IRCv3 Message Tags/TAGMSG
  • More options for quirks: build-in gradient function, exclude smilies/links (#35)
  • Funky win95-theme by cubicSimulation
  • Works better with high resolutions since size scales via Qt's high DPI scaling (#66)
  • Usable with Wayland on Linux, it used to break because of the way Pesterchum set its window position
  • Excecutables build with PyInstaller, allows for a smaller release filesize + dlls can be include with the binary
  • Lots of fixes for miscellaneous crashes/issues. . . check out the CHANGELOG! :3

INSTALLATION

  1. Download the appropriate release for your platform and architecture from releases.

  2. Extract the zip file.

  3. Run the executable:

    • For Windows, run pesterchum.exe, this may show up as just "pesterchum" if you have file extensions set to hidden.

      • Newer releases won't run on Windows XP/Vista since Python stopped supporting it.
    • For Linux, run Pesterchum.

      • Linux releases are not backwards compatible with glibc versions older than the one it was build against. The glibc version the release was build against will be included in the filename, like: PesterchumAlt.-2.2-linux64-glibc2.27.tar.gz. This really shouldn't be an issue unless your distro is absolutely ancient, if it is, run from source.
    • For macOS, run the Pesterchum.app app file, this may show up as just "Pesterchum" if you have file extensions set to hidden. Alternatively, run the binary directly from Pesterchum\Pesterchum.app\Contents\MacOS\Pesterchum.

      • macOS releases require at least 10.14 (Mojave) or older and a 64 bit processor.
      • My releases are unsigned, so you'll probably have to click "Open Anyway".

DOCUMENTATION

The old documentation can be found in docs, these have aged pretty well:

I've been adding some info to the wiki, the available pages as of me updating this readme are:

Some useful off-repo guides:

The old READMEs are also preserved in the docs folder:

RUNNING FROM SOURCE

Pesterchum is a Python script. This means that as long as you have Python installed you can run it without requiring a build/executable, this is useful if there's no compatible build for your system.

DEPENDENCIES

  • Python 3
    • Ideally 3.8 or later, though older versions may still work, I don't test them.
  • PyQt6 (prefered) or PyQt5 (legacy)
  • (Optional) certifi can provide alternative root certificates for TLS certificate validation.
    • Useful for MacOS, as Python doesn't use the system-provided certificates because of MacOS' outdated SSL library. Also miscellaneous systems without usable root certificates.

WALKTHROUGH

  1. Verify you have Python 3 and pip installed by running python --version and python -m pip --version on your system's console/terminal. If not, install Python, make sure to check to include pip and "Add to path" in the installer. If you have Python 3 but not pip, you could use get-pip.
    • On Windows, depending on your installation, Python 3 might be available with the py -3 command instead of python.
    • Some platforms, mostly Linux and macOS, might require you to run python3 instead of python. Some old installations still have Python 2 available under python.
    • On Linux it's better to install Python & pip via your package manager.
    • On macOS it's also possible to install (a more recent version of) Python via Brew.
  2. Install Pesterchum's dependencies with pip, run: python -m pip install -r requirements.txt
    • If this fails, try running python -m pip install -U pip setuptools wheel to update pip, setuptools & wheel and then trying again.
    • Alternatively, many linux distros also have packages for PyQt6.
  3. Download this repository's source, or choose the "Source Code" option on any release, and extract the archive to a folder of your choice.
    • Alternatively, clone the repository with git.
  4. Navigate your terminal to the folder you chose with cd /folder/you/chose.
    • For example, if you extracted it to your documents on Windows, run cd C:\Users\user\Documents\pesterchum-alt-servers-main.
      • Windows's cd command requires the /d flag to navigate to a different drive. (cd D:\pesterchum-alt-servers-main)
  5. Run Pesterchum by running python pesterchum.py or python3 pesterchum.py.

FREEZE / BUILD

Here's a quick guide on how to freeze Pesterchum, (that is, packaging it with python as an executable). :3

Ideally, you'll want to create and activate a virtual environment before anything else, this is not 100% required though.

  1. python3 -m pip install pyinstaller
  2. python3 pyinst.py

SMILIES pesterchum what did you do smilie

Text Smilie
:rancorous: :rancorous: pesterchum smilie/emote
:apple: :apple: pesterchum smilie/emote
:bathearst: :bathearst: pesterchum smilie/emote
:cathearst: :cathearst: pesterchum smilie/emote
:woeful: :woeful: pesterchum smilie/emote
:sorrow: :sorrow: pesterchum smilie/emote
:pleasant: :pleasant: pesterchum smilie/emote
:blueghost: :blueghost: pesterchum smilie/emote
:slimer: :slimer: pesterchum smilie/emote
:candycorn: :candycorn: pesterchum smilie/emote
:cheer: :cheer: pesterchum smilie/emote
:duhjohn: :duhjohn: pesterchum smilie/emote
:datrump: :datrump: pesterchum smilie/emote
:facepalm: :facepalm: pesterchum smilie/emote
:bonk: :bonk: pesterchum smilie/emote
:mspa: :mspa: pesterchum smilie/emote
:gun: :gun: pesterchum smilie/emote
:cal: :cal: pesterchum smilie/emote
:amazedfirman: :amazedfirman: pesterchum smilie/emote
:amazed: :amazed: pesterchum smilie/emote
:chummy: :chummy: pesterchum smilie/emote
:cool: :cool: pesterchum smilie/emote
:smooth: :smooth: pesterchum smilie/emote
:distraughtfirman: :distraughtfirman: pesterchum smilie/emote
:distraught: :distraught: pesterchum smilie/emote
:insolent: :insolent: pesterchum smilie/emote
:bemused: :bemused: pesterchum smilie/emote
:3: :3: pesterchum smilie/emote
:mystified: :mystified: pesterchum smilie/emote
:pranky: :pranky: pesterchum smilie/emote
:tense: :tense: pesterchum smilie/emote
:record: :record: pesterchum smilie/emote
:squiddle: :squiddle: pesterchum smilie/emote
:tab: :tab: pesterchum smilie/emote
:beetip: :beetip: pesterchum smilie/emote
:flipout: :flipout: pesterchum smilie/emote
:befuddled: :befuddled: pesterchum smilie/emote
:pumpkin: :pumpkin: pesterchum smilie/emote
:trollcool: :trollcool: pesterchum smilie/emote
:jadecry: :jadecry: pesterchum smilie/emote
:ecstatic: :ecstatic: pesterchum smilie/emote
:relaxed: :relaxed: pesterchum smilie/emote
:discontent: :discontent: pesterchum smilie/emote
:devious: :devious: pesterchum smilie/emote
:sleek: :sleek: pesterchum smilie/emote
:detestful: :detestful: pesterchum smilie/emote
:mirthful: :mirthful: pesterchum smilie/emote
:manipulative: :manipulative: pesterchum smilie/emote
:vigorous: :vigorous: pesterchum smilie/emote
:perky: :perky: pesterchum smilie/emote
:acceptant: :acceptant: pesterchum smilie/emote
:olliesouty: :olliesouty: pesterchum smilie/emote
:billiards: :billiards: pesterchum smilie/emote
:billiardslarge: :billiardslarge: pesterchum smilie/emote
:whatdidyoudo: :whatdidyoudo: pesterchum smilie/emote
:brocool: :brocool: pesterchum smilie/emote
:trollbro: :trollbro: pesterchum smilie/emote
:playagame: :playagame: pesterchum smilie/emote
:trollc00l: :trollc00l: pesterchum smilie/emote
:suckers: :suckers: pesterchum smilie/emote
:scorpio: :scorpio: pesterchum smilie/emote
:shades: :shades: pesterchum smilie/emote
:honk: :honk: pesterchum smilie/emote