Skip to content
Back to skills

Instanttransfer Architecture

ASecurity

Design choices for InstantTransfer LAN file sync tool

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 10, 2026
ai-agentspythonjavabashgit

Security analysis

A100/100

Scanned September 10, 2026

npx -y skills add LoopyLuci/Skills --skill instanttransfer-architecture --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Instanttransfer Architecture?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Instanttransfer Architecture
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/loopyluci-instanttransfer-architecture/badge)](https://www.skillsdirectory.com/skills/loopyluci-instanttransfer-architecture)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: instanttransfer-architecture
description: "Design choices for InstantTransfer LAN file sync tool"
---

# InstantTransfer Architecture

Design decisions for the InstantTransfer LAN file transfer app.

## Core Decisions

| Decision | Choice | Why |
|----------|--------|-----|
| Transport | Direct TCP over LAN | Fastest no cloud |
| Discovery | mDNS Zeroconf | Zero config automatic |
| Pairing | 6-digit PIN dual approval | Simple verifiable |
| Windows GUI | CustomTkinter | Modern native feel |
| Android GUI | Jetpack Compose | Material 3 |
| Async | asyncio | Python native |

## Protocol

Control port: 48761. Messages: [4-byte length][JSON payload]
Max message: 10MB. Chunk size: 1MB.

## Connection Flow

mDNS broadcast -> discover -> TCP connect -> HELLO -> pairing or transfer

## Threading

Async event loop in background thread. Queue bridges to GUI thread.

## Lessons Learned

1. Store event loop ref never get_event_loop from callbacks
2. Use async_get_service_info in new zeroconf
3. Fallback names for mDNS registration conflicts
4. Guard destroy against TclError
5. Path formats differ bash Java Python on Windows
6. mDNS callbacks fire from non-async thread

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.