Giter Club home page Giter Club logo

wikit's Introduction

Wikit Application Icon

Wikit is a free and open-source dictionary program that enable you translate word for different languages


wikit contains the following components

  • Wikit CLI

    A CLI tool which can be used to create wikit dictionary from plain text or other dictionary format.

  • Wikit Desktop

    Desktop application for Windows, Linux and MacOS which is developed using tauri and yew.

    wikit main screen

  • Wikit Mobile

    Mobile application for Android, it's under planning.

Installation and Usage

You can download Wikit CLI and Wikit Desktop from Release page.

To install dictionary, see Wikit Introduction for detail.

For Linux user, you can create a file in path ~/.local/share/applications/com.zhqli.wikit.desktop (create if the path does not exist) with the following content:

#!/usr/bin/env xdg-open

[Desktop Entry]
Name=Wikit Desktop
Comment=A universal dictionary
Path=/path/to/wikit
Exec=/path/to/wikit/wikit-desktop.AppImage 
Terminal=false
Type=Application
Categories=Utility;
Keywords=dictionary;dict;

You should change Path and Exec to your own, and run update-desktop-database

update-desktop-database ~/.local/share/applications

after that you can open wikit desktop from your dash.

If you are bother with the manual installation on linux, you can install it from flathub.

For Windows user, you must additionally install webview2 and vc_redist.x86 or vc_redist.x64.

Developement

Install following tools

cargo install tauri-cli trunk

# rust for android target
rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android

# sdkmanager is from cmdline-tools https://developer.android.com/studio/command-line
sdkmanager "platforms;android-31" "platform-tools" "build-tools;31.0.0" "cmake;3.22.1" "ndk;25.1.8937393"

Create a file named .env under directory desktop/ui with content

BROWSER=none
PORT=8080

To develop wikit CLI

cd cli
cargo build

To develop wikit desktop

cd desktop
cargo tauri dev

To develop wikit mobile

cd android
make start

Building

To build wikit CLI

cd cli
cargo build --release

To build wikit desktop

cd desktop
cargo tauri build

To build wikit mobile

cd android
make release

License

MIT

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.