maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [M6] [ANNOUNCE] MeeShop - new app store (https://talk.maemo.org/showthread.php?t=101409)

dredlok706 2023-04-30 11:51

[ANNOUNCE] MeeShop - new app store
 
Hello guys

As you know, we lost Warehouse, which was the only available and fully-featured app store for N9 and OpenRepos client. It doesn't work anymore.
So, one guy and I got an idea - why not develop a new one?
I started coding, and the results you can see now.

Presenting MeeShop, a simple app store for MeeGo Harmattan devices. It's a Python-powered CLI script, but tried to simulate GUI as much as possible! You just type correct numbers on keyboard and that's all!
What can MeeShop already do?

• Uses entire OpenRepos database (not in direct sense, its DEBs for now), but it's still a great achievement)
• Can search for apps, download and install them itself
• Supports Ovi/Nokia Store (!!!), based on Wayback Machine!
• Has plenty of working RSS feeds, tested on N9
• Contains APT fixer, which fixes dependencies
• And maybe more...

Download:

https://github.com/WunderWungiel/MeeShop

Refer to above while installing. Direct clicking on file won't work, use Aegis-dpkg. Everything is described.

Some screenshots:

https://i.imgur.com/RiIlhOb.png
https://i.imgur.com/tf2Pz8s.png
https://i.imgur.com/v9uYFeh.png

They may change in newer versions.

Macros 2023-05-03 12:47

Re: [ANNOUNCE] MeeShop - new app store
 
Just tested it on my trusty N9.

Works flawlessly and is even much faster than warehouse :)

Thanks so much for your work!

What I severely miss is the possibility to show information about the search results. And "Open with browser" should maybe be renamed to "Download with browser" but I am so glad to have a working store on the N9 again!

dredlok706 2023-05-03 16:03

Re: [ANNOUNCE] MeeShop - new app store
 
Thank you for your opinion and I'm glad it's working for you! :)

So, how do you think the search results should look like? I can improve them.

Have a nice day!

Macros 2023-05-03 18:41

Re: [ANNOUNCE] MeeShop - new app store
 
1 Attachment(s)
Search results are fine as they are.

However I would add an option to the screen shown when a result is selected (see below) which shows the description from the openrepos website.

In this case https://openrepos.net/content/hedaya...dy-meetelegram which would allow a user to see the warning that the software has only limited functionality.

dredlok706 2023-12-13 20:58

Re: [ANNOUNCE] MeeShop - new app store
 
New release is coming (0.3.0). It will be based on Python 3.11.3 and using my own TUI (Terminal UI), controlled by arrows, much more comfortable. My TUI, currently, supports menus, paged menus (for example 10 items on each page, and pages are scrollable by Right & Left arrows), multiselection menus (in which you can select multiple items. Currently no use in the app, but it's ready if needed). My OpenRepos scraping-based library working as API is ready, so third source will be added. Many bugs have been fixed and the overall GUI is more aesthetic (still being console app). I might even include <funny> icon of apps support using viu I compiled (but it's really funny how it works on N9). I am slowly working on it (for now I focused on TUI), but you should see it in maybe January? Who knows, maybe even this month.

dredlok706 2023-12-16 18:18

Re: [ANNOUNCE] MeeShop - new app store
 
I can't fix one thing. Usually, when I install any app using my program, right after it finishes installing app Terminal window closes. Here is my code:

Code:

try:
    subprocess.check_call(f"LANG=C aegis-apt-get install -y --force-yes {package}", shell=True)
except PermissionError:
    print(f"{red} A problem with file permissions.{reset}")
    press_enter()
    return
except FileNotFoundError:
    print(f"{red} File not found.{reset}")
    press_enter()
    return
except subprocess.CalledProcessError:
    print(" Some error occured...")
    press_enter()
    return

and following code runs it:

Code:

try:
    apt.install(package)
except Exception as e:
    print(f" Error {red}{e}{reset}! Report to developer.")
    input(f"{blink}{cyan} Press Enter to exit... {reset}")

I can't understand why this happens. I carefully checked everything, changed subprocess.run without shell=True to subprocess.check_call and subprocess.call, added all try-except checks. It looks like it overloads memory or whatever? But why? It doesn't happen in any other scenario. Looks like subprocess causes that, but why. Maybe using old bad os.system will help? I must try.

dredlok706 2023-12-16 18:29

Re: [ANNOUNCE] MeeShop - new app store
 
It didn't help as well :/ I have last idea, making a Bash wrapper for it and running it through subprocess.


All times are GMT. The time now is 05:26.

vBulletin® Version 3.8.8