<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Mantresh Khurana Hashnode]]></title><description><![CDATA[On his Hashnode blog, Mantresh explores various aspects of software development, with a particular focus on web technologies. He delves into topics such as front-end development, including HTML, CSS,]]></description><link>https://hashnode.mantreshkhurana.com</link><image><url>https://cdn.hashnode.com/res/hashnode/image/upload/v1739865903580/e3f18ea2-ac2b-4bef-a281-70bcfe0a48be.jpeg</url><title>Mantresh Khurana Hashnode</title><link>https://hashnode.mantreshkhurana.com</link></image><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 07:44:05 GMT</lastBuildDate><atom:link href="https://hashnode.mantreshkhurana.com/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[🌤️ Weatherify: Your Minimal Weather Companion App Built with Flutter]]></title><description><![CDATA[🌤️ Weatherify: Your Minimal Weather Companion App Built with Flutter
In today’s fast-paced world, checking the weather shouldn’t feel like navigating a maze of pop-ups and ads. That’s exactly the motivation behind Weatherify — a clean, open-source, ...]]></description><link>https://hashnode.mantreshkhurana.com/weatherify-your-minimal-weather-companion-app-built-with-flutter</link><guid isPermaLink="true">https://hashnode.mantreshkhurana.com/weatherify-your-minimal-weather-companion-app-built-with-flutter</guid><dc:creator><![CDATA[Mantresh Khurana]]></dc:creator><pubDate>Wed, 23 Jul 2025 10:29:14 GMT</pubDate><content:encoded><![CDATA[<h1 id="heading-weatherify-your-minimal-weather-companion-app-built-with-flutter"><strong>🌤️ Weatherify: Your Minimal Weather Companion App Built with Flutter</strong></h1>
<p>In today’s fast-paced world, checking the weather shouldn’t feel like navigating a maze of pop-ups and ads. That’s exactly the motivation behind <a target="_blank" href="https://github.com/mantreshkhurana/weatherify"><strong>Weatherify</strong></a> — a clean, open-source, cross-platform weather app that tells you exactly what you need to know, with zero clutter.</p>
<p>Built using <strong>Flutter</strong> and powered by the <strong>OpenWeather API</strong>, Weatherify is a lightweight and elegant solution that runs seamlessly on <strong>Android</strong>, <strong>iOS</strong>, and the <strong>web</strong>.</p>
<hr />
<h2 id="heading-why-weatherify"><strong>🚀 Why Weatherify?</strong></h2>
<p>Let’s face it — most weather apps either bombard users with ads or offer a bloated interface. Weatherify is different.</p>
<p>This app was born out of a simple need: show the <strong>current weather</strong> and <strong>forecasts</strong> in the cleanest possible UI, without compromising on performance or platform reach.</p>
<p>Whether you’re checking the weather during your morning coffee or planning your weekend getaway, Weatherify gives you all the essential information in a beautifully designed interface.</p>
<hr />
<h2 id="heading-tech-stack"><strong>🛠 Tech Stack</strong></h2>
<p>Here’s a peek under the hood of Weatherify:</p>
<ul>
<li><p><strong>🌐 Flutter</strong>: The star of the show. A powerful cross-platform framework by Google that allows writing once and running anywhere — Android, iOS, and Web.</p>
</li>
<li><p><strong>☁️ OpenWeather API</strong>: Fetches real-time weather data like temperature, humidity, weather conditions, etc.</p>
</li>
<li><p><strong>🔗 GitHub Actions (Optional for Deployment)</strong>: You can integrate CI/CD pipelines to deploy the web version easily.</p>
</li>
</ul>
<hr />
<h2 id="heading-supported-platforms"><strong>📱 Supported Platforms</strong></h2>
<p>Weatherify is truly universal:</p>
<div class="hn-table">
<table>
<thead>
<tr>
<td><strong>Platform</strong></td><td><strong>Status</strong></td></tr>
</thead>
<tbody>
<tr>
<td>✅ Android</td><td>Supported</td></tr>
<tr>
<td>✅ iOS</td><td>Supported</td></tr>
<tr>
<td>✅ Web</td><td>Supported</td></tr>
</tbody>
</table>
</div><p>Flutter’s multi-platform capabilities make this possible, and the app is responsive across screen sizes and devices.</p>
<hr />
<h2 id="heading-screenshots">Screenshots</h2>
<div class="hn-table">
<table>
<thead>
<tr>
<td>Platform</td><td>Screenshot</td></tr>
</thead>
<tbody>
<tr>
<td>iOS</td><td><img src="https://github.com/mantreshkhurana/weatherify/raw/stable/screenshots/ios.png" alt="ios screenshot" /></td></tr>
<tr>
<td>Android</td><td>!{android screenshot](https://github.com/mantreshkhurana/weatherify/raw/stable/screenshots/android.png)</td></tr>
<tr>
<td>Web</td><td><img src="https://github.com/mantreshkhurana/weatherify/raw/stable/screenshots/web.png" alt="web screenshot" /></td></tr>
</tbody>
</table>
</div><ul>
<li><p>Clean UI</p>
</li>
<li><p>Search bar to find weather in any city</p>
</li>
<li><p>Real-time updates from OpenWeather</p>
</li>
<li><p>Adaptive design for mobile and web</p>
</li>
</ul>
<hr />
<h2 id="heading-features"><strong>🧰 Features</strong></h2>
<ul>
<li><p>🌦️ Current weather conditions</p>
</li>
<li><p>🏙️ Search for weather by city</p>
</li>
<li><p>📍 Location-based weather data (with permission)</p>
</li>
<li><p>🌡️ Temperature, humidity, wind speed, and more</p>
</li>
<li><p>🌗 Dark &amp; light mode support</p>
</li>
<li><p>⚙️ Simple, clean, and easy-to-read interface</p>
</li>
</ul>
<hr />
<h2 id="heading-get-started-with-weatherify"><strong>🧑‍💻 Get Started with Weatherify</strong></h2>
<p>Want to try it out or contribute? Here’s how you can get started:</p>
<pre><code class="lang-plaintext">git clone https://github.com/mantreshkhurana/weatherify.git
cd weatherify
flutter pub get
flutter run
</code></pre>
<blockquote>
<p>💡 Make sure you have Flutter set up and an OpenWeather API key ready.</p>
</blockquote>
<p>To run on web:</p>
<pre><code class="lang-plaintext">flutter run -d chrome
</code></pre>
<hr />
<h2 id="heading-environment-setup"><strong>🔐 Environment Setup</strong></h2>
<p>Create a .env or update the constants with your <strong>OpenWeather API key</strong> in the project.</p>
<pre><code class="lang-plaintext">OPEN_WEATHER_API_KEY="your_actual_api_key_here"
</code></pre>
<hr />
<h2 id="heading-contributing"><strong>💡 Contributing</strong></h2>
<p>This project is open-source and welcomes contributions. Whether it’s a new feature, UI improvement, or bug fix — feel free to open a PR or an issue on GitHub.</p>
<p>👉 <a target="_blank" href="https://github.com/mantreshkhurana/weatherify">Contribute on GitHub</a></p>
<hr />
<hr />
<h2 id="heading-whats-next"><strong>✨ What’s Next?</strong></h2>
<ul>
<li><p>Hourly and 7-day forecast</p>
</li>
<li><p>Weather animations</p>
</li>
<li><p>Localization support</p>
</li>
<li><p>Improved error handling</p>
</li>
<li><p>Offline caching</p>
</li>
</ul>
<hr />
<h2 id="heading-final-thoughts"><strong>🙌 Final Thoughts</strong></h2>
<p>Weatherify is more than just a project — it’s a showcase of how simple, elegant, and functional apps can be built with Flutter in a short span of time. If you’re looking to learn Flutter or want a base project to fork and build upon, <strong>Weatherify</strong> is a great place to start.</p>
<p>Check it out on GitHub, star the repo ⭐, and let’s build better apps together!</p>
<hr />
<p>🔗 <strong>GitHub</strong>: <a target="_blank" href="https://github.com/mantreshkhurana/weatherify">https://github.com/mantreshkhurana/weatherify</a></p>
<hr />
]]></content:encoded></item><item><title><![CDATA[Markdown Worker: Simplifying Markdown Processing in Python]]></title><description><![CDATA[Markdown Worker: Simplifying Markdown Processing in Python
Markdown is a widely used format for documentation, blogging, and note-taking. However, handling Markdown files programmatically can sometimes be cumbersome. Markdown Worker, developed by Man...]]></description><link>https://hashnode.mantreshkhurana.com/markdown-worker-simplifying-markdown-processing-in-python</link><guid isPermaLink="true">https://hashnode.mantreshkhurana.com/markdown-worker-simplifying-markdown-processing-in-python</guid><dc:creator><![CDATA[Mantresh Khurana]]></dc:creator><pubDate>Tue, 11 Mar 2025 14:20:24 GMT</pubDate><content:encoded><![CDATA[<h1 id="heading-markdown-worker-simplifying-markdown-processing-in-python">Markdown Worker: Simplifying Markdown Processing in Python</h1>
<p>Markdown is a widely used format for documentation, blogging, and note-taking. However, handling Markdown files programmatically can sometimes be cumbersome. <strong>Markdown Worker</strong>, developed by <a target="_blank" href="https://github.com/mantreshkhurana">Mantresh Khurana</a>, is a powerful Python module that simplifies reading, parsing, and writing Markdown files with an intuitive API.</p>
<h2 id="heading-key-features">Key Features</h2>
<ul>
<li><p><strong>Read and Parse Markdown Files:</strong> Easily read entire Markdown files and extract headers and paragraphs for further processing.</p>
</li>
<li><p><strong>Search Specific Headers:</strong> Efficiently locate and retrieve content associated with particular headers within a Markdown file.</p>
</li>
<li><p><strong>Convert Markdown to HTML:</strong> Seamlessly transform Markdown content into HTML, facilitating web integration and display.</p>
</li>
<li><p><strong>Intuitive API:</strong> Designed with simplicity in mind, allowing both beginners and advanced users to integrate it into their workflows effortlessly.</p>
</li>
</ul>
<h2 id="heading-installation">Installation</h2>
<p>To install Markdown Worker, you can use pip:</p>
<pre><code class="lang-bash">pip install markdown-worker
</code></pre>
<p>Alternatively, clone the GitHub repository:</p>
<pre><code class="lang-bash">git <span class="hljs-built_in">clone</span> https://github.com/mantreshkhurana/markdown-worker-python.git
<span class="hljs-built_in">cd</span> markdown-worker-python
</code></pre>
<h2 id="heading-usage-examples">Usage Examples</h2>
<h3 id="heading-reading-and-parsing-markdown-files">Reading and Parsing Markdown Files</h3>
<pre><code class="lang-python"><span class="hljs-keyword">from</span> markdown_worker <span class="hljs-keyword">import</span> MarkdownParser

<span class="hljs-comment"># Initialize the parser with a Markdown file</span>
parser = MarkdownParser(<span class="hljs-string">"example.md"</span>)

<span class="hljs-comment"># Read the entire file</span>
markdown_content = parser.read_complete_file()

<span class="hljs-comment"># Extract headers and paragraphs</span>
headers, paragraphs, _ = parser.extract_headers_and_paragraphs()

<span class="hljs-comment"># Print the extracted headers</span>
print(<span class="hljs-string">"Headers:"</span>, headers)

<span class="hljs-comment"># Print the extracted paragraphs</span>
print(<span class="hljs-string">"Paragraphs:"</span>, paragraphs)
</code></pre>
<h3 id="heading-searching-for-a-header">Searching for a Header</h3>
<pre><code class="lang-python"><span class="hljs-keyword">from</span> markdown_worker <span class="hljs-keyword">import</span> MarkdownParser

<span class="hljs-comment"># Initialize the parser with a Markdown file</span>
parser = MarkdownParser(<span class="hljs-string">"example.md"</span>)

<span class="hljs-comment"># Search for a specific header</span>
heading_to_search = <span class="hljs-string">"Usage"</span>
result = parser.search_heading(heading_to_search)

<span class="hljs-comment"># Print the content under the searched header</span>
print(<span class="hljs-string">"Content under the heading:"</span>, result)
</code></pre>
<h3 id="heading-converting-markdown-to-html">Converting Markdown to HTML</h3>
<pre><code class="lang-python"><span class="hljs-keyword">from</span> markdown_worker <span class="hljs-keyword">import</span> MarkdownParser

<span class="hljs-comment"># Initialize the parser with a Markdown file</span>
parser = MarkdownParser(<span class="hljs-string">"example.md"</span>)

<span class="hljs-comment"># Read the entire file</span>
markdown_content = parser.read_complete_file()

<span class="hljs-comment"># Convert Markdown to HTML</span>
html_content = parser.markdown_to_html(markdown_content)

<span class="hljs-comment"># Print the HTML content</span>
print(<span class="hljs-string">"HTML Content:"</span>, html_content)
</code></pre>
<h2 id="heading-about-the-developer">About the Developer</h2>
<p><a target="_blank" href="https://github.com/mantreshkhurana">Mantresh Khurana</a> is the Founder &amp; CEO of Spyxpo, a visionary entrepreneur, and a full-stack developer with a passion for pushing the boundaries of technology. With expertise in web, mobile, desktop, and embedded systems, he excels at mastering emerging technologies that drive innovation. His work is defined by a commitment to developing cutting-edge solutions that transform industries and shape the future.</p>
<p>For more details and to access the complete codebase, visit the <a target="_blank" href="https://github.com/mantreshkhurana/markdown-worker-python">Markdown Worker GitHub repository</a>.</p>
]]></content:encoded></item><item><title><![CDATA[AI-Powered Traffic Management: AmbuRouteAI]]></title><description><![CDATA[Revolutionizing Emergency Vehicle Traffic Flow with AI 🚑
In the face of increasing urban congestion, ensuring that emergency vehicles like ambulances reach their destinations without delay is critical. AmbuRouteAI is an innovative AI-driven traffic ...]]></description><link>https://hashnode.mantreshkhurana.com/ai-powered-traffic-management-amburouteai</link><guid isPermaLink="true">https://hashnode.mantreshkhurana.com/ai-powered-traffic-management-amburouteai</guid><category><![CDATA[AI Traffic Management, Emergency Vehicle Routing, Smart City, Ambulance Detection, Real-time Traffic Control, Computer Vision, YOLOv8, OpenCV, AI-powered Transportation, Intelligent Traffic System, Machine Learning, IoT Traffic Signals, Smart Healthcare Logistics, AI for Public Safety, Autonomous Traffic Control]]></category><dc:creator><![CDATA[Mantresh Khurana]]></dc:creator><pubDate>Mon, 10 Mar 2025 13:05:38 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1741611818625/bbf97ef7-896e-4f86-ab8d-49651d6991cb.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><img src alt class="image--center mx-auto" /></p>
<p>Revolutionizing Emergency Vehicle Traffic Flow with AI 🚑</p>
<p>In the face of increasing urban congestion, ensuring that emergency vehicles like ambulances reach their destinations without delay is critical. AmbuRouteAI is an innovative AI-driven traffic management system that leverages cutting-edge object detection and real-time traffic light control to create a seamless pathway for ambulances. By harnessing the power of YOLOv8 for detection and OpenCV for traffic simulation, AmbuRouteAI significantly reduces ambulance response times and enhances emergency healthcare logistics.</p>
<p>🔧 Key Features</p>
<p>✅ Real-time Ambulance Detection – Utilizes YOLOv8 AI to detect ambulances from live traffic feeds.</p>
<p>✅ Intelligent Traffic Signal Control – Dynamically adjusts traffic lights using OpenCV when an ambulance is detected.</p>
<p>✅ Live Video Processing – Supports webcams or CCTV camera feeds to analyze real-time road conditions.</p>
<p>✅ Seamless Integration – Can be extended into IoT-enabled smart city infrastructure.</p>
<p>✅ Scalability – Designed for integration with Google Maps API for real-time route optimization.</p>
<p>🛠️ Tech Stack</p>
<p>Component</p>
<p>Technology/Tool</p>
<p>AI Model</p>
<p>YOLOv8 (Ultralytics)</p>
<p>Computer Vision</p>
<p>OpenCV, NumPy</p>
<p>Backend</p>
<p>Python</p>
<p>Traffic Simulation</p>
<p>OpenCV</p>
<p>Live Video Input</p>
<p>Webcam / CCTV Feed</p>
<p>📜 How It Works</p>
<p>1️⃣ AI-Powered Detection</p>
<p>AmbuRouteAI employs the YOLOv8 model to analyze live traffic feeds and identify ambulances in real time.</p>
<p>2️⃣ Smart Traffic Light Control</p>
<p>When an ambulance is detected, the system dynamically changes the traffic light to green, ensuring a clear path for emergency vehicles.</p>
<p>3️⃣ Visual Alerts &amp; UI</p>
<p>The system overlays bounding boxes on detected ambulances and provides a simulated traffic signal interface.</p>
<p>4️⃣ Future-Ready Extensibility</p>
<p>AmbuRouteAI can integrate with Google Maps API and IoT sensors, enabling comprehensive smart city traffic management.</p>
<p>📥 Installation &amp; Setup</p>
<p>To run AmbuRouteAI locally, follow these steps:</p>
<p>1. Clone the Repository</p>
<p>git clone <a target="_blank" href="https://github.com/mantreshkhurana/AmbuRouteAI.git">https://github.com/mantreshkhurana/AmbuRouteAI.git</a></p>
<p>cd AmbuRouteAI</p>
<p>2. Set Up a Virtual Environment</p>
<p>python -m venv venv</p>
<p>source venv/bin/activate  # On Windows, use 'venv\Scripts\activate'</p>
<p>3. Install Dependencies</p>
<p>pip install -r requirements.txt</p>
<p>4. Download YOLOv8 Model</p>
<p>Download <a target="_blank" href="http://yolov8n.pt">yolov8n.pt</a> from Ultralytics and place it in the project directory.</p>
<p>5. Run the Application</p>
<p>python <a target="_blank" href="http://main.py">main.py</a></p>
<p>🎯 Future Enhancements</p>
<p>Google Maps API Integration – Optimize routes using live traffic data.</p>
<p>IoT-Based Smart Traffic Signals – Deploy with Raspberry Pi &amp; Arduino for real-world applications.</p>
<p>Hospital Alert System – Notify hospitals about incoming emergency patients.</p>
<p>Mobile App Interface – Develop an app for real-time ambulance tracking and traffic updates.</p>
<p>👨‍💻 Author</p>
<p>Mantresh Khurana</p>
<p>For more details and access to the source code, visit the AmbuRouteAI GitHub Repository: <a target="_blank" href="https://github.com/mantreshkhurana/AmbuRouteAI">https://github.com/mantreshkhurana/AmbuRouteAI</a></p>
]]></content:encoded></item><item><title><![CDATA[Instagram User Insights]]></title><description><![CDATA[Introduction
In the age of social media dominance, understanding user engagement is crucial for businesses, influencers, and content creators. Instagram, being one of the most popular platforms, offers a wealth of data that can be analyzed to extract...]]></description><link>https://hashnode.mantreshkhurana.com/instagram-user-insights</link><guid isPermaLink="true">https://hashnode.mantreshkhurana.com/instagram-user-insights</guid><dc:creator><![CDATA[Mantresh Khurana]]></dc:creator><pubDate>Tue, 18 Feb 2025 07:08:46 GMT</pubDate><content:encoded><![CDATA[<h2 id="heading-introduction">Introduction</h2>
<p>In the age of social media dominance, understanding user engagement is crucial for businesses, influencers, and content creators. Instagram, being one of the most popular platforms, offers a wealth of data that can be analyzed to extract valuable insights. The <strong>Instagram User Insights</strong> tool, developed by <a target="_blank" href="https://github.com/mantreshkhurana/instagram-user-insights">Mantresh Khurana</a>, is an open-source solution designed to help users analyze their Instagram activity efficiently.</p>
<h2 id="heading-why-instagram-analytics-matter">Why Instagram Analytics Matter</h2>
<p>Social media analytics provide crucial data about follower growth, engagement rates, and content performance. With these insights, users can:</p>
<ul>
<li>Identify what type of content resonates best with their audience.</li>
<li>Track their engagement over time.</li>
<li>Optimize posting schedules for maximum reach.</li>
<li>Monitor competitor performance for strategic advantages.</li>
</ul>
<h2 id="heading-overview-of-instagram-user-insights-tool">Overview of Instagram User Insights Tool</h2>
<p>The <strong>Instagram User Insights</strong> repository provides a Python-based solution to extract and analyze Instagram user data. It is built to be user-friendly and efficient, offering a variety of features for social media analytics enthusiasts.</p>
<h3 id="heading-key-features">Key Features</h3>
<ul>
<li><strong>Data Extraction</strong>: Retrieves Instagram user data, including followers, following, and post interactions.</li>
<li><strong>Engagement Analysis</strong>: Helps measure likes, comments, and shares to assess user interaction.</li>
<li><strong>Follower Tracking</strong>: Monitors follower growth and unfollows over time.</li>
<li><strong>Content Performance Metrics</strong>: Analyzes post engagement trends to identify high-performing content.</li>
<li><strong>Visualization Tools</strong>: Uses graphs and charts for data representation, making insights easier to interpret.</li>
</ul>
<h2 id="heading-how-to-use-the-tool">How to Use the Tool</h2>
<h3 id="heading-step-1-clone-the-repository">Step 1: Clone the Repository</h3>
<p>To get started, clone the GitHub repository:</p>
<pre><code class="lang-bash">git <span class="hljs-built_in">clone</span> https://github.com/mantreshkhurana/instagram-user-insights.git
<span class="hljs-built_in">cd</span> instagram-user-insights
</code></pre>
<h3 id="heading-step-2-install-dependencies">Step 2: Install Dependencies</h3>
<p>Make sure you have Python installed, then install the required dependencies:</p>
<pre><code class="lang-bash">pip install -r requirements.txt
</code></pre>
<h3 id="heading-step-3-run-the-script">Step 3: Run the Script</h3>
<p>Execute the script to begin analyzing Instagram data:</p>
<pre><code class="lang-bash">python main.py
</code></pre>
<h3 id="heading-step-4-visualize-and-interpret-data">Step 4: Visualize and Interpret Data</h3>
<p>Once the script runs, it will generate detailed insights that can be used for strategic decision-making. The tool offers data visualization features, allowing users to gain meaningful insights at a glance.</p>
<h2 id="heading-benefits-of-using-this-tool">Benefits of Using This Tool</h2>
<ul>
<li><strong>Open Source</strong>: Free to use and modify.</li>
<li><strong>Easy to Use</strong>: No advanced coding knowledge required.</li>
<li><strong>Customizable</strong>: Can be extended for additional functionalities.</li>
<li><strong>Time-Saving</strong>: Automates data collection and analysis.</li>
</ul>
<h2 id="heading-final-thoughts">Final Thoughts</h2>
<p>If you're looking for a simple yet powerful way to analyze your Instagram activity, the <strong>Instagram User Insights</strong> tool is worth checking out. Whether you're a content creator, digital marketer, or data science enthusiast, this tool provides the analytics needed to improve engagement and refine content strategies.</p>
<p>Try it out today and take control of your Instagram insights!</p>
<p>👉 <a target="_blank" href="https://github.com/mantreshkhurana/instagram-user-insights">GitHub Repository</a></p>
]]></content:encoded></item><item><title><![CDATA[Geo Attendance App]]></title><description><![CDATA[🚀 Geo Attendance App - A Location-Based Attendance System in Flutter
Managing employee or student attendance efficiently is crucial for any organization. Traditional methods are often prone to manipulation and inefficiencies. The Geo Attendance App ...]]></description><link>https://hashnode.mantreshkhurana.com/geo-attendance-app</link><guid isPermaLink="true">https://hashnode.mantreshkhurana.com/geo-attendance-app</guid><dc:creator><![CDATA[Mantresh Khurana]]></dc:creator><pubDate>Mon, 17 Feb 2025 14:37:18 GMT</pubDate><content:encoded><![CDATA[<hr />
<h2 id="heading-geo-attendance-app-a-location-based-attendance-system-in-flutter">🚀 Geo Attendance App - A Location-Based Attendance System in Flutter</h2>
<p>Managing employee or student attendance efficiently is crucial for any organization. Traditional methods are often prone to manipulation and inefficiencies. The <strong>Geo Attendance App</strong> solves this issue by leveraging <strong>geolocation tracking</strong> in Flutter to ensure real-time, location-based attendance tracking.</p>
<h3 id="heading-repository-link">🔗 Repository Link</h3>
<p>Check out the full source code on GitHub: <a target="_blank" href="https://github.com/mantreshkhurana/geo_attendance_app_flutter">Geo Attendance App - Flutter</a></p>
<h2 id="heading-features">🎯 Features</h2>
<p>✅ <strong>GPS-Based Attendance:</strong> Users can mark attendance only within a predefined location. ✅ <strong>Firebase Backend:</strong> Secure authentication and attendance records using Firebase. ✅ <strong>Google Maps Integration:</strong> Displays location on maps to verify attendance zones. ✅ <strong>Real-Time Data Storage:</strong> Attendance logs stored in Firebase Firestore. ✅ <strong>User Authentication:</strong> Secure login and registration. ✅ <strong>Admin Dashboard:</strong> View attendance reports. ✅ <strong>Flutter UI:</strong> Smooth, responsive, and visually appealing interface.</p>
<h2 id="heading-tech-stack">🏗️ Tech Stack</h2>
<ul>
<li><p><strong>Flutter</strong> (for cross-platform mobile development)</p>
</li>
<li><p><strong>Dart</strong> (programming language)</p>
</li>
<li><p><strong>Firebase Authentication</strong> (for user authentication)</p>
</li>
<li><p><strong>Cloud Firestore</strong> (for real-time data storage)</p>
</li>
<li><p><strong>Google Maps API</strong> (for geolocation features)</p>
</li>
<li><p><strong>Provider / Riverpod</strong> (for state management)</p>
</li>
</ul>
<h2 id="heading-installation-guide">📲 Installation Guide</h2>
<p>Follow these steps to set up the project locally:</p>
<ol>
<li><p><strong>Clone the repository</strong></p>
<pre><code class="lang-sh"> git <span class="hljs-built_in">clone</span> https://github.com/mantreshkhurana/geo_attendance_app_flutter.git
 <span class="hljs-built_in">cd</span> geo_attendance_app_flutter
</code></pre>
</li>
<li><p><strong>Install dependencies</strong></p>
<pre><code class="lang-sh"> flutter pub get
</code></pre>
</li>
<li><p><strong>Configure Firebase</strong></p>
<ul>
<li><p>Set up Firebase for your project.</p>
</li>
<li><p>Download <code>google-services.json</code> (Android) and <code>GoogleService-Info.plist</code> (iOS) from Firebase Console.</p>
</li>
<li><p>Place them inside respective folders (<code>android/app/</code> and <code>ios/Runner/</code>).</p>
</li>
</ul>
</li>
<li><p><strong>Run the app</strong></p>
<pre><code class="lang-sh"> flutter run
</code></pre>
</li>
</ol>
<h2 id="heading-key-modules">📌 Key Modules</h2>
<h3 id="heading-1-user-authentication">1️⃣ User Authentication</h3>
<p>Implemented using <strong>Firebase Authentication</strong> to allow users to register and log in securely.</p>
<h3 id="heading-2-geolocation-amp-google-maps">2️⃣ Geolocation &amp; Google Maps</h3>
<ul>
<li><p>Uses <strong>geolocator</strong> package to fetch user location.</p>
</li>
<li><p><strong>Google Maps API</strong> to display maps and attendance zones.</p>
</li>
<li><p><strong>Geofencing</strong> to restrict attendance marking outside predefined areas.</p>
</li>
</ul>
<h3 id="heading-3-attendance-logging">3️⃣ Attendance Logging</h3>
<ul>
<li><p>When a user checks in, their location and timestamp are recorded in Firestore.</p>
</li>
<li><p>Admins can view attendance records and analyze logs.</p>
</li>
</ul>
<h3 id="heading-4-admin-dashboard">4️⃣ Admin Dashboard</h3>
<ul>
<li><p>Provides insights into attendance logs.</p>
</li>
<li><p>View reports for specific users/dates.</p>
</li>
</ul>
<h2 id="heading-why-use-this-app">🌟 Why Use This App?</h2>
<ul>
<li><p><strong>Prevents Fake Check-ins</strong> 🎭</p>
</li>
<li><p><strong>Automates Attendance Process</strong> 📊</p>
</li>
<li><p><strong>Ensures Transparency &amp; Accuracy</strong> ✅</p>
</li>
<li><p><strong>Ideal for Remote Work &amp; Schools</strong> 🏫</p>
</li>
</ul>
<h2 id="heading-future-enhancements">📜 Future Enhancements</h2>
<p>🔹 Offline mode support for attendance syncing. 🔹 QR Code-based check-in for additional security. 🔹 Push notifications for reminders.</p>
<h2 id="heading-contributing">👨‍💻 Contributing</h2>
<p>Want to contribute? Follow these steps:</p>
<ol>
<li><p>Fork the repo 🍴</p>
</li>
<li><p>Create a new branch 🚀</p>
</li>
<li><p>Commit your changes 💡</p>
</li>
<li><p>Push and open a pull request 🔥</p>
</li>
</ol>
<h2 id="heading-contact-amp-support">📞 Contact &amp; Support</h2>
<p>If you have any questions, feel free to connect:</p>
<ul>
<li>GitHub Issues: <a target="_blank" href="https://github.com/mantreshkhurana/geo_attendance_app_flutter/issues">Create an Issue</a></li>
</ul>
<p>💙 If you found this project useful, give it a ⭐️ on GitHub!</p>
<hr />
<p>Happy coding! 🚀</p>
]]></content:encoded></item><item><title><![CDATA[Building a Flask-Based Twitter Toxicity Detection App]]></title><description><![CDATA[Introduction
Welcome to the Twitter Toxicity Detection Flask App repository! If you’re interested in understanding and analyzing online conversations for toxicity, this project is a perfect starting point. Leveraging the power of machine learning and...]]></description><link>https://hashnode.mantreshkhurana.com/building-a-flask-based-twitter-toxicity-detection-app</link><guid isPermaLink="true">https://hashnode.mantreshkhurana.com/building-a-flask-based-twitter-toxicity-detection-app</guid><category><![CDATA[Machine Learning]]></category><category><![CDATA[Python]]></category><category><![CDATA[Twitter]]></category><category><![CDATA[scikit learn]]></category><dc:creator><![CDATA[Mantresh Khurana]]></dc:creator><pubDate>Wed, 15 Jan 2025 17:38:39 GMT</pubDate><content:encoded><![CDATA[<p>Introduction</p>
<p>Welcome to the Twitter Toxicity Detection Flask App repository! If you’re interested in understanding and analyzing online conversations for toxicity, this project is a perfect starting point. Leveraging the power of machine learning and natural language processing (NLP), the app detects toxic tweets and serves as a template for real-world toxicity analysis tools.</p>
<p>🚀 Key Features 1. User-Friendly Flask Web Interface: • A simple and clean Flask-based web app. • Easy-to-use form to input tweets for toxicity analysis. 2. Advanced Machine Learning Model: • Utilizes pretrained NLP models to assess toxicity in text. • Capable of detecting toxic, abusive, or harmful language. 3. Real-Time Results: • Processes and provides toxicity insights almost instantly. • Includes detailed breakdowns of toxic categories like hate speech, profanity, and more.</p>
<p>🛠️ Installation &amp; Setup</p>
<p>Clone the Repository</p>
<p>git clone https://github.com/mantreshkhurana/twitter-toxicity-detection-flask.git cd twitter-toxicity-detection-flask</p>
<p>Install Dependencies</p>
<p>Use pip to install the required Python libraries:</p>
<p>pip install -r requirements.txt</p>
<p>Set Up Environment Variables</p>
<p>Create a .env file in the root directory and set your API keys or other sensitive configurations:</p>
<p>API_KEY=your_api_key_here MODEL_PATH=path_to_pretrained_model</p>
<p>Run the App</p>
<p>Start the Flask server with:</p>
<p>python app.py</p>
<p>Navigate to http://127.0.0.1:5000/ in your browser to access the web interface.</p>
<p>🌟 How It Works 1. Input: Users input a tweet or text. 2. Model Processing: The text is sent to the backend, where the machine learning model predicts its toxicity level. 3. Output: Results are displayed on the web page, showing toxicity percentages and categories.</p>
<p>📁 Project Structure</p>
<p>twitter-toxicity-detection-flask/ │ ├── app.py # Flask application entry point ├── templates/ # HTML templates for the app ├── static/ # Static files (CSS, JS, images) ├── models/ # Directory for pretrained models ├── requirements.txt # Python dependencies └── README.md # Project documentation</p>
<p>✨ Highlights</p>
<p>Flask Integration</p>
<p>The app is built on Flask, providing a lightweight yet powerful web interface for user interaction. It serves as an excellent demonstration of integrating machine learning models with web frameworks.</p>
<p>Pretrained Models</p>
<p>By leveraging pretrained NLP models, the app avoids the complexity of training models from scratch. This ensures quick deployment and efficient analysis.</p>
<p>🤝 Contributions</p>
<p>Contributions are welcome! To contribute: 1. Fork the repository. 2. Create a new branch for your feature. 3. Submit a pull request.</p>
<p>🛡️ License</p>
<p>This project is licensed under the MIT License. Feel free to use, modify, and distribute this repository in your own projects.</p>
<p>📧 Connect with Me</p>
<p>If you have questions, suggestions, or ideas, feel free to reach out:</p>
<p>Check out the repository and start your journey into toxicity detection today! 🚀</p>
]]></content:encoded></item></channel></rss>