Everything from Android apps in production to coursework and side experiments.
My first small research project: how has Pakistan's temperature changed since 1981? Built as team lead for the NASA Space Apps Challenge 2026 using 45 years of daily NASA data for 38 places, with every trend tested for statistical significance and checked against Pakistan's weather service.
Question
Has Pakistan's temperature changed since 1981, and where? I wanted to answer it from data instead of headlines, and this is my first small research project. It was built for the NASA Space Apps Challenge 2026, challenge Be an Earth System Trend Detective, at the Topi virtual local event. I led our team of six from COMSATS, team GitGoblins: I set the question, divided the work, collected what everyone produced and made the final calls.
Data and method
Daily NASA POWER data (MERRA-2 reanalysis) for 40 points across Pakistan, which fall into 38 grid cells of about 50 km, from 1981 to 2025: daily average, highest and lowest air temperature. Each trend is a Theil Sen slope per decade with a 95% range from a moving block bootstrap, tested with Mann Kendall, and across places a Benjamini Hochberg false discovery rate keeps the count of significant places honest. One rule gives every verdict: statistically significant, not conclusive, or no clear trend. NASA GISTEMP gives a second NASA view of average temperature, and figures from Pakistan's weather service (PMD), taken from press coverage of its 2026 report, sit next to ours. The website is only how the research is presented. The Python scripts that fetch the data and compute every result, and the decisions behind them, are in the repository.
Findings
Night time lows have warmed: the national change is +0.20 °C per decade over 1981 to 2025 (0.08 to 0.32), statistically significant, and in spring (February to April) it is +0.39 (0.24 to 0.57), where 36 of 38 places rise and pass the strict test. In summer (July to September) daytime highs fall at 25 of 38 places, though the national average of that is not conclusive, and the gap between day and night shrinks by 0.50 °C per decade (range 0.28 to 0.69), statistically significant. For average temperature the two NASA products differ: MERRA-2 shows no clear trend while GISTEMP is statistically significant, and both are shown as found. PMD's night time value sits inside our range and its daytime high value sits outside it. One caution: from 1998 to 2025 the national night time low shows no clear trend (−0.05 °C per decade, range −0.20 to +0.09), so the warming over the full period comes together with the level step near 1998. Both views are shown on the site.
Checks and limits
5 places and 30 daily values were compared with NASA's own Data Access Viewer and all matched. Tests on synthetic series with a known slope checked the slope, the false alarm rate and how often the range contains the true value. A place is a grid cell, not a weather station. Night lows show a level step between 1996 and 1999 in 36 of 38 places, and NASA documents that new satellite instruments entering the analysis can create level shifts in reanalysis series, so every result is also shown for 1998 to 2025 next to the full period. In tests the 95% ranges came out slightly narrow, so each range is best read as a minimum.
Challenges
The first highest and lowest temperature results turned out to be monthly extremes, not averages, so all of them were thrown away and rebuilt from daily data we averaged ourselves. Rainfall from the same source gave impossible values, so no rainfall trend is shown anywhere. A count of 27 places was corrected to the 25 that actually fall, and a wording bug in one significance statement was found, fixed and deployed.
Lessons
Start with a question, not a conclusion you want to prove. Data is evidence, not truth: even NASA data had things we had to catch, like monthly values that were extremes and rainfall that could not be used for trends. A result that is not conclusive is still a result. A finding is only worth as much as the process behind it, and someone else should be able to check it, which is why the checks, the decisions and the code are public. Leading a team means matching work to what each person can do well and not handing anyone the one task the whole project waits on.
Official website of the COMSATS Software Engineering Society, built and maintained by me as its Tech Lead. Events, team and membership pages with a custom rotating team ring, all driven by plain JSON files.
Motivation
The society had no website and no tech team, so I took it on as its Tech Lead. It needed to look credible to students and faculty, and be simple enough that the next person can update it without touching the design. Beyond the website, I am also building a member portal with member logins, role based access and a separate admin side, with its data stored in Supabase, which is still in progress.
Features
Home, About, Events, Team, Join and Contact pages, plus a public changelog that credits who made each update. A rotating team ring that works for any number of members, with autoplay, keyboard support and reduced motion support. Events split into upcoming and past automatically at build time. Per page titles, descriptions, canonical tags and a custom social preview image. Mobile Lighthouse scores of 92 for performance and 100 for accessibility, best practices and SEO.
Architecture
Built with Astro and strict TypeScript, static output, plain CSS with navy and gold design tokens, and a self hosted Inter font. Team members and events live in JSON files with schemas, so adding a member or an event is a data edit, not a code change. Deployed on Vercel from the main branch with a custom domain.
Challenges
The team page took 26 seconds to show its main content on a slow phone connection. The cause was the team ring: hidden panels still count as on screen, so all 22 member photos downloaded on page open. I changed it so only the first photo loads up front and each other photo loads just before its panel appears. That brought it down to 3.3 seconds. Member photos were also compressed from 35.4 MB to 4.9 MB.
Lessons
An optimisation that does not move the measured number is not a fix, so measure first and check again after. Keeping content in data files instead of pages is what makes a site maintainable by someone other than its author. Building for a changing team size from the start avoided a rewrite every semester.
A university companion app for tracking subjects, GPA, and study tasks, with a dashboard for what's due and a custom accent color picker to make it yours.
Motivation
Built out of a real problem: tracking assignments and quizzes through WhatsApp messages, diary entries, and scattered notes was not working. Things were getting missed, deadlines forgotten, and GPA calculations done by hand on paper. Gradix exists to put all of that in one place, know what is coming, get reminded before it arrives, and always know exactly where you stand academically.
Features
• Subjects built out of Parts (Theory, Lab, Clinical, or whatever your program uses) and Components inside each Part, with custom names, weightage, and whether they happen once or repeat
• Dashboard showing Upcoming and Ongoing Work alongside Study Tasks
• Subjects tab listing every subject with credit hours, percentage, and GPA
• Progress tab breaking each subject down by its own components in a pie chart, plus overall semester GPA
• Tools tab with an Attendance Tracker (tracks classes attended and missed, and how many more you can afford to miss), Subject, Semester, and CGPA calculators, and an Improvement Effect Calculator to see what raising one subject does to your semester and overall CGPA
• Home screen widgets for upcoming assessments and pending study tasks
• Custom accent color picker with eight named options, each with its own personality, blue stays the default
• Full backup and restore to a JSON file
• Notification reminders a day before and the day of a deadline
• One-time onboarding guides for Dashboard, Subjects, and Progress
Architecture
Built with Kotlin, Material3, and Room DB for local storage. No accounts, no cloud, everything stays on the device.
Challenges
Gradix originally only worked for COMSATS, with Theory Mid, Theory Final, Lab Assignment, Lab Mid, Lab Final, and Quizzes hardcoded straight into the app. Anyone on a different grading structure, or at a different university, just could not use it properly. Version 2.0.0 tore that out completely and rebuilt subjects around user defined Parts and Components instead, so it now works for any HEC recognized BS program.
The codebase also had to be migrated entirely from Java to Kotlin at one point, a full rewrite done on its own rather than alongside any feature work.
Lessons
Hardcoding one university's structure into the app from the start limited who could actually use it, flexibility should have been the foundation, not something bolted on later. Also learned that small things like remembering a user's default averaging method or accent color choice go a long way in making an app feel personal rather than generic.
Desktop app that turns any GitHub username into a personal analytics dashboard: languages, commits, repositories and stars. Runs locally with no server, built as the capstone of the Python for Everybody Specialization.
Motivation
Existing GitHub profile summary sites show what a profile looks like as a dashboard. I wanted to understand how that works by building my own version from scratch, as the capstone of the Python for Everybody Specialization, and make it something that runs entirely on the user's own machine.
Features
Enter a GitHub username and get a dashboard with a profile header, stat boxes, a contribution heatmap, a language breakdown, a commit trend, top and most active repositories, and a table of all repositories. Light and dark themes that follow the system. A tabbed window with Report, Profiles, Watchlist and Settings. Profile comparison, a recently fetched and recently viewed list, and a sortable table of every saved profile. GitHub token setup inside the app, no terminal needed. Available as a Linux AppImage, with the Windows build in progress.
Architecture
Written in Python. Public GitHub data is fetched and cached locally in SQLite, and the dashboard is an HTML page with Chart.js shown inside a native window using pywebview. Report and check work runs as queued jobs per username. No server to run, and packaged with PyInstaller.
Challenges
The interface went through three toolkits before it worked: tkinter, ttkbootstrap and Flet were all abandoned because native chart and web view libraries proved unreliable on Linux. pywebview solved it by showing the real HTML dashboard unchanged through the operating system's own web view. Later the app moved from a command line plus GUI to GUI only, with the logic rebuilt around a job queue, which also fixed a bug where switching tabs corrupted state. Packaging for Linux meant making the AppImage install its own launcher and icon and repair them if it is moved. Windows is the current work, since its web view and packaging differ.
Lessons
The dashboard was already HTML, so the interface should have been a window around it from the start instead of a rebuild in a native toolkit. Platform differences shape the design and are not a last step before shipping. Moving the logic into a job queue made the app simpler to reason about, not just faster.
Console based epidemic contact tracing system for a 3rd semester DSA group project. Six data structures built from scratch in C++ with no STL containers, Dijkstra adapted to risk weights and Prim's on a weighted contact network, and our own risk scoring model for ranking, tracing and containment.
Motivation
Inspired by real-world epidemic response challenges highlighted during COVID-19. Wanted to understand how contact tracing, risk prioritization, and containment decisions work under the hood by building the entire system from scratch.
Features
Load patient and contact data from CSV files. Register new patients with automatic risk scoring (7 criteria, max 130 points). View per-patient investigation logs (stack events). Simulate outbreak spread wave by wave from any source (BFS). Trace transmission chains between patients (Dijkstra). Find minimum containment networks for active clusters (Prim's). Filter cases by day, area code, or date range. Geographic hotspot detection via area code hashmap.
Architecture
Six data structures implemented from scratch with no STL containers: a Stack for investigation logs, a Queue for the case pipeline, a Heap for risk priority, an AVL Tree for date indexed records, a HashMap for ID and area lookups, and a Graph for the contact network. Dijkstra, adapted to follow risk weights, traces transmission paths, and Prim's finds the containment network. All structures were built iteratively as requirements emerged.
Challenges
Building every data structure from scratch meant constant revisiting and refinement. Each new feature exposed edge cases that required going back to foundational code. The structures weren't plug-and-play; they had to adapt to real use cases.
Lessons
Data structures aren't just theory you memorize for exams; they're the foundation of real systems. Implementing AVL trees and heaps yourself makes clear why certain operations are O(log n) and why edge cases like tree rotations matter. Planning architecture upfront saves time, because changes in one structure ripple through the entire system.
Offline, privacy focused Android expense tracker. No accounts, no cloud sync, no ads, all data stored locally.
Motivation
Built out of a real frustration: pocket money disappearing by the 20th of every month with no idea where it went. Wanted something simple, private, and reliable.
Features
Monthly or weekly budget cycles with a live progress bar. Dashboard shows spent, remaining, and average daily spend. Spending calendar color-codes each day based on your daily budget. Green means under, red means over. Settlements ledger tracks money owed to and from others, separate from your budget. Full history with filters by month, week, or day, sortable and searchable. Backup and restore, light and dark themes, and edit support for existing entries.
Architecture
Built with Kotlin and Room DB for local storage. No internet permission, no accounts, no cloud sync, everything stays on your device. The backup feature exports data as a file to a location you choose.
Challenges
The biggest hurdle was v2.0.0: Google Play Console flagged deprecated APIs, so the entire codebase was converted from Java to Kotlin, and the database was migrated from JSON files to Room DB, all in one release.
Lessons
Staying current with Android APIs is non-negotiable. Data migration needs to be handled carefully to avoid losing user data. Also learned that a clean, focused app with no tracking actually stands out in a crowded market.
Crime record management web app supporting both Oracle XE and MongoDB through one interface. Role based access, FIR and case tracking, evidence handling, and a custom query editor for either database.
Motivation
Built as a semester project for the Database Systems course. The goal was to build the same system using two fundamentally different databases and make the experience completely seamless for the user.
Features
Role-based access control with admin and officer roles. Criminal record management, FIR and case tracking, evidence handling, victim registry, and officer management. Custom query runner allows executing raw SQL (Oracle) or MongoDB queries directly through the web interface. Switch between databases with a single button; the interface feels identical regardless of which database is running underneath.
Architecture
Node.js + Express backend with a unified abstraction layer that handles the differences between SQL and NoSQL behind the scenes. Oracle XE uses structured tables with joins, MongoDB uses document collections, but the user never notices the difference.
Challenges
Building a unified abstraction layer that works consistently across SQL and NoSQL was the hardest part. CRUD operations and data modeling are fundamentally different under the hood. Oracle requires careful schema design, while MongoDB is more flexible but comes with its own tradeoffs.
Lessons
Learned how to abstract database logic behind a unified interface. Gained practical experience with both relational and document-based databases. Understood the tradeoffs: SQL gives you structure and joins, NoSQL gives you flexibility and speed; both have their place.
Browser based tool that generates printable networking cards with QR codes linking to social profiles, built after noticing people hand designing these at a hackathon.
Motivation
Noticed people at a hackathon manually designing networking cards in Word or Canva, repetitive and time-consuming. The concept was simple: scan a QR code and instantly access someone's profile. Decided to automate the whole thing.
Features
Generate networking cards with QR codes; create two cards for different social platforms. Customize QR code colors. Preview cards instantly. Print or save as PDF with a print-ready A4 layout. Supports GitHub, LinkedIn, Twitter, Instagram, YouTube, and custom links. Fully client-side with no backend required.
Architecture
Single HTML file with embedded CSS and JavaScript. Uses QRCode.js library for QR generation. Everything runs client-side; no data is sent anywhere.
Challenges
Getting the print layout exactly right for A4 paper was tricky, since browser print handling varies across browsers. Had to use specific print CSS rules to ensure consistent output.
Lessons
Learned about client-side QR code generation using QRCode.js, print CSS for consistent output across browsers, and how to build a fully self-contained single-page application without any backend dependencies.
Hospital management system in Java backed by Oracle Database, with both a console version and a Swing GUI. Handles doctor, patient, and medicine records plus a custom SQL query runner.
Motivation
Built as a stripped-down version of TRACK to practice Java and Oracle Database integration after a midterm exam. It was a learning exercise to prepare for the larger Database Systems project.
Features
Both console and GUI versions. Doctor, patient, and medicine management with full CRUD operations. Custom SQL query runner for executing raw queries directly from both interfaces. Oracle Database connectivity using JDBC. Interactive forms and tables in the Swing version.
Architecture
Two separate implementations, console (focus on backend logic) and Swing GUI (visual interface), sharing the same database backend. JDBC handles all database communication.
Challenges
Getting JDBC to work reliably with Oracle Database was tricky. Managing database connections properly and handling SQL exceptions gracefully across both implementations required careful design.
Lessons
Learned practical JDBC usage and Oracle Database integration. Reinforced the importance of separating database logic from business logic. Also learned the differences between console and GUI application design. Console forces you to think about flow, GUI forces you to think about user experience.
A Flappy Bird style game built in Java Swing to learn GUI programming, game loops, collision detection, and audio playback.
Motivation
Built during a tough midterm exam period in 2nd semester as a way to cheer up and reset. The game is a parody featuring the "Sparrow", a viral Pakistani TikToker known for saying "Ouch Ouch Ouch." Pure fun, but also a learning exercise.
Features
Press SPACE to make the sparrow flap. Avoid pipes; each obstacle passed increases your score. Background music and game-over sound. Press SPACE to restart after game over. Custom graphics (sparrow, pipes, background, game over screens) and audio files.
Architecture
Java Swing GUI application with a game loop using Timer. Uses Java AWT for graphics and event handling, and Java Sound API for audio playback. Keyboard input handling for flapping and restarting.
Challenges
Learning Java Swing and GUI development from scratch was the main challenge. Implementing the game loop with Timer, handling keyboard input, collision detection with pipes, and loading images and audio correctly, all new territory.
Lessons
Learned Java Swing GUI development, game loop implementation using Timer, keyboard input handling, collision detection, image and audio loading, and basic Java project structuring. Also learned that building something fun can be a great way to reset during stressful times, and you learn just as much as you would from a "serious" project.
Java based student result management system with console and Swing GUI versions.
Motivation
Started as a required student result management system for a course, but extended it into a more functional and robust university portal. The challenge was to do it all within existing classes, no new classes allowed.
Features
Student result management with console and GUI versions. Extended beyond basic result management to include additional university management features, all within the existing class structure.
Architecture
Two separate implementations, console (focus on backend) and Swing GUI (visual interface), sharing the same logic. Everything was carefully organized within existing classes without adding new ones.
Challenges
Working within the constraint of not adding extra classes while still extending functionality required creative solutions. Had to carefully plan method placement and class responsibilities to keep the code organized.
Lessons
Learned how to work within tight constraints and still deliver a functional, extended product. Reinforced the importance of clean class design and method organization. Also gained practical experience with both console and GUI versions of the same application.
Terminal program in Java and OpenCV that converts video into ASCII art synced with audio, built to practice multithreading.
Motivation
Personal learning project to practice multithreading, file handling, and OpenCV integration. Wanted to explore how to convert video frames to ASCII art synchronized with audio playback through the terminal.
Features
Converts video frames to ASCII characters based on brightness levels; darker pixels become denser characters ('@' or '#'), lighter pixels become sparser characters ('.' or space). Plays synchronized audio and video in real time. Uses OpenCV for video frame extraction. Fully Linux-ready via a shell script.
Architecture
Java application using OpenCV for video processing. Uses a dedicated thread for audio playback and another for video frame rendering, synchronized using timing control. Frames are mapped to ASCII characters based on brightness levels.
Challenges
Synchronizing audio and video playback across separate threads was the hardest part. Also had to ensure the OpenCV Java bindings worked correctly and that the terminal output refreshed fast enough for a smooth experience.
Lessons
Learned multithreading and synchronization in Java, OpenCV Java bindings for video processing, audio playback using javax.sound.sampled, and how to structure a Linux-ready Java project with a shell script. Also learned about the balance between performance and simplicity in terminal-based applications.
First semester Python project. Console app for submitting and tracking hostel complaints by category, with an admin panel for reviewing and resolving them.
Motivation
First semester Python project. Built to learn Python fundamentals through a practical application: a console-based hostel complaint management system.
Features
Submit complaints with categories (Food, Water, Electricity, Internet, Maintenance, Others). Automatic serial numbers for each complaint. Persistent file-based storage using plain text files. Admin panel with password protection to view, update, and resolve complaints. Structured folder system for organizing complaint data.
Architecture
Console-based application using Python's file handling for persistent storage. Complaints stored as text files in a structured Data/complaints folder. Uses complaint_index.txt for active complaints and resolved_complaints.txt for resolved ones.
Challenges
Implementing persistent storage with plain text files was the main challenge; this was the first time working with file I/O. Had to design a structured folder system for complaints while keeping it simple.
Lessons
Learned Python fundamentals: functions for modular programming, file handling for data persistence, building a menu-driven console application, and creating a basic password-protected admin system. Also learned that simple file-based storage can be surprisingly effective for small applications.
First semester Java project. Console app for booking and cancelling flight tickets with an admin menu for managing flights.
Motivation
First semester Java project. Built to learn Java fundamentals through a practical application: a console-based flight reservation system.
Features
View all available flights with details (ID, Source, destination, price, seats left). Book a ticket and generate a ticket file. Cancel a booked ticket. Admin menu to add or remove flights. Persistent storage using text files (flights.txt and bookings.txt). Seat layout display (O = available, X = booked).
Architecture
Console-based application using parallel static arrays for in-memory state. Seat map is a 3D array seats[flightIndex][row][col]; rows map to A-E, columns map to 1-4. All data persisted through plain text CSV files in a Data/ folder. Uses temp-file swap pattern for safe file updates. Ticket files are generated with unique names to avoid collisions.
Challenges
Handling file persistence properly was the main challenge; you can't delete a line from a text file in place, so the temp-file swap pattern was essential. Also had to manage input validation for seat codes, duplicate IDs, and edge cases like missing files.
Lessons
Learned Java syntax, loops, conditionals, file handling, 3D arrays, and basic CRUD operations with admin functionality. Also learned the temp-file swap pattern for safe file modifications, a technique that's useful in many contexts.