The WhatsApp lib for java

Related tags

Gorgeous-Whatsapp
Overview

Gorgeous

The WhatsApp lib

Yowsup is no longer updated. There is no WhatsApp library available, but many people need it. I will gradually open source the library I have used for a long time. This library is written in Java. Will include all features except registration. Because the registration part is not in the scope of this open source.

If this code is useful for you, please give me a STAR

How to log in

You have two ways to log in

1) Use Gorgeous to register an account that may be blocked.

2) Use the emulator or mobile phone (root) to register the account, and then use the tool to extract the login configuration file.

Register use Gorgeous(First Method)

1) Opening the program will automatically jump to the login page and click the registration button.

clickreg

2) Enter the country code and phone number and click on CodeQuest.

coderequest

3) Enter the SMS verification code and click Register

inputcode

4) After successful registration, jump to the main page and select configuration file to log in

Extract from device(Second Method)

If you already have an account on your Android phone or emulator, you can simply extract the environment and log in.

1) Install APK to mobile phone or simulator. (whatsapp_config_tool.apk)

2) To make sure the device is root, click Export (Gorgeous)

click_export

3) Save the extracted configuration file to the computer (axolotl.db), you can change the file name arbitrarily;

login

main

addcontact

addcontact

updatehead

updatehead

sendmessage

sendmessage

warning

Application will visit https://www.whatsapp.com/android/ to check the version of whatsapp, please confirm whether your network can normal connection, try again or set agent.
To avoid version discrepancies, call the NoiseJni.CheckWhatsappVersion function once to check the version. 

#Linux sudo apt install libssl-dev sudo apt-get install curl libcurl4-openssl-dev

License:

Email: [email protected]

Gorgeous is licensed under the GPLv3+: http://www.gnu.org/licenses/gpl-3.0.html.

Issues
  • [SQLITE_ERROR] SQL error or missing database (no such table: settings)

    [SQLITE_ERROR] SQL error or missing database (no such table: settings)

    I have compiled Gorgeous and run it,when I use axolotl.db to login,it display a exception "[SQLITE_ERROR] SQL error or missing database (no such table: settings)".I open the axolotl.db but can not find the setting table.

    opened by elvishoo 10
  • Help project

    Help project

    @lovethiscode Hello friend, would it be possible to chat by instant messenger?

    +5538991026786 Whatsapp | Telegram Skype: netfiretec

    opened by netfiretec 8
  • question: Has a way to use Gorgeous only to maintain WhatsApp Web running?

    question: Has a way to use Gorgeous only to maintain WhatsApp Web running?

    Hello, i'm from brazil and sorry about my english. It's possible someday use your application just to maintain WhatsApp Web running without use a real smartphone or emulator to do this?

    opened by totynho 6
  • linux sendmedia problem

    linux sendmedia problem

    after I login and try to send media fie.

    Gorgeous-Whatsapp/Gorgeous/jni/libNoiseJni.so: undefined symbol: _Z12RandomStringB5cxx11i
    
    opened by 18712886438 5
  • Gorgeous工程run时报错

    Gorgeous工程run时报错

    Task :compileJava UP-TO-DATE Task :processResources NO-SOURCE Task :classes UP-TO-DATE

    Task :MainDialog.main() Exception in thread "main" java.awt.IllegalComponentStateException: contentPane cannot be set to null. at javax.swing.JRootPane.setContentPane(JRootPane.java:621) at javax.swing.JDialog.setContentPane(JDialog.java:1047) at MainDialog.(MainDialog.java:71) at MainDialog.main(MainDialog.java:469)

    opened by wangqiang20000909 5
  • Got error: [SQLITE_ERROR] SQL error or missing database (no such table: settings)

    Got error: [SQLITE_ERROR] SQL error or missing database (no such table: settings)

    I have copy axolotl.db to folder out. When I run and click top left button, i got error message: [SQLITE_ERROR] SQL error or missing database (no such table: settings) Did i do something wrong?

    opened by bahtiarp 4
  • SetPushName function It didn't work

    SetPushName function It didn't work

    https://github.com/lovethiscode/Gorgeous-Whatsapp/blob/43e12ceec616f4d1a14bf48fa13a3560314ba030/Gorgeous/src/main/java/GorgeousEngine.java#L662

    opened by DebugNewWorld 4
  • Alert: Whatshapp Version is Older.

    Alert: Whatshapp Version is Older.

    When run the JavaFx launcher today, i got alert: "Whatshapp Version is Older" What should i do? older

    opened by bahtiarp 4
  • video Tutorial required

    video Tutorial required

    hello

    Thank you for helping the community

    is there any tutorial in video format available from Compiling the Source code in JAVA,taking the DB from emulator or mobile phone ,extraction tool and sending the first message

    it will be very helpful for the first timers

    opened by madhu9998 4
  • can i convert axolotl.db from yowsup to gorgeous?

    can i convert axolotl.db from yowsup to gorgeous?

    I plan to migrate my yowsup number (axolotl.db created by yowsup + config.json) to gorgeous, is it possible?

    thanks.

    opened by bahtiarp 3
  • getGroupInviteLink

    getGroupInviteLink

    Hi dear friend Please implement getGroupInviteLink to query Group Invite Code with chat id

    opened by phpjoker 0
  • Manual

    Manual

    Please make an instruction for compilation in IntelliJ IDEA.

    opened by Whomakes 0
  • Unable to find setting table in axolotl.db

    Unable to find setting table in axolotl.db

    When I am trying to login using java client, It is not able to find setting table in db file.

    I have generated db file using apk provided in repo, I have checked all the generated db under database folder but none of the has the setting table and without that we won't be able to login

    Can anyone help me with either generating db with setting table or how we can by pass that in code.

    Many thanks in advance

    opened by AkashVirani 1
  • Login failed on Ubuntu OS

    Login failed on Ubuntu OS

    Hello.

    I can successfully launch a whatsapp account from axolotl.db on Mac OS with logs of login: Transition from 'Init' to 'WaitFinish' on event 'SendClientHello' with context '[email protected]'. Transition from 'WaitFinish' to 'Finish' on event 'SendClientFinish' with context '[email protected]'. Transition from 'Finish' to 'ChannelReady' on event 'Notify' with context '[email protected]'. or Transition from 'Init' to 'Finish' on event 'SendPayload' with context '[email protected]'. Transition from 'Finish' to 'ChannelReady' on event 'Notify' with context '[email protected]'.

    But when I try to run the same account (axolotl.db) from the Ubuntu OS, it does not login with the log: Transition from 'Init' to 'Finish' on event 'SendPayload' with context '[email protected]'. and then nothing...

    libssl-dev and libcurl4-openssl-dev installed on Ubuntu OS.

    opened by Lapa-tik-tik 0
  • is that whatsapp tracker

    is that whatsapp tracker

    is this library help to get online oflline status of whatsapp number

    opened by sorosons 0
  • Java complile error

    Java complile error

    hello

    i complied with with following manifest ,using intelij

    Manifest-Version: 1.0 Main-Class: application.client.login.MainLauncher

    when i run the jar file from CMD i am getting the following error,can you guide me where i am going wrong

    C:\Users\ADMIN\IdeaProjects\wa\out\artifacts\Gorgeous_jar>java -jar Gorgeous.jar Exception in Application start method java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:389) at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at sun.launcher.LauncherHelper$FXHelper.main(Unknown Source) Caused by: java.lang.RuntimeException: Exception in Application start method at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$1(LauncherImpl.java:182) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException: Location is required. at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3207) at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3175) at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3148) at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3124) at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3104) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:3097) at application.client.login.MainLauncher.start(MainLauncher.java:19) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$8(LauncherImpl.java:863) at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$7(PlatformImpl.java:326) at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at com.sun.glass.ui.win.WinApplication.lambda$null$4(WinApplication.java:187) ... 1 more Exception running application application.client.login.MainLauncher

    opened by madhu9998 0
  • Is there a

    Is there a "Gorgeous-Whatsapp-cli" like the "yowsup-cli" demos ?

    Hello

    Is there a "Gorgeous-Whatsapp-cli" that will run on a bash shell without GUI, like the "yowsup-cli" demos ?

    Great work !!

    opened by lauriolasw 1
Releases(0.3)
JPassport works like Java Native Access (JNA) but uses the Foreign Linker API instead of JNI. Similar to JNA, you declare a Java interface that is bound to the external C library using method names.

JPassport works like Java Native Access (JNA) but uses the Foreign Linker API instead of JNI. Similar to JNA, you declare a Java interface t

null 11 May 26, 2021
Flashcards app with Google Translate integration.

Flashcards application. Sample Spring + next.js + mongoDB Flashcard app, with Google Translator integration.

Łukasz 25 Mar 24, 2021
Simple API, Complex Emails (JavaMail smtp wrapper)

Simple Java Mail Simple Java Mail is the simplest to use lightweight mailing library for Java, while being able to send complex emails including CLI s

Benny Bottema 857 Jun 9, 2021
Design patterns implemented in Java

Design patterns implemented in Java Read in different language : CN, KR, FR, TR, AR Introduction Design patterns are the best formalized practices a p

Ilkka Seppälä 68.4k Jun 17, 2021
Modern Java - A Guide to Java 8

Modern Java - A Guide to Java 8 This article was originally posted on my blog. You should also read my Java 11 Tutorial (including new language and AP

Benjamin Winterberg 14.8k Jun 16, 2021
Ultra-fast SQL-like queries on Java collections

CQEngine - Collection Query Engine CQEngine – Collection Query Engine – is a high-performance Java collection which can be searched with SQL-like quer

Niall Gallagher 1.3k Jun 13, 2021
A lightweight command processing pipeline ❍ ⇢ ❍ ⇢ ❍ for your Java awesome app.

PipelinR PipelinR is a lightweight command processing pipeline ❍ ⇢ ❍ ⇢ ❍ for your awesome Java app. PipelinR has been battle-proven on production, as

Eduards Sizovs 152 Jun 17, 2021
Detect uses of legacy Java APIs

Modernizer Maven Plugin Modernizer Maven Plugin detects uses of legacy APIs which modern Java versions supersede. These modern APIs are often more per

Andrew Gaul 242 Jun 7, 2021
Tools for working with generic types

TypeTools A simple, zero-dependency library for working with types. Supports Java 1.6+ and Android. Introduction One of the sore points with Java invo

Jonathan Halterman 514 Jun 16, 2021
Support alternative markup for Apache Maven POM files

Overview Polyglot for Maven is a set of extensions for Maven 3.3.1+ that allows the POM model to be written in dialects other than XML. Several of the

null 766 Jun 8, 2021
icecream-java is a Java port of the icecream library for Python.

icecream-java is a Java port of the icecream library for Python.

Akshay Thakare 18 May 13, 2021
A Java to iOS Objective-C translation tool and runtime.

J2ObjC: Java to Objective-C Translator and Runtime Project site: https://j2objc.org J2ObjC blog: https://j2objc.blogspot.com Questions and discussion:

Google 5.8k Jun 13, 2021
Make Slack and Facebook Bots in Java.

JBot Make bots in Java. JBot is a java framework (inspired by Howdyai's Botkit) to make Slack and Facebook bots in minutes. It provides all the boiler

Ram 1.2k Jun 4, 2021
Quiltflower is a fork of Fernflower adding additional features for use with the Quilt toolchain.

Quiltflower Quiltflower is a fork of Fernflower adding additional features for use with the Quilt toolchain. Changes include: Javadoc application Mult

null 27 Jun 12, 2021