Something went wrong. Try again.
A link sharing website for you & your friends
Something went wrong. Try again.
Files
·
Copy SHA
·
Copy SHA
·
Copy SHA
·
Copy SHA
·
Copy SHA
·
Copy SHA
·
Copy SHA
- HTML 76%
- Python 16%
- Jinja-like 4%
- CSS 3%
- JavaScript <1%
- 1 more language <1%
README.md
Cork #
Cork is a web app for sharing links with your friends.
It is built on the Helios framework.
Layout #
app/wsgi.py: wires theApplication: components run views → session → database → flash → auth → guards, then the router.app/main.py: sets up the devserver.app/http/__init__.py: theroutesandguardslists.app/http/*.py: handlebrs, one module per resource.app/data.py: models and themodelslist.app/views/: Jinja templates, addressed by dotted path:boards/show.htmlis rendered as"boards.show".app/assets/,public/static/: styles and scripts.database/migrations/: numbered SQL migrations, applied withmise run migrate./var/lib/cork/store.sqlite,/var/lib/cork/sessions.json: the persisted state, by default. A fresh environment needssessions.jsoncontaining{}and a migrated database.bin/: the migration runner and backups.