Giter Site home page Giter Site logo

kisa002 / transer Goto Github PK

View Code? Open in Web Editor NEW
59.0 2.0 2.0 62.56 MB

Translation utility for mac, windows, android developed based on the Kotlin Multiplatform (Compose Desktop).

License: MIT License

Kotlin 98.86% Ruby 0.76% Swift 0.38%
compose compose-desktop compose-multiplatform kotlin kotlin-multiplatform android jetpack-compose

transer's Introduction

TRANSER for easy and fast translation

What is TRANSER

One-line summary

TRANSER is an application built for easy and fast translation.

How can it be easy and faster than this?

Why did I make it?

I created this project to solve the inconvenience of using a translator when people like me read other language documents and see words or sentences that they don't know.

This project started on January 2nd, 2023.

Kotlin Multiplatform

TRANSER is developed based on the Kotlin Multiplatform, so many logic are shared like UI, API, Database, etc.

I think the Kotlin Multiplatform is more powerful than other cross-platforms when requiring native platform features, so I focused on shared logic but also the features of each native platform.

How to use it?

Desktop

It's simple, just type it in the TRANSER then it is translated.

If your platform is mac, you can use a shortcut (⌥ + Space) to appear on the top while running TRANSER. Or other platforms, you can use Control + Space.

Currently, mac is safety version. windows, linux required to more test.

Android

TRANSER automatically translates text when you select the text and click TRANSER in the menu that comes out.

iOS

Just enter text in the app and it will be automatically translated.

Captures

Desktop

  • Onboarding

    Desktop-Onboarding

  • Translate & Recent & Saved

    Desktop-Translate & Recent & Saved

  • Preferences

    Desktop-Preferences

  • Light Theme

    Desktop-Light Theme

Android

  • Translate

    Android-Translate

  • Recent

    Android-Recent

  • Saved

    Android-Saved

  • Preferences

    Android-Preferences

  • Light Theme

    Android-Light Theme

iOS

  • Translate
transer-ios-translate.MP4
  • Recent
transer-ios-recent.MP4
  • Saved
transer-ios-saved.MP4
  • Preferences
transer-ios-preferences.MP4
  • Theme
transer-ios-dark.MP4

Features

  • Common
    • Translate
    • Recent Translate
    • Saved Translate
    • Preferences
    • Support dark/light theme
    • API
    • Database
  • Native
    • Desktop
      • Shortcut
      • Commands
      • Onboarding (Will be supported the Android)
    • Android
      • Detect text event (click TRASER in the menu that showed up on long-press select text in other apps)

Architecture

  • Architecture
    • Bob’s Clean Architecture
    • MVVM Design Pattern

Shared Logic

  • Data
    • Model
    • Remote
      • Translate
      • Detect
      • Languages
    • Local
      • Preferences
      • Recent Translate
      • Saved Translate
  • Domain
    • Model (All platforms use the same model)
    • Repository
      • Remote
        • Translate
        • Detect
        • Languages
      • Local
        • Preferences
        • Recent Translate
        • Saved Translate
    • UseCase
  • Presentation
    • Theme
      • Color
      • Font
    • Screen
      • Preferences
    • Component
      • Header
      • RainbowCircularProgressIndicator

Native Logic

  • Desktop
    • Translate flow
      • Desktop flow is like the mac spotlight.
    • Shortcut
      • with JNativeHook
    • Onboarding
  • Android
    • Translate flow
      • Mobile flow is like a bottom sheet that showed up on dragging the text and clicking the menu.

Libraries

  • Common (aka. Kotlin Multiplatform Library)
    • Ktor
    • SQLDelight
  • Native
    • Desktop
      • JNativeHook
    • Android
      • Material-icons-extended

Todos

  • Common
    • Separate data-domain-presentation module (currently, just separated in the same package)
    • Cache translate API result
    • Multilingual support (TRANSER UI)
  • Native
    • Desktop
      • Test Linux
      • Onboarding (User try it self)
    • Android
      • Onboarding
    • Server
      • API Server
      • Analytics
    • Web
      • Landing Page
      • Preview translation for desktop

License

MIT License

Copyright (c) 2023 kisa002

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

transer's People

Contributors

kisa002 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

transer's Issues

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.