Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
krjw-eyev committed Sep 14, 2022
0 parents commit 7676027
Show file tree
Hide file tree
Showing 203 changed files with 8,880 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/github-actions-release-android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Release Android app

on:
# push:
# branches: [ main ]
# pull_request:
# branches: [ main ]

workflow_dispatch:

jobs:
build:
runs-on: macos-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.3.1'
channel: 'stable'
- run: flutter build apk --release
- run: flutter build appbundle --release

- name: Archive Release
uses: thedoctor0/zip-release@master
with:
type: 'zip'
filename: skyle_ik-android.zip
directory: build/app/outputs/apk/release

- name: Create Github Release
uses: ncipollo/release-action@v1
with:
artifacts: 'build/app/outputs/apk/release/skyle_ik-android.zip'
token: ${{ secrets.RELEASES_TOKEN }}
tag: '1.0.0'
commit: main
allowUpdates: true
39 changes: 39 additions & 0 deletions .github/workflows/github-actions-release-ios.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Release iPadOS app

on:
# push:
# branches: [ main ]
# pull_request:
# branches: [ main ]

workflow_dispatch:

jobs:
build:
runs-on: macos-latest

steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.3.1'
channel: 'stable'
architecture: x64
- run: flutter build ios --release --no-codesign
- run: mv build/ios/iphoneos/Runner.app build/ios/iphoneos/SkyleIK.app

- name: Archive Release
uses: thedoctor0/zip-release@master
with:
type: 'zip'
filename: skyle_ik-ios.zip
directory: build/ios/iphoneos

- name: Create Github Release
uses: ncipollo/release-action@v1
with:
artifacts: 'build/ios/iphoneos/skyle_ik-ios.zip'
token: ${{ secrets.RELEASES_TOKEN }}
tag: '1.0.0'
commit: main
allowUpdates: true
39 changes: 39 additions & 0 deletions .github/workflows/github-actions-release-linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Release linux app

on:
# push:
# branches: [ main ]
# pull_request:
# branches: [ main ]

workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.3.1'
channel: 'stable'
- name: Install dependencies
run: sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-0 libblkid1 liblzma5 libgtk-3-dev liblzma-dev
- run: flutter build linux --release

- name: Archive Release
uses: thedoctor0/zip-release@master
with:
type: 'zip'
filename: skyle_ik-linux.zip
directory: build/linux/x64/release/bundle/

- name: Create Github Release
uses: ncipollo/release-action@v1
with:
artifacts: 'build/linux/x64/release/bundle/skyle_ik-linux.zip'
token: ${{ secrets.RELEASES_TOKEN }}
tag: '1.0.0'
commit: main
allowUpdates: true
39 changes: 39 additions & 0 deletions .github/workflows/github-actions-release-macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Release macOS app

on:
# push:
# branches: [ main ]
# pull_request:
# branches: [ main ]

workflow_dispatch:

jobs:
build:
runs-on: macos-latest

steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.3.1'
channel: 'stable'
architecture: x64
- run: flutter build macos --release --split-debug-info=build/macos/Build/Products/debug-info

- name: Archive Release
uses: thedoctor0/zip-release@master
with:
type: 'zip'
filename: skyle_ik-macos.zip
directory: build/macos/Build/Products/Release/
exclusions: '*.framework/* device_info_plus_macos FlutterMacOS shared_preferences_macos *.dSYM *.swiftmodule windows_size .last_build_id'

- name: Create Github Release
uses: ncipollo/release-action@v1
with:
artifacts: 'build/macos/Build/Products/Release/skyle_ik-macos.zip'
token: ${{ secrets.RELEASES_TOKEN }}
tag: '1.0.0'
commit: main
allowUpdates: true
37 changes: 37 additions & 0 deletions .github/workflows/github-actions-release-windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Release Windows app

on:
# push:
# branches: [ main ]
# pull_request:
# branches: [ main ]

workflow_dispatch:

jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.3.1'
channel: 'stable'
- run: flutter build windows --release

- name: Archive Release
uses: thedoctor0/zip-release@master
with:
type: 'zip'
filename: skyle_ik-windows.zip
directory: build/windows/runner/Release

- name: Create Github Release
uses: ncipollo/release-action@v1
with:
artifacts: 'build/windows/runner/Release/skyle_ik-windows.zip'
token: ${{ secrets.RELEASES_TOKEN }}
tag: '1.0.0'
commit: main
allowUpdates: true
50 changes: 50 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/
migrate_working_dir/

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/

# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
.vscode/

# Flutter/Dart/Pub related
**/doc/api/
**/ios/Flutter/.last_build_id
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
/build/
/ios/build/

# Symbolication related
app.*.symbols

# Obfuscation related
app.*.map.json

# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release

*.ipa
*.dSYM.zip
**/report.xml
vendor
45 changes: 45 additions & 0 deletions .metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled.

version:
revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
channel: stable

project_type: app

# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
base_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
- platform: android
create_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
base_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
- platform: ios
create_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
base_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
- platform: linux
create_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
base_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
- platform: macos
create_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
base_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
- platform: web
create_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
base_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
- platform: windows
create_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
base_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543

# User provided section

# List of Local paths (relative to this file) that should be
# ignored by the migrate tool.
#
# Files that are not part of the templates will be ignored by default.
unmanaged_files:
- 'lib/main.dart'
- 'ios/Runner.xcodeproj/project.pbxproj'
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright © 2022 eyeV GmbH. All rights reserved.

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.
38 changes: 38 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<img src="assets/Skyle_X_App_Icon_Nice.svg" width="128"/>

# Skyle IK App

This is the official Skyle IK App for the Skyle Integration Kit by eyeV GmbH.

The Skyle Integration Kit is a remote eye-tracker which is available here: [https://eyev.de/sik](https://eyev.de/sik).

With Skyle IK you can create products which support eye-tracking. Skyle IK is specifically designed to be integrated with any programming language with the open sourced [gRPC protos](https://github.com/eyev-de/Skyle.proto).

The Skyle IK is written in flutter and is supported on any operating system. So is the [dart_skyle_api](https://github.com/eyev-de/dart_skyle_api) which is the official dart sdk for Skyle IK. We also offer a [C# .net sdk here](https://github.com/eyev-de/SkyleAPI.NET) and a [Swift sdk](https://github.com/eyev-de/skyle-swift-sdk).


### How to get the App

We distribute executables for macOS, Windows, Linux, Android and iOS under [releases](https://github.com/eyev-de/skyle_ik/releases) of this repository.

### Build or run from source

* Install [flutter](https://docs.flutter.dev/get-started/install)
* `git clone https://github.com/eyev-de/skyle_ik.git`
* `cd skyle_ik`
* `flutter pub get`
* `flutter run <windows|macos|linux|android|ios>`

Enjoy!

## Meta

Copyright © 2022 eyeV GmbH. All rights reserved.

Distributed under the MIT license. See [LICENSE](LICENSE) for more information.

Also see our other repositories [here](https://github.com/eyev-de).

## Support

If you bought the Skyle eye tracker and need support, please contact [email protected].
29 changes: 29 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This file configures the analyzer, which statically analyzes Dart code to
# check for errors, warnings, and lints.
#
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
# invoked from the command line by running `flutter analyze`.

# The following line activates a set of recommended lints for Flutter apps,
# packages, and plugins designed to encourage good coding practices.
include: package:flutter_lints/flutter.yaml

linter:
# The lint rules applied to this project can be customized in the
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
# included above or to enable additional rules. A list of all available lints
# and their documentation is published at
# https://dart-lang.github.io/linter/lints/index.html.
#
# Instead of disabling a lint rule for the entire project in the
# section below, it can also be suppressed for a single line of code
# or a specific dart file by using the `// ignore: name_of_lint` and
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
# producing the lint.
rules:
avoid_print: false # Uncomment to disable the `avoid_print` rule
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule

# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
Loading

0 comments on commit 7676027

Please sign in to comment.