How d0nb0t69/tarjeta-perforada1 works
This is a small client/server web app that simulates IBM 029 punched-card encoding. The user enters text in the browser; JavaScript posts it to the local Flask server, which validates the input, looks up each character’s Hollerith rows, and returns columns for the browser to draw. The Python launcher starts the server and opens the local page. The tree identifies the template, but its contents were not sampled, so its links to browser assets are not asserted.
Main entry points: servidor.py Flask routes · tarjeta.js Card interface · main.py App launcher · index.html Page template
Components 6
Local server
- App launcher
main.py - Flask routes
servidor.py
Browser interface
- Page template
templates/index.html - Card interface
static/js/tarjeta.js
Card encoding
- Hollerith codes
codigos.py
Other components
- User
Connections 8
- App launcher → Flask routes: starts
main.py - App launcher → User: opens browser
main.py - User → Card interface: enters text
static/js/tarjeta.js - Card interface → Flask routes: posts text
static/js/tarjeta.js - Flask routes → Page template: renders
servidor.py - Flask routes → Hollerith codes: looks up rows
servidor.py - Flask routes → Card interface: returns columns
servidor.py - Card interface → User: draws card
static/js/tarjeta.js