TEXTAREA.MY
Éditeur de texte minimaliste, stockage URL
Partage instantané, QR, export HTML
+====================================
QUOI ?
- Éditeur 100% navigateur, sans serveur ni compte
- Texte compressé dans l’URL (#)
- Notes éphémères, snippets, checklists
- Markdown basique (# Titre → titre onglet)
FONCTIONS PRINCIPALES
- Auto-sauvegarde (URL + localStorage)
- Partage instantané via URL
- QR Code pour mobile
- Export HTML autonome
- Personnalisation CSS via DevTools / URL
RACCOURCIS CLAVIER
- Ctrl/Cmd + A : sélectionner tout
- Ctrl/Cmd + C : copier
- Ctrl/Cmd + V : coller
- Ctrl/Cmd + Z : annuler
- Ctrl/Cmd + F : rechercher
- Ctrl/Cmd + L : focus barre d’adresse
QR CODE (client-side)
- Inclure lib JS QRCode
<script src=" https://cdn.jsdelivr.net/npm/qrcode/build/qrcode.min.js"></script>
- Canvas :
<canvas id="qr"></canvas>
- Générer QR :
QRCode.toCanvas(
document.getElementById('qr'),
location.href,
{ width:256 }
);
EXPORT HTML
- Récupérer contenu :
const content = document.getElementById("editor").value;
- Générer HTML :
const html = `
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>Note</title>
<style>
body { font-family: monospace; background: #000; color: #9fb3a1; padding: 12px; }
pre { white-space: pre-wrap; }
</style>
</head>
<body>
<pre>${content.replace(/</g,"<")}</pre>
</body>
</html>`;
- Télécharger :
const blob = new Blob([html], { type:"text/html" });
const a = document.createElement("a");
a.href = URL.createObjectURL(blob);
a.download = "note.html";
a.click();
PHILOSOPHIE CYBERPUNK
- Pas de compte
- Pas de cloud
- L’URL = le fichier
- QR = transport
- HTML = archive offline
LIMITES
- Taille max ~2–8 KB compressés
- Pas de chiffrement natif
- Pas de collaboration temps réel
BONNES PRATIQUES
- Ne jamais mettre seeds, clés privées ou secrets API
- Idéal pour notes rapides, drafts, checklists, snippets
- Markdown pour titres et sections
EXEMPLES D’UTILISATION
- Notes éphémères Bitcoin / Cypherpunk
- Messages rapides partageables sans plateforme
- Documentation offline, checklists sécurité
- Partage via QR pour mobile / papier
LIENS UTILES
- Exemple URL raccourcie : → lien textarea.my raccourci
- Source GitHub :
- Lib QR JS : https://cdn.jsdelivr.net/npm/qrcode/build/qrcode.min.js
+====================================
| GUIDE MOBILE ASCII — TEXTAREA.MY
+====================================
Textarea
GitHub
GitHub - antonmedv/textarea: A minimalist text editor that lives in URL
A minimalist text editor that lives in URL. Contribute to antonmedv/textarea development by creating an account on GitHub.
