Metadata-Version: 2.4
Name: lfy
Version: 0.3.0
Summary: Translation software designed for reading scientific research literature.
Author-email: yuhldr <yuhldr@qq.com>
Project-URL: Homepage, https://github.com/ldrfy/lfy
Project-URL: Bug Tracker, https://github.com/ldrfy/lfy/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Requires-Dist: pillow
Requires-Dist: PyQt6
Dynamic: license-file

# 兰译 lfy <img src="data/resources/icons/hicolor/scalable/apps/cool.ldr.lfy.svg" width="36" height="36" alt="兰译" style="vertical-align: middle;" />

<div align="center">

[![CHI](https://img.shields.io/badge/CHI-中文-red?style=for-the-badge)](README_ZH.md) [![ENG](https://img.shields.io/badge/ENG-English-blue?style=for-the-badge)](README.md)

</div>

<div align="center">

### 🖥️ GTK Version

<table>
  <tr>
    <td><img src="https://raw.githubusercontent.com/ldrfy/docs/main/images/gtk/main.png" alt="Home" width="100%"></td>
    <td><img src="https://raw.githubusercontent.com/ldrfy/docs/main/images/gtk/preference.png" alt="Settings" width="100%"></td>
    <td><img src="https://raw.githubusercontent.com/ldrfy/docs/main/images/gtk/preference1.png" alt="Settings1" width="100%"></td>
  </tr>
</table>

### 🧩 Qt Version

<table>
  <tr>
    <td><img src="https://raw.githubusercontent.com/ldrfy/docs/main/images/qt/main.png" alt="Home" width="100%"></td>
    <td><img src="https://raw.githubusercontent.com/ldrfy/docs/main/images/qt/preference.png" alt="Settings" width="100%"></td>
    <td><img src="https://raw.githubusercontent.com/ldrfy/docs/main/images/qt/preference1.png" alt="Settings1" width="100%"></td>
  </tr>
</table>

</div>

---

## 🎨 feature

✅ Support translation using **[ollama](https://github.com/ldrfy/docs/blob/main/servers/t/ollama.md)** !<img src="https://ollama.com/public/hello.png" width="48" height="48" alt="兰译" style="vertical-align: middle;" />


## 🚀 Installation

> If you have Python and pip installed, you can quickly install the Qt version via terminal:

```bash
pip install lfy
```

Run:

```bash
lfy
```

---

### 📦 Auto-compiled versions are also available:

🔗 [Click here to download](https://github.com/ldrfy/lfy/releases/tag/auto):  
Includes `rpm`, `deb`, `flatpak`, `archlinux`, `whl`

✅ Supported systems:

- Arch Linux (latest)
- Ubuntu 24.04
- openSUSE Tumbleweed
- Fedora 41

🔁 Use **Flatpak** for cross-platform support:

[![Download on Flathub](https://flathub.org/assets/badges/flathub-badge-en.png)](https://flathub.org/apps/details/cool.ldr.lfy)

---

### 🏗️ Manual Compilation

Ensure you have the necessary dependencies installed, then execute:

```bash
git clone https://github.com/ldrfy/lfy.git
cd lfy

# Build all supported package formats: aur, deb, rpm, flatpak, pip
make release

# Or build a specific format; see the `release` section in the Makefile

# The generated packages will be located in the `dist` directory
ls -l dist
```

---

## 🌐 Translate

> [Translation Guide](https://github.com/ldrfy/docs/blob/main/TRANSLATE.md)


[![翻译状态](https://hosted.weblate.org/widget/lfy/lfy/multi-auto.svg)](https://hosted.weblate.org/engage/lfy/)

## 📚 Documentation & Community

- 📘 [Software Documentation](https://github.com/ldrfy/docs)
- 🛠️ [Contributing Guide](https://github.com/ldrfy/docs/blob/main/CONTRIBUTE.md)
- 📝 [Changelog](https://github.com/ldrfy/docs/blob/main/CHANGELOG.md)
