An integrated campus asset recovery platform featuring an administrative Desktop Application (Tkinter) and a responsive Web Portal (Flask REST API) powered by intelligent item-matching algorithms.
Lead Developer: Aryan Yadav
Institution: SBMP College
Repository: Coderaryanyadav/LostAndFound
graph TD
subgraph ClientLayer["Client Interfaces"]
W[Web Browser / Mobile]
D[Desktop GUI / Admin & Security Station]
end
subgraph AppLayer["Application Layer"]
F[Flask Web Server - app.py]
T[Tkinter Desktop Engine - main.py]
M[Smart Match Engine]
end
subgraph DataLayer["Storage Layer"]
DB1[(college_data.db)]
DB2[(lost_found.db)]
L[Audit Activity Log - log.txt]
end
W -->|REST API Requests| F
D -->|Direct Local Events| T
F -->|Read / Write| DB1
T -->|Read / Write| DB2
T -->|Audit Records| L
T -->|Invoke Matching| M
F -->|Query Matching Rooms| DB1
sequenceDiagram
autonumber
actor Student as Student
actor Watchman as Campus Watchman
participant Engine as Lost & Found Engine
actor Admin as Administrator
Student->>Engine: Report Lost Belonging (Item, Color, Location)
Engine-->>Student: Confirm Report Stored
Watchman->>Engine: Turn in Found Item (Item, Color, Location)
Engine->>Engine: Run Smart Match Algorithm
alt Probable Match Found
Engine-->>Watchman: Live Alert: Counterpart item detected!
Admin->>Engine: Inspect Matched Item Pair
Admin->>Engine: Verify Ownership & Release
Engine->>Engine: Update Status to "Returned"
Engine-->>Student: Case Marked Resolved
else No Immediate Match
Engine->>Engine: Keep Status as "Searching" / "Available"
end
- Python 3.8+
- SQLite3
git clone https://github.com/Coderaryanyadav/LostAndFound.git
cd LostAndFound
pip install -r requirements.txtpython app.pyOpen your browser to: http://127.0.0.1:5000
python main.py- Admin Account:
admin/admin - Student Accounts: Self-register via the "New Student? Register Here" button on the desktop landing screen.
| Feature | Description | Platform |
|---|---|---|
| Real-Time Dashboard | Visual statistics on active reports and matched belongings | Web |
| Student Self-Service | Register, login, report personal lost items, and track status | Desktop |
| Found Registry | Dedicated intake workflow for campus security and watchmen | Both |
| Smart Matching | Keyword token analysis, color checking, and room proximity logic | Both |
| CSV Data Export | One-click offline backup generation | Web & Desktop |
| Audit Trails | Timestamped action logging saved to log.txt |
Desktop |
# Run web route unit test suite
python -m unittest test_app.py
# Run desktop logic & matching algorithm test suite
python -m unittest test_main.py
# Run complete end-to-end API test suite (start app.py first)
python heavy_test.py- Contributing Guidelines
- Code of Conduct
- Security Policy
- Project License