Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/desktop_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ jobs:
sudo apt-get install -y libgtk-3-dev libx11-dev pkg-config cmake ninja-build libblkid-dev

- run: flutter doctor -v
# Checkout EyesCare code, recreate missing files, and get packages.
- name: Checkout EyesCare code
# Checkout Taline code, recreate missing files, and get packages.
- name: Checkout Taline code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- run: flutter create .
- run: flutter pub get
Expand All @@ -90,7 +90,7 @@ jobs:
working-directory: ${{ matrix.build_path }}
- name: Compress build for Linux
if: matrix.target == 'Linux'
run: tar czf $GITHUB_WORKSPACE/EyesCare${{ matrix.target }}.tar.gz *
run: tar czf $GITHUB_WORKSPACE/Taline${{ matrix.target }}.tar.gz *
working-directory: ${{ matrix.build_path }}
- name: Setup Node.js environment
uses: actions/setup-node@v2
Expand All @@ -99,10 +99,10 @@ jobs:
run: npm install -g appdmg
- name: run appdmg
if: matrix.target == 'macOS'
run: appdmg installer/dmg_creator/config.json $GITHUB_WORKSPACE/EyesCare${{ matrix.target }}.dmg
run: appdmg installer/dmg_creator/config.json $GITHUB_WORKSPACE/Taline${{ matrix.target }}.dmg
- name: Compress build for Windows
if: matrix.target == 'Windows'
run: compress-archive -Path * -DestinationPath ${env:GITHUB_WORKSPACE}\EyesCare${{ matrix.target }}.zip
run: compress-archive -Path * -DestinationPath ${env:GITHUB_WORKSPACE}\Taline${{ matrix.target }}.zip
working-directory: ${{ matrix.build_path }}

# Upload the build.
Expand All @@ -113,6 +113,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
with:
upload_url: ${{ needs.draft-release.outputs.upload_url }}
asset_path: ./EyesCare${{ matrix.target }}${{ matrix.asset_extension }}
asset_name: EyesCare${{ matrix.target }}${{ matrix.asset_extension }}
asset_path: ./Taline${{ matrix.target }}${{ matrix.asset_extension }}
asset_name: Taline${{ matrix.target }}${{ matrix.asset_extension }}
asset_content_type: ${{ matrix.asset_content_type }}
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<a href="https://www.producthunt.com/products/eyescare?utm_source=badge-follow&utm_medium=badge&utm_souce=badge-eyescare" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/follow.svg?product_id=779582&theme=light" alt="EyesCare - Health&#0032;&#0038;&#0032;Fitness&#0044;&#0032;Productivity&#0032; | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
# Eyes Care Desktop App
<a href="https://www.producthunt.com/products/eyescare?utm_source=badge-follow&utm_medium=badge&utm_souce=badge-eyescare" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/follow.svg?product_id=779582&theme=light" alt="Taline - Health&#0032;&#0038;&#0032;Fitness&#0044;&#0032;Productivity&#0032; | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
# Taline Desktop App

Eyes Care is a desktop application built with Flutter, designed to help users maintain healthy eyes by following the 20-20-20 rule. The app reminds users to take regular breaks and rest their eyes to reduce eye strain and prevent digital eye fatigue.
Taline is a desktop application built with Flutter, designed to help users maintain healthy eyes by following the 20-20-20 rule. The app reminds users to take regular breaks and rest their eyes to reduce eye strain and prevent digital eye fatigue.

## Screenshots

Expand All @@ -11,7 +11,7 @@ Eyes Care is a desktop application built with Flutter, designed to help users ma
</div>

## Support
<a href="https://github.com/bixat/eyes_care/releases/latest/download/EyesCaremacOS.dmg"><img src="https://img.shields.io/badge/mac%20os-000000?style=for-the-badge&logo=macos&logoColor=F0F0F0" height=25></a><a href="https://github.com/bixat/eyes_care/releases/latest/download/EyesCareWindows.zip"><img src="https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white" height=25></a><a href="https://github.com/bixat/eyes_care/releases/latest/download/EyesCareLinux.tar.gz"><img src="https://img.shields.io/badge/Linux-FCC624?style=for-the-badge&logo=linux&logoColor=black" height=25></a>
<a href="https://github.com/bixat/eyes_care/releases/latest/download/TalinemacOS.dmg"><img src="https://img.shields.io/badge/mac%20os-000000?style=for-the-badge&logo=macos&logoColor=F0F0F0" height=25></a><a href="https://github.com/bixat/eyes_care/releases/latest/download/TalineWindows.zip"><img src="https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white" height=25></a><a href="https://github.com/bixat/eyes_care/releases/latest/download/TalineLinux.tar.gz"><img src="https://img.shields.io/badge/Linux-FCC624?style=for-the-badge&logo=linux&logoColor=black" height=25></a>



Expand All @@ -29,6 +29,8 @@ Eyes Care is a desktop application built with Flutter, designed to help users ma
- **Customizable Reminder:** Set personalized reminders to take breaks and rest your eyes based on your preferences, with options to follow the 20-20-20 rule or a custom time interval.
- **Countdown Timer:** Monitor the time remaining until your next scheduled eye break, with a fully adjustable countdown timer feature to suit your needs.
- **Notifications:** Get customizable desktop notifications or alerts to remind you when it's time for your next eye break with options for forcing take break mode.
- **Multi-language Support:** Available in multiple languages including English, Arabic, Spanish, French, German, Portuguese, Russian, Chinese, Japanese, Hindi, and Turkish.
- **Startup at Login:** Control whether Taline launches automatically when you log in to your computer.

## Coming soon

Expand All @@ -44,13 +46,13 @@ Eyes Care is a desktop application built with Flutter, designed to help users ma

## Usage

1. Launch the Eyes Care app on your desktop.
1. Launch the Taline app on your desktop.
2. Start using the app, and it will notify you when it's time to take a break.
4. During each break, follow the 20-20-20 rule by looking at an object 20 feet away for 20 seconds.

## Contributing

We welcome contributions from the community to enhance the Eyes Care app. To contribute, please follow these steps:
We welcome contributions from the community to enhance the Taline app. To contribute, please follow these steps:

1. Fork the repository.
2. Create a new branch: `git checkout -b feature/your-feature-name`
Expand All @@ -66,7 +68,7 @@ We welcome contributions from the community to enhance the Eyes Care app. To con

- [rocket_timer](https://pub.dev/packages/rocket_timer)

Special thanks to these amazing projects from [LeanFlutter](https://github.com/leanflutter) which help power CareEyes:
Special thanks to these amazing projects from [LeanFlutter](https://github.com/leanflutter) which help power Taline:

- [local_notifier](https://pub.dev/packages/local_notifier)
- [window_manager](https://pub.dev/packages/window_manager)
Expand Down
2 changes: 1 addition & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application
android:label="eyes_care"
android:label="Taline"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
<activity
Expand Down
4 changes: 2 additions & 2 deletions installer/dmg_creator/config.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"title": "Eyes Care",
"title": "Taline",
"contents": [
{ "x": 448, "y": 344, "type": "link", "path": "/Applications" },
{
"x": 192,
"y": 344,
"type": "file",
"path": "../../build/macos/Build/Products/Release/Eyes Care.app"
"path": "../../build/macos/Build/Products/Release/Taline.app"
}
]
}
2 changes: 1 addition & 1 deletion ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>Keep Your Eyes</string>
<string>Taline</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
Expand Down
2 changes: 1 addition & 1 deletion lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"@@locale": "en",
"appTitle": "Eyes Care",
"appTitle": "Taline",
"forceMode": "Force Mode",
"forceModeSubtitle": "Prevent window minimization during breaks",
"startupAtLogin": "Startup at Login",
Expand Down
2 changes: 1 addition & 1 deletion lib/l10n/app_localizations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ abstract class AppLocalizations {
/// No description provided for @appTitle.
///
/// In en, this message translates to:
/// **'Eyes Care'**
/// **'Taline'**
String get appTitle;

/// No description provided for @forceMode.
Expand Down
2 changes: 1 addition & 1 deletion lib/l10n/app_localizations_en.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class AppLocalizationsEn extends AppLocalizations {
AppLocalizationsEn([String locale = 'en']) : super(locale);

@override
String get appTitle => 'Eyes Care';
String get appTitle => 'Taline';

@override
String get forceMode => 'Force Mode';
Expand Down
2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class CareYourEyes extends StatelessWidget {
const secondaryColor = Color(0xFF32CD32);

return MaterialApp(
title: 'Eyes Care',
title: 'Taline',
debugShowCheckedModeBanner: false,
locale: localeValue,
localizationsDelegates: const [
Expand Down
5 changes: 3 additions & 2 deletions lib/widgets/settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ class Settings extends StatelessWidget {
final Function(int, int) onConfirm;

const Settings({
Key? key,
super.key,
required this.reminder,
required this.breakTime,
required this.forceModeEnabled,
required this.onConfirm,
required this.startUpModeEnabled,
}) : super(key: key);
});

@override
Widget build(BuildContext context) {
Expand Down Expand Up @@ -244,6 +244,7 @@ class Settings extends StatelessWidget {
PreferenceService.setLanguage(lang['code']!);
Navigator.pop(context);
},

borderRadius: BorderRadius.circular(12),
child: Container(
decoration: BoxDecoration(
Expand Down
2 changes: 1 addition & 1 deletion macos/Runner/Configs/AppInfo.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// 'flutter create' template.

// The application's name. By default this is also the title of the Flutter window.
PRODUCT_NAME = Eyes Care
PRODUCT_NAME = Taline

// The application's bundle identifier
PRODUCT_BUNDLE_IDENTIFIER = com.example.keepYourEyes
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 2.0.3
version: 2.0.4

environment:
sdk: '>=3.7.0 <4.0.0'
Expand Down
Loading