genius257 Posted April 19 Share Posted April 19 (edited) Github repository link: https://github.com/genius257/Manga Long story short: I wanted a simple manga reader and this project also let me test my AutoIt3 HTTP server code with real usage. This serves mostly as an example on how my AutoIt-HTTP-Server could be used for letting the browser handle all the UI. It does work as a manga downloader and reader, but currently only supports taadd. Steps to try it: Download and extract repository: https://github.com/genius257/Manga/archive/refs/heads/main.zip Open settings.ini and change Path under [AU3] to match your autoit installation folder (Example: C:\Program Files (x86)\AutoIt3). You can also change the Port under [core] if port 80 is occupied. Run main.au3 and goto http://localhost (add your port if anything other than 80), or use the "Open in browser" option from the right click on the tray menu. Edited April 19 by genius257 SOLVE-SMART, Gianni and argumentum 1 2 My highlighted topics: AutoIt Package Manager, AutoItObject Pure AutoIt, AutoIt extension for Visual Studio Code Github: AutoIt HTTP Server, AutoIt HTML Parser Link to comment Share on other sites More sharing options...
Gianni Posted April 20 Share Posted April 20 Hi @genius257 I downloaded and expanded the zip; I also adapted the .ini file but I am experiencing a certain slowness in loading the page. When the page loads it doesn't look like the one you posted and that error appears at the bottom right. Spoiler sometimes this other screen appears where it seems that some .css file is not found (?) Spoiler after a few attempts to reload the page the web server seems to no longer respond and I have to restart it to reload the page again. I also downloaded PHP and declared its path in the .ini file but the displayed screen appears to be the same. Maybe I'm missing something (?) .... Thank you Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt.... Link to comment Share on other sites More sharing options...
Danyfirex Posted April 20 Share Posted April 20 Hello. Nice to find another Otaku here 🤣 I'm getting similar issue like Chimp (Sorry I meant @Gianni 🙊) look my screenshot Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
genius257 Posted April 20 Author Share Posted April 20 Hi @Gianni and @Danyfirex Sorry about the issues. What browser are you using? I've primarily tested in Firefox, but i was able to reproduce loading issues when using Edge. I have some non committed changes to the server script that seems to help with the issues, but I'll test a little first and then post an update, when it is fixed The server can become unresponsive, when a request gets stuck in one of the fetching or pushing data loops. I had only experienced the issue in Firefox, if i did things like canceled my page requests abruptly, but other browsers seems to trigger this issue due to other reasons...🤔 5 hours ago, Gianni said: I also downloaded PHP and declared its path in the .ini file but the displayed screen appears to be the same Nothing in the manga project is using PHP files, so it should not affect anything, unless you add PHP files But i understand why it's very unclear what is needed, especially when it does not work as advertised 😓 5 hours ago, Danyfirex said: I'm getting similar issue like Chimp (Sorry I meant @Gianni 🙊) look my screenshot Your result looks more correct The setttings page currently does look like that and simply creates toasts of different types, for me to validate. The home page is initially empty, because you need to download a manga first The api page: is used to download manga. On the API page you should see taadd as the only api listed. clicking taadd opens a modified taadd page. when clicking on a manga on this page, you will get the option to "subscribe" to it. This will start the manga service script and start downloading your files, and that manga will be added to the front page My highlighted topics: AutoIt Package Manager, AutoItObject Pure AutoIt, AutoIt extension for Visual Studio Code Github: AutoIt HTTP Server, AutoIt HTML Parser Link to comment Share on other sites More sharing options...
genius257 Posted April 20 Author Share Posted April 20 I have made small changes to the server script, and the problems i could produce before seems to be fixed, please re-download and let me know if you have any issues Gianni 1 My highlighted topics: AutoIt Package Manager, AutoItObject Pure AutoIt, AutoIt extension for Visual Studio Code Github: AutoIt HTTP Server, AutoIt HTML Parser Link to comment Share on other sites More sharing options...
Gianni Posted April 21 Share Posted April 21 (edited) Hi @genius257 Thanks for the changes, now loading and running are smooth and stable on Edge too. 14 hours ago, genius257 said: ..... The home page is initially empty, because you need to download a manga first The api page: is used to download manga. On the API page you should see taadd as the only api listed. clicking taadd opens a modified taadd page. when clicking on a manga on this page, you will get the option to "subscribe" to it. This will start the manga service script and start downloading your files, and that manga will be added to the front page This part, however, continues to not work, the images do not appear on the home page even after going to "taadd", clicking on an image, then "subscribe" and seeing the string transformed into "subscribed" next to the image on "taadd". Then returning to the home page there is no image, but only the string "Continue Reading" ...maybe I'm doing something wrong... (?) P.S. 20 hours ago, Danyfirex said: ... like Chimp (Sorry I meant @Gianni 🙊) Edited April 21 by Gianni Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt.... Link to comment Share on other sites More sharing options...
genius257 Posted April 21 Author Share Posted April 21 9 hours ago, Gianni said: This part, however, continues to not work, the images do not appear on the home page even after going to "taadd", clicking on an image, then "subscribe" and seeing the string transformed into "subscribed" next to the image on "taadd". Then returning to the home page there is no image, but only the string "Continue Reading" ...maybe I'm doing something wrong... (?) When you subscribed to a manga, did a new tray icon apear or ? If not then the manga service script did not start successfully 🤔 I cannot currently produce any errors even when using Edge, but i will check my code and maybe just add some better error reporting, just to help with troubleshooting SOLVE-SMART 1 My highlighted topics: AutoIt Package Manager, AutoItObject Pure AutoIt, AutoIt extension for Visual Studio Code Github: AutoIt HTTP Server, AutoIt HTML Parser Link to comment Share on other sites More sharing options...
Gianni Posted April 22 Share Posted April 22 HI @genius257, I simply did the tests by running the main.au3 script located in the "\Manga-main\" folder by starting it from the SciTE editor; in doing so I encounter the problems I mentioned in the previous post. 14 hours ago, genius257 said: When you subscribed to a manga, did a new tray icon apear or ? If not then the manga service script did not start successfully 🤔 ... seems that the "manga service script" did not start .... I tried to compile the \Manga-main\main.au3 script and before running it I manually started the main.au3 script located in the \Manga-main\mangaSvc\ folder. By manually running both scripts at the same time then some image appears on the homepage after registering on "taadd" ..... ... where, how and when should the "manga service script" start? Thanks Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt.... Link to comment Share on other sites More sharing options...
genius257 Posted April 23 Author Share Posted April 23 21 hours ago, Gianni said: ... seems that the "manga service script" did not start .... It is a problem with the service trying to be launched, and the current lack of error checking, for such an important part experience, I'm looking into improving this 21 hours ago, Gianni said: ... where, how and when should the "manga service script" start? The script for the taadd API calls a function that is responsible for sending the subscribe request to the process and launching the service if not available, here https://github.com/genius257/Manga/blob/main/www/api/taadd.au3#L35 The function is called, when you navigate to the subscription request page, via the subscribe link on a manga. The subscribe function is defined here: https://github.com/genius257/Manga/blob/main/mangaSvc/api.au3#L26 Gianni 1 My highlighted topics: AutoIt Package Manager, AutoItObject Pure AutoIt, AutoIt extension for Visual Studio Code Github: AutoIt HTTP Server, AutoIt HTML Parser Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now