Coder Social home page Coder Social logo

prabhakar267 / wa-reader Goto Github PK

View Code? Open in Web Editor NEW
163.0 16.0 64.0 8.22 MB

:speech_balloon: WA Reader is a platform to read WhatsApp conversations from email text backups in a easy-to-read UI.

License: MIT License

CSS 8.75% JavaScript 22.64% HTML 45.39% Python 23.10% Procfile 0.11%
whatsapp whatsapp-reader conversation archive javascript css python python3 flask

wa-reader's Introduction

WA Reader

License: MIT PRs Welcome

WA Reader is a platform to read WhatsApp conversations from text backups in a easy-to-read UI. Built on python-flask server using dateutil - powerful extension to datetime.

How to use WA Reader

  • Create a backup text file (.txt file)of your chat (if you don't have one already)
  • Generate backup file on: Android | iPhone | Windows Phone
  • Run project offline, this project is no longer hosted. Follow setup guide.

Contribute

  • You can find the setup instructions here
  • For reporting bug about an incorrect file not being processed, open a new issue.
  • PRs are always welcome to improve WA-Reader.

Stargazers over time

Stargazers over time

Huge shout out to @krzysiekh for creating the awesome logo we currently have.

wa-reader's People

Contributors

anjali-1996 avatar dependabot[bot] avatar hyptos avatar krzysiekh avatar prabhakar267 avatar pro-ice avatar sapnatomar avatar swardu avatar uptoratlen avatar wokrabi 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wa-reader's Issues

Virtualenv setup

These two commands don't work, is it ok?

virtualenv venv --python=python3.6
source venv/bin/activate

"It wasn't a valid text file or we were not able to convert it"

After uploading my file to https://whatsapp-reader.herokuapp.com/ the following error appeared: "It wasn't a valid text file or we were not able to convert it".
My chat file seams to have a different timestamp format, than your sample file.
So here is a part of my file:

27.01.14 23:38:13: Dude: hi

27.01.14 23:40:57: Myself: hi

28.01.14 23:48:54: Myself: whats up?

Don't know if that is important, but the empty lines are not showing in Microsoft Notepad.
If I open it with Notepad++ it shows the empty lines though.

Thank you for your hard work!
D.M.

MAJOR ISSUE

i dont know wether its because of a new whatsapp update but ur reader doesnt seem to work for me. it always says invalid text file or something on the lines.

my original file was really long so i thought that was the reason but then i edited it and made it really short, probably about 5 strands of conversation

please help and please fix asap!!

Bug in group conversations

In group conversations, there is no way to differentiate which message is by whom. All text messages by different group members are clustered together under the same colour.

image

[BUG] For an invalid file, no error is coming up

If you upload an incorrect file, an error message should come up which says It wasn't a valid text file or we were not able to convert it. Currenly, the POST call made to the parsing API is returning the response but the message is not being showed on the UI.

Update readme to newest feature (zip)

Update the current readme or add wiki, to explain and comment zip upload.
If you like I will do this. Assign it to me, or I will also send a PR for this.

Python int too large to convert to C long

Trying to load 4 mb txt export file...

Error:
image

Conversation example from file:

17.02.19, 12:28 - +7 982 111-11-11: Пётр,  ждём! Развязки
17.02.19, 12:44 - +7 905 222-22-22: Так ночью ж😂
17.02.19, 17:21 - +7 987 333-33-33: https://www.ozon.ru/context/detail/id/3562175/
17.02.19, 18:01 - +7 903 444-44-44: Она там не продается, к сожалению.
17.02.19, 18:01 - +7 903 444-44-44: Но книга та, да.
17.02.19, 18:01 - +7 903 444-44-44: Так ее и не нашли нигде полностью на русском.
17.02.19, 19:19 - ‎Ольга Р Х (МСК) добавил(-а) контакт +7 909 555-55-55
17.02.19, 19:39 - +7 909 555-55-55: Всем привет 👋🏻
17.02.19, 19:39 - Петр П (И В): Много нас
17.02.19, 19:40 - +7 910 666-66-66: 🙌
17.02.19, 19:42 - Петр П (И В): Новые люди! Напишите несколько слов о себе. Кто недавно присоединился. Кто вы и откуда вы.
17.02.19, 19:50 - +7 921 777-77-77: Здравствуйте! Я присоединилась вчера. Т.
17.02.19, 19:50 - +7 926 888-88-88: А, косметолог, мама. 
Искала  рабочие методы по о.... А так же способы лечить... В итоге я на семинаре. На 2-ой день начала з.... Сегодня 6-ой день обучения - у меня осталось... 
Счастлива оказаться в вашем пространстве 🙏🏼🙏🏼🙏🏼🌈

Same error in demo and in local server. How to fix?

I use Windows 10.

p.s. What I found in SO:
https://stackoverflow.com/questions/38314118/overflowerror-python-int-too-large-to-convert-to-c-long-on-windows-but-not-ma

WA Reader locally does not work w/o further explanation

Hi, I've downloaded the python 3.9 to run the WA Reader locally, but unfortunately it doesn't work :-(
It's not clear how to make all setups as described - especially the part "source venv/bin/activate". ???
So, I would like to ask you if there is a detailed manual available for this tool so that a beginner is able to use it?
The very short description you have published is not very helpfull, I'm sorry (but as I said: I'm a beginner w/o experiences at all).
Btw: Python seems to work correctly at my Windows 10 computer.
Thank you very much.
Regards,
Kassiopeia-2002

Validate filetype in backend

Currently there are no checks for filetype being uploaded. The server tries to parse all file format. Only acceptable format should be .txt.

Upload Error

Hi,

I get an error saying that the text file is invalid whenever I upload to your service. I hope I did not get scammed by sending my files :/

Chat couldn't be parsed due to changes in the file format or variations based on user settings.

Hey there,
I just tired parsing a chat history but couldn't get it to work. After some investigation, I found out that the file format WhatApp uses when exporting the chat history seems to have changed.

My export looks something like this:

6/23/17, 12:29:34 PM: Person 1: This is a message from Person 1.
6/23/17, 12:30:04 PM: Person 2: This is a message from Person 2.

Compared to the export supplied in the sample directory:

13/10/2017, 12:12 a.m. - Person 1: Do I really look like a guy with a plan?
13/10/2017, 12:12 a.m. - Person 1: You know what I am? I'm a dog chasing cars.

To me it looks like the delimiter between the timestamp and the message has been changed from - to : . Is this also the case for you or could it be that WhatsApp uses a different format based on region settings and platform? I tried it with region set to "United States" on iOS 11 using the most recent version of WhatApp.

If this varies from user to user, I would come up with a system that could auto-detect the used format or provides the user witch an option to select from. Otherwise I would modify the current parsing algorithm to reflect this change in the file format.

download as pdf or html

hello
it would be nice to have the chance to download the formatted chat as pdf or html file

Load new chat

When user has successfully parsed one conversation, there should be a button added in Navbar (right next to instructions) to allow user to go back to root and parse another chat.

Trouble with european Date!!

Here are the dates link DD/MM/YYYY..... with the dirty timestamps, the script change 05.09 to 09.05 but 13.09.
dateutil has the option "dayfirst=True", would be helpfully ;-)

[Logo Design] Design a new logo

Current logo was created as a temporary placeholder. Design a new logo with captures the product.
I would like to use the logo without any legal formalities but would definately be giving a huge shout out to the designer on the website and GitHub repository

Current Logo

All suggestions are welcome 😄

Add local setup instructions in README

Setup Instructions can be a good addition to the readme (or any other appropriate file) for anyone to have a local version of the app to view any sensitive information.
It should include the instructions to enable debugging in PHP as mentioned in upload-file.php

Clear Error messages div whenever new request is submitted

Current Behaviour:
If there were errors in existing request and you make another request which is successful, the errors div still shows errors from previous request.

Expected Behaviour:
On every request submission, errors div should be cleared

WA Reader display only the first sentence

If a message it is like this, it works fine:
WA Reader is a platform to read WhatsApp conversations from email text backups in a easy-to-read UI.

But, if message it is divided into sentences, it display only the first sentence:
WA Reader is a platform to read WhatsApp conversations.
From email text backups.
In a easy-to-read UI.
It display only:
WA Reader is a platform to read WhatsApp conversations.

A small piece of chat:
Conversa do WhatsApp com Luiz Américo.txt

"It wasn't a valid text file or we were not able to convert it"

hello

I am using iPhone 6S IOS 12.1.2 and couldnt converet whatsapp TXT file

here a sample

[25/3/18 11:27:48] Carolina Elhordoy Lezama: ‎Los mensajes y llamadas en este chat ahora están protegidos con cifrado de extremo a extremo.
‎[25/3/18 11:27:48] Jorge Diez Furest: ‎<adjunto: 00000002-PHOTO-2018-03-25-11-27-47.jpg>
[25/3/18 12:08:50] Carolina Elhordoy Lezama: Recién salgo de misa. Ahora le muestro
[25/3/18 12:10:56] Carolina Elhordoy Lezama: ‎Este mensaje fue eliminado.
[25/3/18 12:10:56] Carolina Elhordoy Lezama: ‎Este mensaje fue eliminado.
[25/3/18 12:12:05] Jorge Diez Furest: Me parece bien
[25/3/18 12:12:24] Carolina Elhordoy Lezama: Jajajaja
[25/3/18 12:12:36] Carolina Elhordoy Lezama: 👍
‎[25/3/18 13:48:44] Carolina Elhordoy Lezama: ‎<adjunto: 00000009-PHOTO-2018-03-25-13-48-44.jpg>
[25/3/18 13:50:40] Jorge Diez Furest: Qué pasó? Donde se golpeó?
‎[25/3/18 13:52:29] Carolina Elhordoy Lezama: ‎<adjunto: 00000011-AUDIO-2018-03-25-13-52-29.opus>
[25/3/18 13:53:53] Jorge Diez Furest: Bueno bárbaro menos
Mal que fue solo eso
[25/3/18 14:08:29] Carolina Elhordoy Lezama: Sí, por suerte
‎[25/3/18 15:39:07] Carolina Elhordoy Lezama: ‎<adjunto: 00000014-PHOTO-2018-03-25-15-39-07.jpg>
[25/3/18 15:39:47] Jorge Diez Furest: Que bueno!
[26/3/18 07:54:02] Carolina Elhordoy Lezama: Buen día! Te aviso que no es necesario que vengas por los niños. Yo no voy ha hacer nada. Hoy van a lo de G. Lucas 11:00
[26/3/18 10:17:25] Jorge Diez Furest: Hola ok bárbaro, después llamo a Francisco
[26/3/18 10:26:14] Carolina Elhordoy Lezama: 👍
[27/3/18 13:14:29] Jorge Diez Furest: Hola
Como están? Y los chiquilines?
[27/3/18 13:27:29] Carolina Elhordoy Lezama: Los gordis felices! Yo estoy en viaje a lo Ma. Elvira. Te mando video. Mañana recorrida por Montevideo con primos. Están por salir al cine con abuelos
[27/3/18 13:28:12] Jorge Diez Furest: Bueno ok buenísimo

Makes problem with heroku

The code works fine in localhost but throws application error in heroku server with the file app.py

add custom analytics

  • create a schema for adding custom analytics which include successful converts, unsuccessful converts, (hence total converts) and the number of visits on the page.

WA Chat History txt file is not opening.-Backup from IOS

I backup a chat history from my iPhone6 IOS 11.3.
WA is not supportable for this file.
I'm facing an issue while reading a txt file of Whatsapp chat history, backup form iPhone. WA supports iPhone WA history txt file or not ? if yes. kindly fix the issue.
It wasn't a valid text file or we were not able to convert it
A sample WA chat txt file is attached for test purpose.

_chat.txt

@prabhakar267

Timestamps not parsed

Hello, I have just discovered your wonderful tool. It is perfect and exactly what I needed, so thank you. There is just one problem I am encountering. The timestamps are showing up as a sequence of digits. Your example on your page here https://devpost.com/software/whatsapp-reader shows the timestamp in the correct format.

I have attached an image of what i am seeing, (I have scored out the actual text)

I would just like to know if this is as intended, or if there is something wrong with my exported whatsapp files, or if this is a bug. Is there any way I can view the chat with the timestamps?
whatsappchat

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.