Skip to content

Commit d302407

Browse files
committed
docs: added project README
1 parent 68023fe commit d302407

File tree

3 files changed

+180
-3
lines changed

3 files changed

+180
-3
lines changed

README.md

Lines changed: 152 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,153 @@
1-
# Qack
1+
<a id="readme-top"></a>
22

3-
WIP. Since this will be a very simple app, most of the layouts and values will be hardcoded for the meantime.
4-
Navigation is also super simple for now.
3+
4+
<!-- PROJECT LOGO -->
5+
<br />
6+
<div align="center">
7+
<a href="https://github.com/CoderUni/qack">
8+
<img src="docs/images/logo-circular.png" alt="Logo" width="80" height="80">
9+
</a>
10+
11+
<h3 align="center">Qack</h3>
12+
13+
<p align="center">
14+
Go beyond textbooks. Qack makes English–Chinese learning smoother with natural, everyday translations.
15+
<br />
16+
<br />
17+
<a href="https://github.com/CoderUni/qack/issues/new">Supported Translators</a>
18+
&middot;
19+
<a href="https://github.com/CoderUni/qack/issues/new">Report an Issue</a>
20+
</p>
21+
</div>
22+
23+
24+
25+
<!-- TABLE OF CONTENTS -->
26+
<details>
27+
<summary>Table of Contents</summary>
28+
<ol>
29+
<li>
30+
<a href="#about-the-project">About The Project</a>
31+
</li>
32+
<li>
33+
<a href="#getting-started">Getting Started</a>
34+
<ul>
35+
<li><a href="#prerequisites">Prerequisites</a></li>
36+
<li><a href="#installation">Installation</a></li>
37+
</ul>
38+
</li>
39+
<li><a href="#supported-translators">Supported Translators</a></li>
40+
<li><a href="#roadmap">Roadmap</a></li>
41+
<li><a href="#contributing">Contributing</a></li>
42+
<li><a href="#license">License</a></li>
43+
<li><a href="#acknowledgments">Acknowledgments</a></li>
44+
</ol>
45+
</details>
46+
47+
48+
49+
<!-- ABOUT THE PROJECT -->
50+
## About The Project
51+
52+
[![Product Name Screen Shot][product-screenshot]](https://hanstan.link)
53+
54+
Since Chinese is not my native language, I find it really hard to converse with the locals naturally. I always have to think twice about how to say something in Chinese, and often get misunderstood due to poor grammar and lack of vocabulary.
55+
56+
This translator app utilizes various translation APIs to help me translate English phrases and sentences quickly while sounding natural at the same time. Most of the words learnt from HSK books are too formal and not used in daily conversations. Having many translators to choose from allows me to pick the one that suits my needs the best.
57+
58+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
59+
60+
61+
<!-- GETTING STARTED -->
62+
## Getting Started
63+
64+
### Prerequisites
65+
66+
A working environment for Flutter development and emulators installed. If you don't have them installed, you can follow the the official docs [here](https://docs.flutter.dev/get-started/install).
67+
68+
### Installation
69+
70+
_Additional setup steps are required to get the app up and running._
71+
72+
1. Clone the repo
73+
```sh
74+
git clone https://github.com/CoderUni/qack.git
75+
```
76+
3. Install Flutter packages
77+
```sh
78+
flutter pub get
79+
```
80+
4. Run the following build_runner code:
81+
```sh
82+
dart run build_runner build
83+
```
84+
5. Configure [Sentry](https://sentry.io/welcome/) and paste the API key in the .env file
85+
Create a .env file inside the assets folder and add the following:
86+
```js
87+
const SENTRY_LINK='ENTER YOUR API LINK';
88+
```
89+
6. Create an API Key from one or more of the [supported translators](#supported-translators) you'd like to use.
90+
7. Run the app and paste the API Keys in the settings page.
91+
92+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
93+
94+
<!-- SUPPORTED TRANSLATORS -->
95+
## Supported Translators
96+
- [x] Baidu
97+
- [x] Deepseek
98+
- [WIP] Youdao
99+
- [] ChatGPT
100+
- [] DeepL
101+
- [] Google Translate
102+
103+
Support for ChatGPT, DeepL, and Google translate will be added soon. Through some testing,
104+
I found that Chinese translation apps tend to perform better for English-Chinese translations
105+
since they are built specifically for it.
106+
107+
> LLMs such as Deepseek and ChatGPT tend to excel in smoothly translating slangs and daily converstaions.
108+
109+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
110+
111+
<!-- ROADMAP -->
112+
## Roadmap
113+
114+
- [x] Multi-language Support
115+
- [x] English
116+
- [x] Chinese
117+
- [ ] Feel free to suggest more languages
118+
- [ ] Support dictionaries other than Pleco
119+
- [ ] Add example sentences in Dictionary
120+
- [ ] Export to Anki
121+
122+
See the [open issues](https://github.com/CoderUni/qack/issues) for a full list of proposed features (and known issues).
123+
124+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
125+
126+
<!-- CONTRIBUTING -->
127+
## Contributing
128+
129+
Feedback and contributions are welcome! Feel free to check the [issues page](https://github.com/CoderUni/qack/issues) if you want to contribute.
130+
131+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
132+
133+
<!-- LICENSE -->
134+
## License
135+
136+
Distributed under the PolyForm Noncommercial License. See `LICENSE.txt` for more information.
137+
138+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
139+
140+
<!-- ACKNOWLEDGMENTS -->
141+
## Acknowledgments
142+
143+
Special thanks to the following resources and packages. This project could not be completed without them:
144+
145+
* [CC CEDICT](https://www.mdbg.net/chinese/dictionary?page=cedict)
146+
* [Bloc](https://bloclibrary.dev)
147+
148+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
149+
150+
151+
152+
<!-- MARKDOWN LINKS & IMAGES -->
153+
[product-screenshot]: images/screenshot.png

docs/images/logo-circular.png

163 KB
Loading

macos/Podfile.lock

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,28 @@ PODS:
1616
- Flutter
1717
- FlutterMacOS
1818
- Try
19+
- sqlite3 (3.49.2):
20+
- sqlite3/common (= 3.49.2)
21+
- sqlite3/common (3.49.2)
22+
- sqlite3/dbstatvtab (3.49.2):
23+
- sqlite3/common
24+
- sqlite3/fts5 (3.49.2):
25+
- sqlite3/common
26+
- sqlite3/math (3.49.2):
27+
- sqlite3/common
28+
- sqlite3/perf-threadsafe (3.49.2):
29+
- sqlite3/common
30+
- sqlite3/rtree (3.49.2):
31+
- sqlite3/common
32+
- sqlite3_flutter_libs (0.0.1):
33+
- Flutter
34+
- FlutterMacOS
35+
- sqlite3 (~> 3.49.2)
36+
- sqlite3/dbstatvtab
37+
- sqlite3/fts5
38+
- sqlite3/math
39+
- sqlite3/perf-threadsafe
40+
- sqlite3/rtree
1941
- Try (2.1.1)
2042
- url_launcher_macos (0.0.1):
2143
- FlutterMacOS
@@ -27,11 +49,13 @@ DEPENDENCIES:
2749
- path_provider_foundation (from `Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/darwin`)
2850
- sentry_flutter (from `Flutter/ephemeral/.symlinks/plugins/sentry_flutter/macos`)
2951
- speech_to_text (from `Flutter/ephemeral/.symlinks/plugins/speech_to_text/darwin`)
52+
- sqlite3_flutter_libs (from `Flutter/ephemeral/.symlinks/plugins/sqlite3_flutter_libs/darwin`)
3053
- url_launcher_macos (from `Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos`)
3154

3255
SPEC REPOS:
3356
trunk:
3457
- Sentry
58+
- sqlite3
3559
- Try
3660

3761
EXTERNAL SOURCES:
@@ -47,6 +71,8 @@ EXTERNAL SOURCES:
4771
:path: Flutter/ephemeral/.symlinks/plugins/sentry_flutter/macos
4872
speech_to_text:
4973
:path: Flutter/ephemeral/.symlinks/plugins/speech_to_text/darwin
74+
sqlite3_flutter_libs:
75+
:path: Flutter/ephemeral/.symlinks/plugins/sqlite3_flutter_libs/darwin
5076
url_launcher_macos:
5177
:path: Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos
5278

@@ -58,6 +84,8 @@ SPEC CHECKSUMS:
5884
Sentry: da60d980b197a46db0b35ea12cb8f39af48d8854
5985
sentry_flutter: 27892878729f42701297c628eb90e7c6529f3684
6086
speech_to_text: 9dc43a5df3cbc2813f8c7cc9bd0fbf94268ed7ac
87+
sqlite3: 3c950dc86011117c307eb0b28c4a7bb449dce9f1
88+
sqlite3_flutter_libs: 74334e3ef2dbdb7d37e50859bb45da43935779c4
6189
Try: 5ef669ae832617b3cee58cb2c6f99fb767a4ff96
6290
url_launcher_macos: 0fba8ddabfc33ce0a9afe7c5fef5aab3d8d2d673
6391

0 commit comments

Comments
 (0)