adreeeyan / baruch

A mobile app where you can read and download light novels.
GNU General Public License v3.0
71 stars 6 forks source link

Convert the app to local instead. #28

Open AlenToma opened 3 years ago

AlenToma commented 3 years ago

Hi, It would have been really good if you could only have it without any server and have a local file.db in the phone instead.

You could use SqlLite or NoSql db file.

This way you wont need a server and also it would be way faster to load the content.

Now I dont know if you own a novel server or you only script the html from some other website out there.

If its the latter then it would be really great to have a local db file instead of a server.

I already did an app but im really not good with Java so I used Xamarin, which I really regret.

Its slow and buggy.

Here you could have a look if you want. https://github.com/AlenToma/App.Comic.Viewer

adreeeyan commented 3 years ago

This was created a long time ago when I was learning Scrapy, and on my case its faster rather than retrieving the data from a website (the backend already retrieved it), the app hits the database directly rather than the source website.

Though I already started an approach that doesn't use a server, haven't continued it though been super busy at work. Will drop the need of a server, the crawling will be done in client-side.

I cannot view your app, maybe it's a private repo.

AlenToma commented 3 years ago

Yes I forgot that its private.

Anyway about using it on a server side is much faster and simpler.

Now if you need any idees on how to scrap those novel. You could check out this js app (WebToEpud) that i have helped a little with some issue there and the setup is really great.

Note: have a look at the Parser mapp (https://github.com/dteviot/WebToEpub/tree/master/plugin/js/parsers)

AlenToma commented 3 years ago

I hade some free time and build NovelManager with react-native. I must say its really fun to work with react.

I have also done locally, so the user can Import/Export the database file.

Have a look and let me know. Also do you know some cool orginal novel sources. not those pirate sites out there.