5 unstable releases

0.3.0 Feb 20, 2022
0.2.0 Feb 19, 2022
0.1.2 Feb 19, 2022
0.1.1 Feb 19, 2022
0.1.0 Feb 18, 2022

#16 in #tweet

Download history 10/week @ 2024-09-23 23/week @ 2024-12-02 126/week @ 2024-12-09 6/week @ 2024-12-16

155 downloads per month

MIT license

4.5MB
175 lines

Random Donald Trump's tweet

Build

🚀 blazing fast!! 🚀 barely unsafe !! 🔥 generates random tweets in 10e8 ns!! 🚀

What's new?

  • New desktop version!!!!! 🔥🔥🔥🔥🔥🔥

Maga Desktop

  • Make sure to install:
    • sudo apt install libwebkit2gtk-4.0-dev libgtk-3-dev libappindicator3-dev `

How to

  • cargo install maga
  • maga # prints one tweet to the terminal
  • maga-desktop # Open the desktop app
  • maga --count=2 # prints 2 tweets to the terminal
  • maga-serve # small rest endpoint -- Default port is 8000
  • maga-serve --port=<port> # change default port
    • http://localhost:8000?count=1
  • docker build -t relz -f Dockerfile.stable .
  • docker run -it relz maga -c 1
  • docker run -it -p 9999:9999 relz maga-serve -p 9999

Docker - Dev

  • docker build -t dev -f Dockerfile.dev .
  • docker run -it dev maga -c 1
  • docker run -it -p 9999:9999 dev maga-serve -p 9999

Dependencies

~21–33MB
~517K SLoC