Giter VIP home page Giter VIP logo

disrust's Introduction

Disrust


Peek 2023-01-17 17-34

What is this ?

Disrust is a TUI discord client written entirely in glorious Rust. It works*.

The app is not fully feature complete. It's missing a lot of discord features, but the basics like navigating between servers, viewing channels, sending messages, etc are there. I might eventually come back to clean up code and make it fancier.

It's not fully complete because I really badly wanted to move on to my "infinite storage glitch" project idea and because every 10 minutes spent on doing anything UI related is shaving off at least a year of my lifespan each time.

I made it mostly to get better at Rust and because it's fun to work on a larger project for once.


Now, you might be asking yourself:

But is this legal ? No.

The use of this app is very much not kosher according to discord's TOS. I do not recommend using it seriously.

Installation

  • You need to have Rust and cargo installed in order to compile the code
  • Download the code in .zip or git clone it wherever you like
  • Go into that directory and run cargo run
  • Paste your user token in when the program prompts for it. If you don't know what that is, look up a video on youtube or smthn

Controls

  • Use arrows to navigate.
  • Press e to enter editing mode and esc to leave it
  • Press enter to open a server and view channels or send a message if you are in editing mode
  • Press esc to leave a server if not in editing mode
  • Press q to quit the app

Credits and final comments

Thanks to Traumatism (https://github.com/Traumatism) and their project ToastCord (https://github.com/Traumatism/ToastCord) for guidance. This would have been a lot more confusing to code without them.

Thanks to 6cord (https://github.com/diamondburned/6cord) for the initial inspiration

I appreciate any and all roasting of the code so I can improve.

Feel free to modify this code however you like (As long as the license remains GPL 3.0) or use for reference on how to interact with discord's API and specifically gateway, it was a pain in the ass to setup. I wish I had a reference like this in Rust when I started.

The API in general is pretty neat btw. I recommend messing with it or maybe starting a project with it.

disrust's People

Contributors

dvorakdwarf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

disrust's Issues

Panic at authorization

image
The token is valid, I'm using it in a few other clients

Happens right after I paste and enter on this prompt:

Please paste in your token. If you don't know what that is, please google

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.