Bỏ qua đến nội dung

🔧Mini Console - for quick add-on debug (Created by Shigeඞ)

Chờ xử lý #anki #addon #mini #console #for #quick #add
https://shigeyukey.github.io/shige-addons-wiki/contact.html
22/8/2025

Cách tải addon 🔧Mini Console - for quick add-on debug (Created by Shigeඞ)

Bạn có thể tải addon bằng một trong hai cách sau:

Click nút Copy bên dưới để copy code vào clipboard

35455926

Sau đó mở Anki → Tools → Add-ons → Get Add-ons → Dán code → OK

Mở trang addon trên AnkiWeb và tìm mã code ở cuối trang

Mở trên AnkiWeb

Cuộn xuống cuối trang AnkiWeb, tìm dòng có mã code 35455926 và copy

Mô tả chi tiết

Pops up a mini console for displaying debug info. It’s for add-ons development so not for general learners. It includes a prototype feature that utilizes part of Anki’s new launcher (uv).

How to use

Install the add-on and restart Anki to auto display the console.

Top Toolbar

In Python mode displays the Python version. Changes the font. Enable the checkbox to keep it always on top. Change the font size with the minus and plus buttons. Close the window to exit. Press Anki to open Anki. Mini Mode

You can reduce the size by dragging the bottom right corner of the window. Size and Position are auto saved and restored.

Option1

Option Run at Start up Automatically starts the console when Anki is started. Disable word wrap Disables word wrap for console text. Open shortcut Change shortcut key to open console. Maximum number of lines limits the text displayed in the console. Reset size and position Reset console position and size. Option2

Python mode

This console has 2 modes, one for running within Anki and one for using Python with Anki’s new launcher, this option can be switched.

Anki Mode The window is displayed by Anki in the same way as normal Add-ons. When Anki closes, close it. If an error occurs in Python Mode, it will automatically change to this mode. Python Mode

This mode uses Anki’s new uv launcher to launch Python and run the console through Python. (in short it is almost the same as running a new app.)

This feature has these advantages.

The console will continue to run without closing even after closing Anki. If Anki’s UI freezes while loading, the display can be refreshed.

The disadvantages are these.

It increases the load on the PC when running. (about +70MB) If an unexpected error occurs, the console may not be able to be closed (since closing Anki will not close it). If so, use the task manager or activity monitor to force Python to close (or reboot the PC). Reconnect The mini console uses a socket to communicate with Anki. If communication is completely lost, a reconnect button will be displayed. Press it to reconnect to Anki.

use custom python path The mini console runs using the Python path from the uv that Anki launcher uses. If you are a developer and already have Python installed on your PC, you can run the mini-console by specifying the Python path instead. (this requires PyQt6.) Anki button This button launches Anki. If the auto-detected Anki path is wrong, or if you want to use a different path from the default Anki, you can specify the Anki path with this option. Notes I only checked it on Windows, not on MacOS and Linux yet. The output of the console can be read only after the add-ons are loaded, so info before this add-on is loaded cannot be displayed. Also info before Anki is closed cannot be displayed. It communicates via sockets, so it may not work if there is a communication problem. So far it works fine on my device. FAQ Q. What is a console? It is a tool used by developers to read feedback from Anki and add-ons. e.g. Check that the function is working properly. Look into the detailed cause of an error. The console can only be displayed with the default Anki. Writing Anki Add-ons: Console Output Q. Why use this instead of the default console? In Add-ons development I often don’t need too much detail (e.g. just one line of print to make sure it works). Previously I used to show or hide the console in the AnkiRetart options. But this does not work well with the new launcher, so this is a simple workaround. If possible I will use this same mechanism in another add-ons, so this is a prototype.

🚨Report

If you have any problems or requests feel free to send them to me.

👍️Rate Comment : You can contact me anonymously, and AnkiWeb will send you an email when I reply, a high rating increases priority of development. 👩‍🚀Reddit : You can request me to repair broken Add-ons. 🌟AnkiForums : You can request me to repair broken Add-ons, and it is ideal for open discussions. 🐙Github : Makes it easier to track problems. 💖Patreon DM : Response will be prioritized.

💖Please Support Shige’s Anki add-ons development!

Hi thank you for using this add-on I’m Shigeඞ!

[ 🛠️Fix add-ons ] So far I fixed and customized 80+ broken add-ons for free and developed over 30 add-ons as a hobby (all add-ons). If you have requests to fix broken add-ons feel free to contact me. Fix broken addons (Free) [ 💖Donation ] I’m looking for supporters for my add-ons development because I like Anki!👍️ If you support my volunteer development you will get 14 add-ons for patrons only and 15 game themes included in AnkiArcade ($5/month).

Get Patrons only addons | Patrons Q and A | Contact

[ Special Thanks ] So far I received donations from 561 patrons and without their support I never could develop this, thank you very much!🙏

Patrons: Arthur Bookstein Haruka Luis Alberto, Letona Quispe 07951350313540 Lily Daniel Kohl-Fink Tim NamelessGO Kyle Mondlak ElAnki Abhi S Matthew Hartford Jonathan Contreras findus161 K Peasant of Anki Juan Salgado Ernest Chan Yaeerrrrrr Elisabeth Barber Jesse Asiedu GP O’Byrne David C KM Christopher Lam Kolorophyll Jake Stucki Kaitlyn Bowler Isabel Guan Steven Banner Heidi Leonora Lomoki Akporyoe ellie Tobias Klös Xiuxuan Wang Ujwal Chadha gus forester iuventius Patrick ellis tarek Iggi qiting zeng Carly Burdorf Austin Regal Muneeb Khan Aydin Herik Mia Hoang Hung Sameer Al Matheus Chagas Bryn Price Orlando Frey pie_is_good Svel1989 Take Root Vivian Cao Keeler Kime Kurt Grabow Zarina Balde Pansanity Gabriel Farrugia Lis Y. Fahim Shaik Augusto Stein Ashok Rajpurohit mootcourt NoirHassassin alpha male, shredded af Morgan Torres Dennis Obis Anh-Tai Nguyen Tae Lee Joseph Howell Gabriel Vinicio Guedes sab hoque Terence Bartenbach R Rebecca only Ythalo Vlogs Ketan Pal Aurora Dzurko Tyler Schulte Kmyungc Mac Will S. Meeyah Davis Eric Allen Devon Williams alex han Douglas Beeman Andrew Yick Robert Remedios Marley Easterbrook Temi Jide Ansel Ng Simeon Azfar Hussain Haley Schwarz Woody kenken Jeanna …full list

📥 How do I install this add-on? This add-on works with Anki for desktop (it does not work on mobile). Download Anki from the official website if you haven’t already. Copy and paste the add-on code ( 35455926 ) into Anki and you can install it. ( Menu -> Tools -> Add-ons -> Get Add-ons -> Code [ add-on code ] ) When I develop bug fixes, create new features, or compatibility for New Anki, I will notify you and you can install it. Add-ons will be broken when the official Anki gets a major update, so if you like this add-on please support my volunteer development by rating, sharing, and donating. Thank you!

Click here and please Rate this add-on, Thank you! :-)


Screenshots

reddit

alt text

alt text

alt text

alt text

alt text

alt text

alt text

patrons_banner


Liên kết hỗ trợ