Skip to content

An actually good weather framework for jailbroken devices

License

Notifications You must be signed in to change notification settings

Luki120/Chrissa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chrissa

  • Straightforward weather framework built using Combine. It works by enabling location access on SpringBoard, therefore there's no need to open the weather app as the data refreshes instantly ™️

Usage

  • Compile the project, run make clean do & everything will be done automatically
  • Import Chrissa in your project import Chrissa
  • Add the framework to your Makefile TWEAK_EXTRA_FRAMEWORKS = Chrissa
  • Make Chrissa a dependency of your tweak in the control file Depends: me.luki.chrissa

Chrissa exposes two functions for you to use, the latter one is recommended only for objc compatibility. Check the examples to see how to use them & their documentation

public func fetchWeather<T: Codable>(expecting type: T.Type = Weather.self) throws -> AnyPublisher<T, Error>

@objc
public func fetchWeather(completion: @escaping (Weather, String) -> Void) throws

Socials

Contributing

  • Contributions are more than welcomed, but should follow this etiquette:

    • If you're a contributor with write access to this repository, you should NOT push to main branch, preferably push to a new one and then create the PR.
    • Keep commit titles short and then explain them in comments or preferably in the commit's description.
    • Push small commits (e.g if you changed 2 directories, commit one directory, then commit the other one and only THEN push)

LICENSE

Assets LICENSE

  • Under no means shall the visual assets of this repository – i.e., all photo-, picto-, icono-, and videographic material – (if any) be altered and/or redistributed for any independent commercial or non-commercial intent beyond its original function in this project. Permissible usage of such content is restricted solely to its express application in this repository and any forks that retain the material in its original, unaltered form only.

About

An actually good weather framework for jailbroken devices

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project