GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - avd1729/Textify: Textify is a privacy-first Android keyboard that learns from your typing using on-device n-gram models and federated learning, without ever sending your data to the cloud.

BranchesTags
Open more actions menu

Latest commit

 

History

18 Commits
18 Commits

Folders and files

NameName
Last commit message
Last commit date
.idea
.idea
 
 
app
app
 
 
gradle
gradle
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
build.gradle.kts
build.gradle.kts
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle.kts
settings.gradle.kts
 
 

Repository files navigation

Textify

Textify is an intelligent, privacy-first Android keyboard app that provides next-word suggestions through a lightweight, locally embedded n-gram prediction model. Designed with modern UI principles using Jetpack Compose and powered by a federated learning backend, Textify adapts to users' writing styles while keeping their data secure on-device.


image

What Makes Textify Special?

  • On-device Prediction:
    Textify embeds a Python-based n-gram model within the Android application itself, enabling real-time next-word suggestions without requiring a network connection or external inference engine.

  • Federated Learning for Privacy:
    As users type, the model learns and adapts locally. Instead of uploading raw input data, the keyboard only shares model weight updates with a centralized server. This preserves user privacy while enabling the model to improve globally.

  • Global Aggregation via Cloud:
    A backend service, written in Python and deployed on AWS EC2, receives these model updates from various devices. It aggregates them to form a refined global model, which is periodically redistributed to all clients, completing the federated learning cycle.


Core Components

  • Android App (Kotlin + Jetpack Compose):
    A sleek and responsive keyboard UI that captures user input, runs local prediction using embedded Python, and manages communication with the global model server.

  • Embedded Python Engine:
    A minimal n-gram model written in Python is integrated into the Android app using Chaquopy. It handles local training and prediction, entirely on-device.

  • Federated Update Flow:
    After local training on user data:

    • The app serializes the updated model weights.
    • Sends them to the cloud server (AWS EC2).
    • The server aggregates multiple updates to refine the global model.
    • Updated models are sent back to the clients for continual improvement.
  • Backend Server (Python/Flask):
    A simple and scalable API deployed on EC2 that:

    • Accepts model updates from multiple clients.
    • Performs aggregation (e.g., averaging weights).
    • Returns the improved model for future use.

Privacy by Design

Textify is built with privacy at its core:

  • No user-typed content ever leaves the device.
  • Only abstracted model updates are sent.
  • Enables global improvement without compromising individual user data.

Vision & Future Scope

Textify aims to combine usability, intelligence, and privacy in a seamless typing experience. Some of the future directions include:

  • Expanding from n-gram to neural next-word models (while maintaining performance and privacy).
  • Multilingual support for localized predictions.
  • Integration of differential privacy during update sharing.
  • Real-time insights into local vs global model improvements.
  • Periodic background syncs to minimize battery and bandwidth impact.

Reference

https://drive.google.com/file/d/1i19kHE2Miab6xJYqH5M68g-4uINtBCcR/view?usp=sharing

APK File

https://drive.google.com/file/d/1O3eGWtHXl8OzUcp2m2jfUAjj6pThbu4j/view?usp=drive_link

Summary

Textify is not just a keyboard — it’s a smarter, privacy-conscious writing assistant. By blending lightweight NLP techniques with federated learning and modern Android design, it brings intelligent text prediction to mobile devices without ever sacrificing user trust.

About

Textify is a privacy-first Android keyboard that learns from your typing using on-device n-gram models and federated learning, without ever sending your data to the cloud.

github.com/avd1729/Textify-Server

Topics

androidaws-ec2federated-learningkotlinmachine-learningmongodbpython

Resources

Readme
Activity

Stars

4 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.