Skip to content

AlexDesign420/SyntaxMacOs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Syntax Sync

A native macOS application that wraps the Syntax Institut learning platform in a desktop-friendly interface.

Built with SwiftUI and WKWebView, the app provides a native macOS experience — sidebar navigation, dashboard, modules, lessons and profile — while keeping the actual logged-in web session alive in the background.


Features

  • Native macOS UI — SwiftUI sidebar, dashboard, module and lesson views
  • Persistent Web Session — WKWebView maintains the real login session
  • Data Scraping & Sync — JavaScript extracts lesson, quiz and profile data from the web page
  • Offline Cache — Scraped data is stored locally as JSON and restored on app launch
  • Live Lessons & Zoom — Direct access to live classes and Zoom links
  • Progress Tracking — Continue where you left off across sessions

Architecture

SwiftUI App
    ├── Native Sidebar (Dashboard, Modules, Learn, Profile)
    └── WKWebView (persistent logged-in web session)
            └── JavaScript Bridge
                  ├── Read: lesson data, quiz data, profile info
                  └── Write: user actions back to the website

Data Flow:

  1. App starts → cached JSON data loads instantly
  2. WKWebView syncs with the live website in the background
  3. JavaScript scrapes updated data and writes it to syntax-state.json
  4. SwiftUI views reflect the latest data

Tech Stack

Component Technology
UI Framework SwiftUI
Navigation NavigationSplitView
Web Engine WKWebView
Data Bridge JavaScript ↔ Swift
Local Storage JSON file (syntax-state.json)
Platform macOS 14+

Getting Started

  1. Clone the repository on macOS.
  2. Open Syntax.xcodeproj in Xcode.
  3. Select the Syntax scheme and a macOS target.
  4. In Signing & Capabilities, select your Apple Developer team.
  5. Build and run — log in to your Syntax Institut account in the embedded browser.

Privacy & Security

  • This repository does not include any private personal data.
  • The app operates against the public Syntax Institut web platform.
  • Personal Xcode user data (xcuserdata) is excluded via .gitignore.

License

MIT — see LICENSE.

About

Native macOS wrapper for the Syntax Institut learning platform. SwiftUI, WKWebView, data scraping, offline JSON cache, live lessons.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages