Λογότυπο Course To Appimage

Course To Appimage

Κοινότητα
sebastianhaba
course-to-appimage

Συσκευάζει ένα υπάρχον διαδραστικό μάθημα που δημιουργήθηκε με το skill book-to-course (έναν φάκελο με index.html, assets/ και course/data.js ή το αντίστοιχο .zip) σε ένα αυτόνομο Linux AppImage — ένα αρχείο που περιλαμβάνει τη δική του μηχανή WebView (Electron), ώστε να εκτελείται σε οποιαδήποτε διανομή desktop χωρίς εγκατάσταση, να αποθηκεύει την πρόοδο σε αρχείο και να εκτελεί τα τεστ των ασκήσεων κώδικα. Ελέγχει τα εργαλεία κατασκευής στον υπολογιστή (appimagetool, Electron, AppImage runtime), ενημερώνει με ακρίβεια τον χρήστη για ό,τι λείπει και από πού μπορεί να το αποκτήσει, ενώ μπορεί και να το κατεβάσει για λογαριασμό του. Χρησιμοποιήστε το όταν ο χρήστης θέλει ένα μάθημα «σε Linux», «ως εφαρμογή για επιτραπέζιο υπολογιστή», «στο μενού εφαρμογών», ζητά «κάνε το μάθημα AppImage» ή «course to appimage», θέλει μια εφαρμογή μαθήματος που μπορεί να αντιγράψει σε άλλον υπολογιστή Linux, θέλει να ανοίγει το μάθημα που δημιούργησε όπως ένα κανονικό πρόγραμμα αντί να εκκινεί το start.sh ή θέλει να ξαναδημιουργήσει/ενημερώσει την εφαρμογή του μαθήματος αφού προσθέσει κεφάλαια — ακόμη κι αν δεν αναφέρει ρητά το «AppImage». ΜΗΝ το χρησιμοποιείτε για τη δημιουργία μαθήματος από βιβλίο (γι’ αυτό υπάρχει το book-to-course), για Android (course-to-apk), για προγράμματα εγκατάστασης Windows/macOS, για συσκευασία Flatpak/Snap/.deb ή για γενική ανάπτυξη εφαρμογών Linux/Electron.

Add to TypingMind

Επισκόπηση

Εκδότηςsebastianhaba
Αποθετήριοbook-to-course-skill
Όνομα δεξιότηταςcourse-to-appimage
Αστέρια
73
Διακλαδώσεις
16
Συνοδευτικά αρχεία
8
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Συνοδευτικά αρχεία: 8

    Αρχεία script, πρότυπα και υλικό αναφοράς που μπορεί να διαβάζει το μοντέλο καθώς εργάζεται. Τα αρχεία είναι μόνο για ανάγνωση και δεν εκτελούνται ποτέ.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε στο GitHub από τον λογαριασμό sebastianhaba. Ελέγξτε τα αρχεία της δεξιότητας στο αποθετήριο πριν την εγκαταστήσετε.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Course To Appimage στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/sebastianhaba/book-to-course-skill/tree/main/course-to-appimage
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Προσθήκη δεξιότητας → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που υποστηρίζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/sebastianhaba/book-to-course-skill.git /tmp/book-to-course-skill
mkdir -p .claude/skills
cp -r /tmp/book-to-course-skill/course-to-appimage .claude/skills/course-to-appimage
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Course To Appimage σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Course To Appimage μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι οδηγίες σε απλό κείμενο Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Course To Appimage δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλο κατά τη διάρκεια της συνομιλίας

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Course → Linux AppImage

Wraps a finished book-to-course course into one executable file for Linux, self-contained like the APK: copy it to any desktop Linux computer and start it — no Python, no WebKitGTK, nothing to install. Inside: the official Electron build (Chromium + Node), a small main.js, the course, an icon and the Noto Color Emoji font (the player's UI uses emoji, and many distros ship no emoji font). main.js does what the course's serve.py does — serves the page on 127.0.0.1, saves progress to a file and runs code exercises' tests — so the "Run tests" button works on the desktop (unlike the phone app). Nothing is compiled; the AppImage is ~105 MB + the course (that's Chromium; unused Chromium translations are left out) + ~9 MB for the emoji font.

Why Electron and not the system WebView: Linux has no WebView every computer is guaranteed to have, and bundling this machine's WebKitGTK would tie the file to this distro's glibc. Official Electron builds run on any current desktop distro.

The wrapper and the scripts are fixed and tested — your job is the conversation around them: find the course, get the toolchain in place with the user's consent, build, and explain how to start and install the app.

script (in scripts/)purpose
toolchain.py [--json]what is installed, what is missing, where to download it; exit 0 = ready
setup_toolchain.py --dry-runlist exactly what would be downloaded (name, size, URL) — downloads nothing
setup_toolchain.py --downloaddownload only the missing parts into ~/.local/share/course-to-appimage (no sudo, SHA-256 verified)
build_appimage.py COURSE_DIR [--install]build the AppImage into <COURSE_DIR>-appimage/; --install adds it to the app menu
build_appimage.py COURSE_DIR --uninstallremove the menu entry, icon and ~/Applications copy (progress stays)

All scripts are Python 3 standard library only (Python is needed on the build machine, not in the app).

Workflow

1. Find the course

A course folder has index.html, assets/app.js and course/data.js. Look where the user points, in the current directory, or among recent book-to-course output. If they give a .zip (from pack_course.py), unzip it next to the zip first — it contains one top folder named after the course; that folder is COURSE_DIR. If content/ exists but course/data.js is missing or older than the lessons, the course was not rebuilt — run book-to-course's build_course.py COURSE_DIR first (when that skill is available), otherwise ask the user to.

2. Check the toolchain

bash
python3 scripts/toolchain.py

Needed: appimagetool (packs the file), Electron 30+ (the engine, ~115 MB official zip — an unpacked folder or the zip itself, found in Downloads, ~/.cache/electron, $ELECTRON_DIST or the skill's own folder) and the Noto Color Emoji font (taken from the system's fonts when installed — usually it is — otherwise a pinned ~10 MB download). The runtime file is optional. It checks that appimagetool actually starts. If it prints READY, go to step 4 (if only the runtime is missing, mention in one line that the build will fetch it from GitHub — don't stop for it).

3. Something is missing → ask, don't assume

Tell the user, in their language, what is missing — use the report's lines, they already contain the official download links (GitHub releases of AppImage/appimagetool, electron/electron and AppImage/type2-runtime, googlefonts/noto-emoji) and package-manager commands. Run setup_toolchain.py --dry-run so you can quote the real sizes, versions and URLs, then ask them to choose (AskUserQuestion works well here):

  • "I'll install it myself" — give a short checklist: what to download, from where, and where to put it (appimagetool: chmod +x, e.g. as ~/.local/bin/appimagetool; Electron: the electron-vX.Y.Z-linux-x64.zip — arm64 on ARM — can simply stay in Downloads, the build unpacks it). Warn that the distro's electron package is not suitable (built against this system's libraries). Then stop and wait — end your turn. Do not poll, do not build, do not download anything. When they write that it's done, rerun toolchain.py; if something is still missing or "found but unusable", say exactly what and wait again.
  • "Download it for me" — run python3 scripts/setup_toolchain.py --download (~140 MB when everything is missing; official GitHub releases — MIT, the font OFL — checksums verified; installs only into ~/.local/share/course-to-appimage, no sudo). It is a one-time download — later builds reuse it.

Why the care: downloading over 100 MB and running a binary are the user's decisions, not yours, and a user who said they'd install it themselves is mid-installation — building or downloading behind their back collides with that.

4. Build

bash
python3 scripts/build_appimage.py "<COURSE_DIR>"

Takes a few seconds. Defaults that are right for almost everyone — mention them, don't ask:

  • Output <COURSE_DIR>-appimage/<course-id>-<arch>.AppImage, next to the course folder; appimage.json there remembers the app id, name, icon colour and an auto-incremented version.
  • App id net.booktocourse.<course_id>, name = course title. Override with --app-id / --name only when asked — the app id names the learner's data folder, so changing it later starts with empty progress.
  • Built for this machine's architecture (x86_64 or aarch64 — Electron has no 32-bit Linux build).

Offer --install (copies the AppImage to ~/Applications, adds a menu entry with icon under Education, no sudo) — ask in the same message as the hand-over if the user hasn't said; it's quick to do afterwards by rerunning with --install. Once installed, every later build refreshes the installed copy automatically.

The build ends with a self-test (it starts the AppImage with --paths, which loads Electron and main.js). If the build or the self-test fails, the output says what failed; see references/troubleshooting.md.

5. Hand it over

Tell the user in a few lines: where the AppImage is (absolute path), its size, and how to start it:

  • double-click it in the file manager, or ./<file>.AppImage in a terminal. On another computer: copy the one file (USB stick, cloud drive, network); if it lost the executable bit, chmod +x / Properties → "Allow executing as program".
  • with --install: from the application menu (Education), with its own icon.

Also say, briefly:

  • Progress lives in ~/.local/share/<app-id>/progress/progress.json of whoever runs the app (not in the course folder's progress/ — the page's footer wording comes from the folder version). It survives updates: rebuild after adding chapters and start the new file.
  • Code exercises (if the course has them) work fully, unlike on the phone: the AppImage is an ordinary program on the computer, so "Run tests" runs the exercise's command (e.g. go test) with the compiler installed there — exactly like start.sh. The learner edits the files in their own editor; editable copies live in ~/.local/share/<app-id>/exercises/, and each exercise in the app shows that full path, an "Open folder" button and a ready cd … command. The language toolchain (e.g. Go) must be installed on that computer — without it the page says the program is not installed. Bundling compilers is not done: hundreds of MB per language. Lessons, quizzes, tests and flashcards need nothing.
  • Requirements of the target: a desktop Linux (x86_64/arm64 as built) — the usual desktop libraries (GTK 3, NSS, X11/ Wayland, ALSA) that every GNOME/KDE/XFCE/Cinnamon install has, as for any Electron app. A bare server/container without a desktop lacks them.

What the app does (so you can answer questions)

  • AppRun starts the bundled Electron; where unprivileged user namespaces are blocked (e.g. Ubuntu 24.04's AppArmor default) or when run as root, it adds --no-sandbox, because an AppImage cannot carry Chromium's setuid sandbox helper. The window only shows the bundled course; links to other sites open in the user's own browser.
  • main.js serves the course on 127.0.0.1 with the same API as serve.py (/api/ping, /api/progress, /api/run-tests; host check; the test command comes from exercise.json, only the folder name from the page), on a port derived from the app id so the page's localStorage (theme) survives restarts.
  • In exercise blocks it replaces the player's relative "exercises//" and "cd exercises/" (meant for the course folder) with the real path, adds an "Open folder" button (/api/open-exercise) and makes the copy button copy the fixed command.
  • AppRun points fontconfig at a config that includes the system's /etc/fonts/fonts.conf plus the bundled emoji font as a fallback; the system's own emoji font still wins where installed.
  • On start it copies new exercises and refreshes each exercise's exercise.json and test files; the learner's own files are never overwritten. _solution/ folders are not packed, and the starter files are taken from course/data.js (what the page shows as start files), because the course folder's exercises/ may hold someone's solved versions. It adds common toolchain dirs (~/go/bin, /usr/local/go/bin, ~/.cargo/bin, …) to PATH, since a desktop session's PATH often lacks them.
  • One instance per app (a second start focuses the window). Ctrl +/−/0 zoom, Ctrl+R reload, F11 full screen; window size and zoom are remembered. Chromium's data lives in ~/.local/share/<app-id>/electron.
  • Options: --paths, --open-exercises.

To change the wrapper, edit assets/app/main.js (Electron main process, Node standard library only — there is no npm step) or assets/appdir/AppRun.

Συνοδευτικά αρχεία

Το μοντέλο τα διαβάζει όποτε χρειάζεται, όσο η δεξιότητα είναι φορτωμένη. Διατίθενται ως αρχεία για ανάγνωση και δεν εκτελούνται ποτέ.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Course To Appimage;

Συσκευάζει ένα υπάρχον διαδραστικό μάθημα που δημιουργήθηκε με το skill book-to-course (έναν φάκελο με index.html, assets/ και course/data.js ή το αντίστοιχο .zip) σε ένα αυτόνομο Linux AppImage — ένα αρχείο που περιλαμβάνει τη δική του μηχανή WebView (Electron), ώστε να εκτελείται σε οποιαδήποτε διανομή desktop χωρίς εγκατάσταση, να αποθηκεύει την πρόοδο σε αρχείο και να εκτελεί τα τεστ των ασκήσεων κώδικα. Ελέγχει τα εργαλεία κατασκευής στον υπολογιστή (appimagetool, Electron, AppImage runtime), ενημερώνει με ακρίβεια τον χρήστη για ό,τι λείπει και από πού μπορεί να το αποκτήσει, ενώ μπορ...

Γιατί να χρησιμοποιήσετε τη δεξιότητα Course To Appimage στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Course To Appimage είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη δεξιότητα Course To Appimage στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/sebastianhaba/book-to-course-skill/tree/main/course-to-appimage. Το TypingMind διαβάζει το αρχείο SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Course To Appimage;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα Course To Appimage;

Με όσα θέλετε. Στο TypingMind μπορείτε να χρησιμοποιήσετε τη δεξιότητα Course To Appimage με οποιοδήποτε μοντέλο υποστηρίζει δεξιότητες, όπως τα GPT, Claude, Gemini, Grok, DeepSeek, Mistral και Llama, χρησιμοποιώντας τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Course To Appimage;

Ναι. Δημοσιεύεται στο GitHub από τον λογαριασμό sebastianhaba με την άδεια χρήσης MIT. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Δημιουργήστε τώρα τον δικό σας χώρο εργασίας AI

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇