Skip to content

farhanadeata/LOCALINK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”— LOCALINK

Connect Locally, Communicate Instantly

Offline local network chat powered by ESP8266, WebSocket, LittleFS, and Captive Portal.

ESP8266 WebSocket LittleFS License


πŸ“– Overview

LOCALINK is a lightweight offline chat platform built on ESP8266 that allows users to communicate in real-time without requiring internet access.

Users simply connect to the LOCALINK WiFi network and instantly gain access to a modern web-based chat room through their browser.

No internet. No cloud server. No mobile application.

Just connect and chat.


✨ Features

🌐 Network

  • ESP8266 Access Point Mode
  • Offline Communication
  • No Internet Required
  • Captive Portal Support
  • Automatic Login Redirection

πŸ’¬ Chat

  • Real-Time Messaging
  • WebSocket Communication
  • Multi User Chat Room
  • Instant Message Broadcast
  • Online User Counter
  • Chat History Support

πŸ‘€ User Management

  • Username Login
  • Role-Based Access
  • Admin
  • Operator
  • Staff
  • Guest

🎨 User Interface

  • Modern WhatsApp Style Interface
  • Responsive Mobile Design
  • Desktop Compatible
  • Dark Mode
  • Sidebar Navigation
  • Toast Notifications

πŸ’Ύ Storage

  • LittleFS Storage
  • Persistent Message History
  • Automatic Chat Recovery

πŸ— Architecture

            β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
            β”‚    ESP8266 AP   β”‚
            β”‚    LOCALINK     β”‚
            β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                     β”‚
         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
         β”‚           β”‚           β”‚
         β–Ό           β–Ό           β–Ό

      User A      User B      User C

         β”‚           β”‚           β”‚
         └────── WebSocket β”€β”€β”€β”€β”€β”€β”˜

                 β–Ό

          LOCALINK CHAT

πŸ“Έ Screenshots

Login Page

Login

Chat Room

Chat Room

Admin Sidebar

Admin Sidebar


βš™ Hardware Requirements

Component Description
ESP8266 NodeMCU V3 Main Controller
USB Cable Programming
Smartphone / Laptop Client Device

πŸ“¦ Software Requirements

Arduino IDE

Recommended:

  • Arduino IDE 2.x

Required Libraries

  • ESP8266WiFi
  • ESPAsyncTCP
  • ESPAsyncWebServer
  • LittleFS
  • DNSServer

πŸ“‚ Project Structure

LOCALINK/
β”‚
β”œβ”€β”€ Localink.ino
β”‚
β”œβ”€β”€ data/
β”‚   β”œβ”€β”€ index.html
β”‚   β”œβ”€β”€ chat.html
β”‚   β”œβ”€β”€ style.css
β”‚   β”œβ”€β”€ app.js
β”‚   β”œβ”€β”€ logo.svg
β”‚   β”œβ”€β”€ manifest.json
β”‚   └── messages.json
β”‚
β”œβ”€β”€ screenshots/
β”‚   β”œβ”€β”€ login.jpg
β”‚   β”œβ”€β”€ chat-room.jpg
β”‚   └── sidebaradmin.jpg
β”‚
β”œβ”€β”€ README.md
β”œβ”€β”€ LICENSE
└── .gitignore

πŸš€ Installation

Clone Repository

git clone https://github.com/farhanadeata/LOCALINK.git

Open Arduino IDE

Load:

Localink.ino

Install Required Libraries

Install all required libraries listed above.

Upload Firmware

Board:

NodeMCU 1.0 (ESP-12E Module)

Upload sketch to ESP8266.

Upload LittleFS Files

Upload all files inside:

data/

using LittleFS Data Upload Tool.

Connect To LOCALINK

SSID     : LOCALINK
Password : Frnyx2708

Open:

http://192.168.4.1

or allow Captive Portal to redirect automatically.


🎯 Use Cases

  • School Communication
  • Local Events
  • Emergency Communication
  • Community Networks
  • Rural Areas Without Internet
  • Temporary Communication Systems
  • Correctional Facility Communication Experiments
  • Offline IoT Demonstrations

πŸ›£ Roadmap

Version 1.0

  • Offline Chat
  • WebSocket Realtime
  • LittleFS Storage
  • Captive Portal
  • Responsive UI
  • Dark Mode

Future Versions

  • Private Messaging
  • Emoji Support
  • User Presence Status
  • Multi Room Chat
  • ESP32 Version
  • File Sharing
  • Voice Notes
  • Mesh Networking

🀝 Contributing

Contributions, feature requests, bug reports, and pull requests are welcome.

Feel free to fork this repository and improve LOCALINK.


πŸ“„ License

This project is released under the MIT License.


LOCALINK

Connect Locally, Communicate Instantly

Built with ❀️ using ESP8266, WebSocket, LittleFS and Captive Portal

About

Offline local network chat system powered by ESP8266, WebSocket, LittleFS, and Captive Portal.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors