Git Product home page Git Product logo

dev-d-gr8 / textgenius Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 123 KB

This project provides a custom keyboard for iPhones, built using UIKit, and a companion app built with SwiftUI for customization options. The keyboard features a built-in search bar that integrates with the Gemini-1.5 flash API to quickly answer questions or generate content for commenting or replying.

License: MIT License

Swift 100.00%
app application gemini gemini-api gemini-flash gemini-pro generative-ai ios ios-app ios-swift keyboard mobile-app mobile-development swift swiftui uikit

textgenius's Introduction

TextGenius-SmartText: Custom iOS Keyboard Extension

Welcome to the TextGenius, a Custom iOS Keyboard Extension project! This project provides a custom keyboard for iPhones, built using UIKit, and a companion app built with SwiftUI for customization options. The keyboard features a built-in search bar that integrates with the Gemini-1.5 flash API to quickly answer questions or generate content for commenting or replying.

Contents

Features

  • Embedded Search Bar: Quickly ask questions from the Gemini-1.5 flash API.
  • Content Generation: Generate content for comments or replies effortlessly.
  • Customization Options: Enable autocorrect, double space for a period, auto-capitalization after space, and audio and haptic feedback.
  • Special Functionality: A special key to easily set the LLM API for generating smart replies/comments.
  • Advanced Text Manipulation: Long press on the spacebar to move the cursor, enhancing text editing efficiency, auto caps after period, and much more like a native iOS keyboard.
  • UIKit & SwiftUI: Built using UIKit for the keyboard and SwiftUI for the customization app.

Demo

Watch demo video on YouTube by clicking here

Installation

Requirements

  • iOS 17.0+
  • Xcode 15.0+
  • Swift 5.10+

Dependencies

Steps

  1. Clone the repository:

    cd TextGenius
    git clone https://github.com/DEV-D-GR8/TextGenius.git
  2. Open the project in Xcode:

    open TextGenius.xcodeproj
  3. Build and run the project:

    • Select the TextGenius target.
    • Connect your iOS device or use a simulator.
    • Click the Run button or press Cmd + R.
  4. Enable the Keyboard Extension:

    • Go to Settings > General > Keyboard > Keyboards > Add New Keyboard...
    • Select SmartText-TextGenius.

Usage

  1. Access the Keyboard:

    • Open any app that uses the keyboard.
    • Tap and hold the globe icon to select SmartText-TextGenius.
  2. Use the Search Bar:

    • Type your query in the search bar.
    • Get instant answers or content generated by Gemini-1.5 flash API.
  3. Customize Settings:

    • Open the companion app.
    • Adjust settings such as autocorrect, double space for a period, auto-capitalization, and audio/haptic feedback.

Customization

UIKit (Keyboard)

The keyboard is built using UIKit to provide a familiar iOS-like experience. You can customize the appearance and behavior of the keyboard by modifying the KeyboardViewController.swift file.

SwiftUI (App)

The companion app is built with SwiftUI for easy customization. You can add or modify settings in the SettingsView.swift file. There is an onboarding screen provided for first time app launch and splash screen for subsequent launches.

Contributing

Contributions are welcome! Please fork this repository and submit a pull request for any enhancements or bug fixes.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contact

For any inquiries or support, please contact Dev Asheesh Chopra at [email protected].


Thank you for using the TextGenius custom iOS Keyboard Extension! Enjoy a seamless typing experience with powerful customization options.

textgenius's People

Contributors

dev-d-gr8 avatar

Stargazers

Tony  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.