Skip to content

Commit

Permalink
Inital commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ksokolovskyi committed Oct 24, 2023
0 parents commit 2bcf651
Show file tree
Hide file tree
Showing 919 changed files with 42,841 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/connection_repository.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: connection_repository

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
paths:
- "packages/connection_repository/**"
- ".github/workflows/connection_repository.yaml"
branches:
- main

jobs:
build:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/[email protected]
with:
dart_sdk: stable
working_directory: packages/connection_repository
20 changes: 20 additions & 0 deletions .github/workflows/control_repository.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: control_repository

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
paths:
- "packages/control_repository/**"
- ".github/workflows/control_repository.yaml"
branches:
- main

jobs:
build:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/[email protected]
with:
dart_sdk: stable
working_directory: packages/control_repository
9 changes: 9 additions & 0 deletions .github/workflows/gyver_lamp.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: gyver_lamp

on: [pull_request, push]

jobs:
build:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/[email protected]
with:
flutter_channel: stable
20 changes: 20 additions & 0 deletions .github/workflows/gyver_lamp_client.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: gyver_lamp_client

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
paths:
- "packages/gyver_lamp_client/**"
- ".github/workflows/gyver_lamp_client.yaml"
branches:
- main

jobs:
build:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/[email protected]
with:
dart_sdk: stable
working_directory: packages/gyver_lamp_client
20 changes: 20 additions & 0 deletions .github/workflows/gyver_lamp_effects.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: gyver_lamp_effects

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
paths:
- "packages/gyver_lamp_effects/**"
- ".github/workflows/gyver_lamp_effects.yaml"
branches:
- main

jobs:
build:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/[email protected]
with:
flutter_channel: stable
working_directory: packages/gyver_lamp_effects
20 changes: 20 additions & 0 deletions .github/workflows/gyver_lamp_icons.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: gyver_lamp_icons

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
paths:
- "packages/gyver_lamp_icons/**"
- ".github/workflows/gyver_lamp_icons.yaml"
branches:
- main

jobs:
build:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/[email protected]
with:
flutter_channel: stable
working_directory: packages/gyver_lamp_icons
20 changes: 20 additions & 0 deletions .github/workflows/gyver_lamp_ui.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: gyver_lamp_ui

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
paths:
- "packages/gyver_lamp_ui/**"
- ".github/workflows/gyver_lamp_ui.yaml"
branches:
- main

jobs:
build:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/[email protected]
with:
flutter_channel: stable
working_directory: packages/gyver_lamp_ui
20 changes: 20 additions & 0 deletions .github/workflows/settings_controller.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: settings_controller

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
paths:
- "packages/settings_controller/**"
- ".github/workflows/settings_controller.yaml"
branches:
- main

jobs:
build:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/[email protected]
with:
flutter_channel: stable
working_directory: packages/settings_controller
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/

# 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

# Test related
coverage

# Ignore golden tests failures
test/**/failures/**/*.*
36 changes: 36 additions & 0 deletions .metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# 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: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
channel: stable

project_type: app

# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
base_revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
- platform: android
create_revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
base_revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
- platform: ios
create_revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
base_revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
- platform: macos
create_revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
base_revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf

# 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 (c) 2023 Kostia Sokolovskyi

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.
62 changes: 62 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Gyver Lamp

<img src="./art/logo.png" width="256">

[![gyver_lamp][build_status_badge]][workflow_link]
![coverage][coverage_badge]
[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]
[![License: MIT][license_badge]][license_link]

A companion application for [GyverLamp][gyver_lamp_repo_link] build with [Flutter][flutter_link].

Huge thanks to [Iryna][dribbble_link] for the design and support ❤️

---

## Application Highlights ✨

### Animated splash screen made with [Rive][rive_link]

Thanks to [JcToon][rive_animation_link] for publishing the animation.

### Straightforward connection process and automatic reconnect

### Animated preview of all supported effects

### Intuitive controls with real-time preview

### Multi-language support

### Dark mode support

---

## Getting Started 🚀

This project contains 2 entry points:

- development
- production

To run the desired entry point either use the launch configuration in VSCode/Android Studio or use the following commands:

```sh
# Development
$ flutter run --target lib/main_development.dart

# Production
$ flutter run --target lib/main_production.dart
```

[workflow_link]: https://github.com/ksokolovskyi/gyver_lamp/actions/workflows/gyver_lamp.yaml
[build_status_badge]: https://github.com/ksokolovskyi/gyver_lamp/actions/workflows/gyver_lamp.yaml/badge.svg
[coverage_badge]: coverage_badge.svg
[very_good_analysis_badge]: https://img.shields.io/badge/style-very_good_analysis-B22C89.svg
[very_good_analysis_link]: https://pub.dev/packages/very_good_analysis
[license_badge]: https://img.shields.io/badge/license-MIT-blue.svg
[license_link]: https://opensource.org/licenses/MIT
[gyver_lamp_repo_link]: https://github.com/AlexGyver/GyverLamp
[flutter_link]: https://flutter.dev
[dribbble_link]: https://dribbble.com/ira_dehtiar
[rive_link]: https://rive.app/
[rive_animation_link]: https://rive.app/community/450-872-onoff-switch/
5 changes: 5 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
include: package:very_good_analysis/analysis_options.4.0.0.yaml

linter:
rules:
public_member_api_docs: false
13 changes: 13 additions & 0 deletions android/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
gradle-wrapper.jar
/.gradle
/captures/
/gradlew
/gradlew.bat
/local.properties
GeneratedPluginRegistrant.java

# Remember to never publicly share your keystore.
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
key.properties
**/*.keystore
**/*.jks
Loading

0 comments on commit 2bcf651

Please sign in to comment.