diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..ec69cec --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,25 @@ +version: 2 +updates: + - package-ecosystem: "swift" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + open-pull-requests-limit: 5 + labels: + - "dependencies" + - "swift" + commit-message: + prefix: "chore(deps)" + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + open-pull-requests-limit: 5 + labels: + - "dependencies" + - "ci" + commit-message: + prefix: "chore(ci)" diff --git a/.gitignore b/.gitignore index b76958d..0d253c5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,71 +1,25 @@ -# Xcode -# -# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore +# macOS +.DS_Store -## User settings +# Xcode user data xcuserdata/ -## Obj-C/Swift specific +# Build artefacts *.hmap - -## App packaging *.ipa -*.dSYM.zip *.dSYM +*.dSYM.zip +DerivedData/ +build/ +.build/ -xcuserdata/ -xcshareddata/ - -.DS_Store +# Swift Package Manager +.swiftpm/ -## Playgrounds +# Playgrounds timeline.xctimeline playground.xcworkspace -# Swift Package Manager -# -# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. -# Packages/ -# Package.pins -# Package.resolved -# *.xcodeproj -# -# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata -# hence it is not needed unless you have added a package configuration file to your project -# .swiftpm - -.build/ - -# CocoaPods -# -# We recommend against adding the Pods directory to your .gitignore. However -# you should judge for yourself, the pros and cons are mentioned at: -# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control -# -# Pods/ -# -# Add this line if you want to avoid checking in source code from the Xcode workspace -# *.xcworkspace - -# Carthage -# -# Add this line if you want to avoid checking in source code from Carthage dependencies. -# Carthage/Checkouts - -Carthage/Build/ - -# fastlane -# -# It is recommended to not store the screenshots in the git repo. -# Instead, use fastlane to re-generate the screenshots whenever they are needed. -# For more information about the recommended setup visit: -# https://docs.fastlane.tools/best-practices/source-control/#source-control - -fastlane/report.xml -fastlane/Preview.html -fastlane/screenshots/**/*.png -fastlane/test_output - # Environment variables (never commit API keys) .env .env.local diff --git a/README.md b/README.md index d50847b..b7f7aac 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,12 @@ ![EchoIcon-256](https://github.com/user-attachments/assets/5ce1e09e-8413-48cb-a626-99b45dd18717) +[![Build](https://github.com/MacPaw/project-echo/actions/workflows/build.yml/badge.svg?branch=develop)](https://github.com/MacPaw/project-echo/actions/workflows/build.yml) +[![CodeQL](https://github.com/MacPaw/project-echo/actions/workflows/codeql.yml/badge.svg?branch=develop)](https://github.com/MacPaw/project-echo/actions/workflows/codeql.yml) +[![Swift 5.9+](https://img.shields.io/badge/Swift-5.9%2B-orange.svg)](https://swift.org) +[![Platform](https://img.shields.io/badge/platform-macOS%2014%2B-blue.svg)](https://www.apple.com/macos) +[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) + **Echo** is a macOS application that demonstrates how to interact with macOS applications using Accessibility and [OpenAI](https://openai.com) APIs. It allows users to send prompts to the frontmost application and receive responses, showcasing a functional chat-like interface. Screenshot 2024-11-18 at 2 58 45 PM