GitHub Trends
10.1K subscribers
15.3K links
See what the GitHub community is most excited about today.

A bot automatically fetches new repositories from https://github.com/trending and sends them to the channel.

Author and maintainer: https://github.com/katursis
Download Telegram
#swift #database #database_observation #grdb #spm #sql #sql_builder #sqlite #sqlite_databases

GRDB is a Swift library that helps you interact with SQLite databases in a safe and efficient way. Here’s the key information GRDB allows you to save your application’s permanent data into SQLite databases.
- **SQL Generation** You can get notifications when database values are modified.
- **Robust Concurrency** GRDB helps you evolve the schema of your database as you ship new versions of your application.

### Installation
- You can install GRDB using the Swift Package Manager, CocoaPods, or Carthage (though Carthage is unsupported).

### Usage
- Open a database connection using `DatabaseQueue` or `DatabasePool`.
- Define your database schema and create tables.
- Use the `FetchableRecord`, `TableRecord`, and `PersistableRecord` protocols to define your record types.
- Fetch records using methods like `fetchCursor`, `fetchAll`, `fetchSet`, and `fetchOne`.
- Perform CRUD operations (Create, Read, Update, Delete) using methods like `insert`, `update`, `save`, and `delete`.

### Query Interface
- GRDB provides a query interface that lets you write pure Swift instead of SQL.
- You can filter, order, limit, and join records using chainable methods.
- It supports associations and joins.

### Records
- Records are your application objects that can initialize themselves from rows.
- You can define record types using protocols like `FetchableRecord`, `TableRecord`, and `PersistableRecord`.
- Records can be compared against other records or previous versions to avoid unnecessary updates.

### Error Handling
- GRDB throws `DatabaseError` and `RecordError` for various issues.
- It also uses fatal errors to indicate programmer errors or misuses.
- You can configure error logging and tracing to monitor database operations.

### Encryption
- GRDB supports encryption using SQLCipher.
- You can create or open an encrypted database by providing a passphrase.

### Backup and Interruption
- You can backup a database into another.
- The `interrupt` method can cause any pending database operation to abort.

### FAQ
- GRDB provides answers to common questions about opening connections, SQL queries, general usage, associations,

https://github.com/groue/GRDB.swift
#swift

This list offers a wide range of Black Friday deals on software, books, and courses for macOS and iOS users. You can save up to 50% or more on various tools and apps, including development software like Proxyman and RocketSim, productivity tools like BoltAI and DeskRest, video editing software like Darkroom, and graphic design tools like Affinity Photo. There are also deals on books about coding and app development, as well as courses on Linux, DevOps, and cybersecurity. Additionally, you can find discounts on business software, health and fitness apps, and finance trackers. These deals can help you save money while enhancing your productivity, creativity, and knowledge.

https://github.com/mRs-/Black-Friday-Deals
#swift #browser #firefox #ios_app #mozilla #swift

You can download Firefox and Focus browsers for your iPhone from the App Store. Firefox is a web browser that lets you surf the internet, while Focus is a privacy-focused browser that blocks ads and trackers. Both apps are made with the latest technology and are compatible with iOS 15.0 and above. By using these browsers, you get better privacy and a faster browsing experience. You can also help improve these apps by contributing to their open-source projects, reporting issues, or suggesting new features. This way, you help make the browsers better for everyone.

https://github.com/mozilla-mobile/firefox-ios
👍1
#swift #alamofire #carthage #certificate_pinning #cocoapods #httpurlresponse #networking #parameter_encoding #public_key_pinning #request #response #swift #swift_package_manager #urlrequest #urlsession #xcode

Alamofire is a powerful library for making HTTP requests in Swift. It makes networking easier with its simple and concise syntax. You can write complex requests with features like automatic retry, authentication, and response validation in just a few lines of code. Alamofire supports various platforms including iOS, macOS, tvOS, watchOS, and even Linux and Windows, though with some limitations on the latter. It also integrates well with tools like CocoaPods, Carthage, and the Swift Package Manager for easy installation. Using Alamofire helps you manage network requests efficiently and debug them easily, making your development process faster and more reliable.

https://github.com/Alamofire/Alamofire
#swift

GitHub Copilot for Xcode is a tool that helps you write code faster and smarter. It gives you coding suggestions as you type in Xcode. To use it, you need macOS 12+, Xcode 8+, and a GitHub Copilot subscription. You can install it using Homebrew or by downloading the DMG file. After installation, you need to give it some permissions and sign in with your GitHub account.

The benefit to you is that it makes coding easier and faster by providing helpful suggestions as you work, saving you time and effort.

https://github.com/github/CopilotForXcode
#swift #battery #bluetooth #clock #cpu #disk #fans #gpu #macos #menubar #monitor #network #sensors #stats #temperature

Stats is a tool that helps you monitor your macOS system from the menu bar. It shows you important information like CPU and GPU usage, memory and disk utilization, network activity, battery level, and more. You can install it manually or using Homebrew. Stats supports many languages and is efficient, though you can disable some modules to reduce energy impact. This tool is beneficial because it keeps you informed about your system's performance without needing to open multiple apps, helping you manage your computer better.

https://github.com/exelban/stats
#swift #hacktoberfest #ios #objective_c #productivity #scalability #swift #xcode

Tuist is a command line tool that helps manage and optimize large modular projects for Xcode. It generates and maintains project files, making it easier to work with complex projects. To use Tuist, you install it via `mise install tuist`, then initialize, customize, and generate your project with commands like `tuist init`, `tuist edit`, and `tuist generate`. This tool is open source, written in Swift, and supported by several companies and contributors. Using Tuist simplifies the process of managing Xcode projects, saving time and reducing complexity.

https://github.com/tuist/tuist
#swift #framework #http #http2 #server #server_side_swift #swift #vapor #web_framework

Vapor is a web framework for Swift that helps you build websites, APIs, and cloud projects easily. It has a simple and expressive way of coding, making it user-friendly. You can join a supportive community of developers on Discord to get help and share ideas. If you find any bugs or security issues, you can report them directly. Vapor also has sponsors and backers who support its development, ensuring it keeps improving. Using Vapor can save you time and effort in building your projects efficiently.

https://github.com/vapor/vapor
👎1
#swift #mlx

These examples help you use machine learning in Swift programming. You can train models, generate text and images, and analyze pictures using pre-made tools. For instance, you can download and train a model to recognize handwritten numbers or generate images from text prompts. These tools run on iOS, macOS, and other platforms, making it easy to integrate machine learning into your projects. By using these examples, you can quickly start working with advanced AI features without starting from scratch, saving you time and effort.

https://github.com/ml-explore/mlx-swift-examples
#go #apple #appstore #cli #command_line #command_line_tool #go #golang #golang_library #ios #ipa #itunes #macos #research #reverse_engineering #security #swift #tool

IPATool is a helpful tool that lets you search for iOS apps on the App Store and download their IPA files directly to your computer. It works on Windows, Linux, and macOS. To use it, you need an Apple ID. The tool allows you to authenticate with the App Store, search for apps, purchase licenses if needed, and download IPA files legally. This is useful for backing up apps or modifying them before installing them on your device. IPATool ensures that only purchased apps can be downloaded, making it a secure way to manage your iOS apps.

https://github.com/majd/ipatool
👍1
#swift #ai #aichat #chatbot #chatgpt #deepseek #deepseek_r1 #gemma #gemma3 #gguf #llama #llama3 #llm #macos #qwen #qwen2 #qwq #qwq_32b #rag #swift #swiftui

Sidekick is a local-first AI application for Macs that helps you find information from your files, folders, and websites without needing the internet. It's private, so your data stays secure on your device. You can ask questions like "Did the Aztecs use captured Spanish weapons?" and get answers with references. Sidekick also supports image generation, LaTeX rendering, and more. This makes it useful for research and work because it keeps your data safe and provides quick access to relevant information.

https://github.com/johnbean393/Sidekick
#swift

SwiftSyntax is a tool that helps developers work with Swift code by creating a tree-like structure called the SwiftSyntax tree. This tree represents the code in a way that keeps all the details of how it looks, not just what it means. It's useful for inspecting and changing code automatically, which can be helpful for tasks like making code more efficient or fixing errors. Using SwiftSyntax can make development faster and more efficient by allowing automation and analysis of code.

https://github.com/swiftlang/swift-syntax
#swift #i3 #i3wm #mac #macos #tiling #tiling_window_manager #window_manager

AeroSpace is a tiling window manager for macOS that helps organize windows in a grid, making all windows visible at once. It offers fast workspace switching without animations, which can be faster than macOS's native Spaces. AeroSpace uses its own workspaces instead of macOS Spaces, allowing for more efficient management. It supports multiple monitors and doesn't require disabling System Integrity Protection. Users can configure it using plain text files, making it friendly for advanced users and developers. This setup helps users work more efficiently by keeping everything organized and easily accessible.

https://github.com/nikitabobko/AeroSpace
#python #agent #ai_agent #apple #computer_use #cua #lume #macos #manus #operator #swift #virtualization #virtualization_framework

The information provided doesn't directly relate to Discord bots or their benefits. However, if we consider the broader context of automation and AI tools like those mentioned in the text, these technologies can enhance user experiences by automating tasks and providing interactive features. For example, AI agents can control virtual environments, which might be useful in various applications, including gaming or educational settings. This kind of automation can save time and increase efficiency, similar to how Discord bots automate tasks and engage communities[1][2].

https://github.com/trycua/cua
#typescript #android #appwrite #backend #backend_as_a_service #docker #firebase #flutter #hacktoberfest #hosting #ios #javascript #nextjs #react #react_native #reactnative #self_hosted #selfhosted #serverless #swift #web

Appwrite is a backend platform that helps you build web, mobile, and Flutter apps quickly and easily. It handles complex tasks like user authentication, database management, file storage, and more, so you don’t have to build these from scratch. Appwrite is open source, secure, and works with many programming languages and frameworks. You can use it in the cloud or host it yourself using Docker. The main benefit is that it saves you time and effort, letting you focus on creating great features for your app instead of worrying about backend setup and maintenance[3][5][1].

https://github.com/appwrite/appwrite
#swift #ci #cli #generator #specification #swift #xcode #xcodeproj #xcodeproject #yaml

XcodeGen is a Swift command-line tool that automatically creates your Xcode project based on your folder structure and a simple YAML or JSON configuration file. This means you don’t have to manually manage your Xcode project files, avoiding merge conflicts in Git and keeping your project files always in sync with your folders. It supports complex setups, multiple targets, build settings, and schemes, and works well with CI systems. Using XcodeGen saves you time, reduces errors, and makes collaboration easier by letting you generate and update projects on demand without opening Xcode manually. This helps you focus more on coding and less on project setup.

https://github.com/yonaskolb/XcodeGen
#swift

SwiftFormat is a tool that automatically formats Swift code to follow consistent style rules, making your code cleaner and easier to read. It works on macOS, Linux, and Windows, and can be used in many ways: as a command-line tool, an Xcode extension, a build phase, or a Git pre-commit hook. It fixes issues like spacing, redundant code, and style deviations without changing your code’s behavior. You can customize its rules and options via config files or command-line arguments. Using SwiftFormat saves time, avoids style arguments in teams, and helps maintain a professional, uniform codebase effortlessly.

https://github.com/nicklockwood/SwiftFormat
#swift

You can use a free, open-source BiliBili app demo made for Apple TV (tvOS) to watch videos, live streams, and see comments (barrage) on your TV. It supports features like QR code login, video casting, search, history, subtitles, HDR playback, and popular content lists. This demo is never officially sold or on app stores, so be careful of unauthorized paid versions. Using this demo lets you enjoy BiliBili content on a big screen with many useful functions, enhancing your viewing experience safely and without cost. You can get the latest version from its official GitHub releases.

https://github.com/yichengchen/ATV-Bilibili-demo
#swift #macos #macos_app #menu_bar #menubar #menubar_app #status_bar #statusbar #swift #swiftui #utility

Ice is a free, easy-to-use tool for macOS 14 and later that helps you hide and organize menu bar items to keep your screen clean and tidy. You can hide icons and reveal them by clicking, hovering, or scrolling, and it automatically hides them again to reduce clutter. It also lets you drag and drop items to arrange them, customize the menu bar’s look with colors and shapes, and use hotkeys to quickly show or hide sections. Ice launches at login and updates automatically, making your Mac’s menu bar simpler and more efficient without much setup time. This improves your workflow by reducing distractions and giving you quick access to the icons you need.

https://github.com/jordanbaird/Ice
2
#swift #macos #macos_app #swift

VoiceInk is a powerful voice-to-text app for macOS that transcribes your voice into text almost instantly. It uses local AI models, ensuring your data stays private and never leaves your device. This app supports over 100 languages and offers features like customizable shortcuts, a personal dictionary for custom terms, and smart modes for different writing styles. By using VoiceInk, you can type faster and more accurately, which is helpful for note-taking, content creation, and professional communication. It's especially beneficial for those who value privacy and need efficient voice-to-text functionality.

https://github.com/Beingpax/VoiceInk