Skip to content

About

Right-click any file in Windows Explorer to upload it to Magicode. Download link is copied to your clipboard automatically. ‫לחיצה ימנית על קובץ בסייר Windows להעלאה ל-Magicode. קישור ההורדה מועתק ללוח אוטומטית.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

23 Commits

Folders and files

Repository files navigation

Magicode Uploader

Upload files to send.magicode.me directly from the Windows Explorer context menu — right-click, and the download link is on your clipboard.

Right-click a file, choose "Upload to Magicode", and the link is copied to the clipboard

Unofficial. This is an independent open-source tool for send.magicode.me. It is not made or endorsed by Magicode.

עברית למטה


Features

  • Windows Explorer integration — Right-click any file or folder and select "Upload to Magicode"
  • Windows 11 modern context menu — Appears in the top-level menu (not buried under "Show more options")
  • Works on Windows 10 too — Falls back to the classic context menu where the Windows 11 menu isn't available
  • Files, folders and multiple selections — Folders and multi-selections are zipped into a single archive before uploading
  • Clipboard integration — The download URL is automatically copied to your clipboard
  • Notifications — Shows the link when the upload completes (and progress for slow uploads); click it to open the link
  • Reliable uploads — Large files are sent in chunks; if the connection drops, the upload waits up to about 3 minutes and continues where it stopped, and the PC doesn't go to sleep mid-upload
  • Recent links — Right-click the background of any folder for Magicode: recent links, the last 10 uploads; pick one to copy its link again
  • Clear errors — "No internet connection", "the file is over send.magicode.me's 10 GB limit" and so on, instead of error codes
  • Hebrew — Menus and notifications are in Hebrew when Windows is
  • No console window — Runs silently in the background
  • Nothing else to install — A small Windows app; no Node.js or other runtime needed

Installation

From Release

  1. Download MagicodeUploader-Setup.exe from the latest release
  2. Run the installer

The installer sets up the context menu and registers all necessary components.

Why does the installer ask for administrator permission?

To appear in the Windows 11 top-level menu, a context-menu command has to be part of an app package. Windows only accepts an unsigned app package like this one when Developer Mode is turned on, so the installer offers to turn it on (that is the UAC prompt). Developer Mode is a standard Windows setting (Settings > System > For developers) — it lets you install apps that aren't from the Microsoft Store.

If you untick that option or decline the prompt, everything still works: "Upload to Magicode" just appears under Show more options instead of the top-level menu.

Requirements

  • Windows 11, or Windows 10 version 1903 or later (x64)

That's all: the app uses .NET Framework 4.8, which is part of Windows.

Uninstall

Go to Settings > Apps > Installed apps, find "Magicode Uploader", and click Uninstall.

Usage

Right-click any file or folder in Windows Explorer and select "Upload to Magicode".

The file will be uploaded to send.magicode.me, the download URL will be copied to your clipboard, and you'll see a notification when it's done.

For multiple files, select them all, right-click, and choose "Upload to Magicode" — they'll be zipped together automatically.

Lost a link? Right-click an empty spot in any folder and open Magicode: recent links.

send.magicode.me accepts files up to 10 GB.

Command Line

You can also use it from the command line:

"%LOCALAPPDATA%\Programs\MagicodeUploader\MagicodeUploader.exe" <file1> [file2] [file3] ...

It prints the link, copies it to the clipboard and shows the notification.

Privacy

Magicode Uploader sends a file to send.magicode.me only when you ask it to, by choosing "Upload to Magicode" or running it on that file. It does not transfer any other information to other networked systems: no telemetry, no analytics, no update checks. Links to your uploads are kept only on your computer, in upload.log and recent.txt in the install folder.

Code signing policy

Free code signing provided by SignPath.io, certificate by SignPath Foundation

Signing is being set up: releases up to and including 1.3.0 are not signed yet.

Releases are built from this repository by GitHub Actions, and each release is approved by hand before it is signed.

Building from Source

Prerequisites

  • .NET SDK (8 or later) — builds the uploader, which targets .NET Framework 4.8
  • Visual Studio 2022 with the Desktop development with C++ workload and a Windows SDK — builds the context-menu DLL
  • Inno Setup 6 — builds the installer
  • Node.js 22 — only for running the tests

Build and install locally

npm run build        # src/MagicodeUploader -> MagicodeUploader.exe
npm run build:dll    # src/win11 -> MagicodeNative.dll
npm run install:app  # installs both and registers the context menu

To build the installer, run ISCC scripts\installer.iss. GitHub Actions builds and tests the installer on every push (download it from the run's artifacts) and publishes it when a version tag is pushed.

Tests

npm test            # C# unit tests (xUnit), including the context-menu DLL when it is built,
                    # + end-to-end tests of the exe against a local mock server
npm run test:live   # also upload to the real send.magicode.me and download it back
npm run test:shell  # drive the installed context menu through the Windows shell

npm test needs no network and runs in CI on every push. The end-to-end tests run the built MagicodeUploader.exe as a separate process against a local stand-in for send.magicode.me, with real zipping and the real clipboard (restored afterwards); notifications are written to a file instead of the tray. test:live and test:shell upload small random test files to send.magicode.me.

How It Works

Component Purpose
src/MagicodeUploader The uploader (C#, .NET Framework 4.8): zips, uploads in chunks, copies the link, shows notifications
src/win11 MagicodeNative.dll, the native C++ IExplorerCommand handler that launches the uploader without a console window
AppxManifest.xml Sparse MSIX package for Win11 context menu identity
scripts/register-win11.ps1 Registers the sparse package, or the classic fallback verb
scripts/installer.iss Inno Setup script that builds the single-file installer

The Win11 modern context menu requires a native COM DLL implementing IExplorerCommand plus a sparse MSIX package for app identity; the packaged command also shows under "Show more options". Where the package can't be registered (Windows 10, or Developer Mode declined), the same DLL is registered as a classic ExplorerCommandHandler verb instead. Either way the whole selection arrives in one call, so multiple files and folders are zipped into one upload.

Folders are zipped before uploading. Errors and uploaded links are logged to upload.log in the install folder.

Before version 1.3 the uploader was written in JavaScript and needed Node.js installed; installing 1.3 over an older version removes the old files.

Releasing

Push a version tag to trigger the GitHub Action:

git tag v1.3.0
git push origin v1.3.0

The action runs the tests, builds the uploader and the DLL, creates the installer with Inno Setup, and publishes MagicodeUploader-Setup.exe to GitHub Releases.

License

MIT


Magicode Uploader - עברית

העלאת קבצים ל-send.magicode.me ישירות מתפריט הלחיצה הימנית בסייר הקבצים של Windows — לחיצה ימנית, וקישור ההורדה כבר בלוח.

לא רשמי. זהו כלי קוד פתוח עצמאי עבור send.magicode.me, ואינו מטעם Magicode.

תכונות

  • שילוב בסייר הקבצים — לחיצה ימנית על כל קובץ או תיקייה ובחירה ב-"Upload to Magicode"
  • תפריט מודרני של Windows 11 — מופיע בתפריט הראשי (לא מוסתר תחת "הצג אפשרויות נוספות")
  • עובד גם ב-Windows 10 — במקום שהתפריט של Windows 11 לא זמין, הפקודה מופיעה בתפריט הקלאסי
  • קבצים, תיקיות ובחירה מרובה — תיקיות ובחירה של כמה פריטים מאוחדות לארכיון ZIP אחד לפני ההעלאה
  • העתקה ללוח — קישור ההורדה מועתק אוטומטית ללוח
  • התראות — הקישור מוצג בסיום ההעלאה (ובהעלאות ארוכות גם הודעת התקדמות); לחיצה על ההתראה פותחת את הקישור
  • העלאה אמינה — קבצים גדולים נשלחים בחלקים; אם החיבור נופל, ההעלאה ממתינה עד כ-3 דקות וממשיכה מאיפה שעצרה, והמחשב לא נכנס למצב שינה באמצע
  • קישורים אחרונים — לחיצה ימנית על רקע של תיקייה ← Magicode: קישורים אחרונים, 10 ההעלאות האחרונות; בחירה באחת מעתיקה שוב את הקישור שלה
  • הודעות שגיאה ברורות — "אין חיבור לאינטרנט", "הקובץ גדול ממגבלת 10 GB של send.magicode.me" וכדומה, במקום קודי שגיאה
  • עברית — התפריטים וההתראות בעברית כש-Windows בעברית
  • ללא חלון קונסול — רץ ברקע בשקט
  • אין צורך להתקין שום דבר נוסף — אפליקציית Windows קטנה, בלי Node.js או סביבת הרצה אחרת

התקנה

מגרסה מוכנה

  1. הורידו את MagicodeUploader-Setup.exe מהגרסה האחרונה
  2. הריצו את קובץ ההתקנה

ההתקנה תגדיר אוטומטית את תפריט הלחיצה הימנית ותרשום את כל הרכיבים הנדרשים.

למה ההתקנה מבקשת הרשאת מנהל?

כדי שהפקודה תופיע בתפריט הראשי של Windows 11, היא צריכה להיות חלק מחבילת אפליקציה. Windows מקבל חבילה לא חתומה כמו זו רק כשמצב מפתח (Developer Mode) מופעל, ולכן ההתקנה מציעה להפעיל אותו (זו בקשת ה-UAC). מצב מפתח הוא הגדרה רגילה של Windows (הגדרות > מערכת > למפתחים) שמאפשרת להתקין אפליקציות שלא מה-Microsoft Store.

אם תבטלו את הסימון של האפשרות הזו או תסרבו לבקשה, הכול עדיין עובד: "Upload to Magicode" פשוט יופיע תחת הצג אפשרויות נוספות במקום בתפריט הראשי.

דרישות

  • Windows 11, או Windows 10 גרסה 1903 ומעלה (x64)

זה הכול: האפליקציה משתמשת ב-.NET Framework 4.8, שכבר מובנה ב-Windows.

הסרה

היכנסו להגדרות > אפליקציות > אפליקציות מותקנות, מצאו את "Magicode Uploader" ולחצו על הסר התקנה.

פרטיות

Magicode Uploader שולח קובץ ל-send.magicode.me רק כשאתם מבקשים זאת, בבחירה ב-"Upload to Magicode". הוא לא שולח שום מידע אחר: אין טלמטריה, אין אנליטיקס ואין בדיקת עדכונים.

שימוש

לחצו לחיצה ימנית על כל קובץ או תיקייה בסייר הקבצים ובחרו "Upload to Magicode".

הקובץ יועלה ל-send.magicode.me, קישור ההורדה יועתק ללוח, ותקבלו התראה כשההעלאה תסתיים.

לקבצים מרובים — בחרו את כולם, לחצו לחיצה ימנית ובחרו "Upload to Magicode" — הם יאוחדו לקובץ ZIP אוטומטית.

איבדתם קישור? לחצו לחיצה ימנית על מקום ריק בתיקייה כלשהי ובחרו Magicode: קישורים אחרונים.

send.magicode.me מקבל קבצים עד 10 GB.

About

Right-click any file in Windows Explorer to upload it to Magicode. Download link is copied to your clipboard automatically. ‫לחיצה ימנית על קובץ בסייר Windows להעלאה ל-Magicode. קישור ההורדה מועתק ללוח אוטומטית.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages