{"id":43786078,"url":"https://github.com/coditory/quark-context","last_synced_at":"2026-02-05T19:04:01.605Z","repository":{"id":57724206,"uuid":"324977817","full_name":"coditory/quark-context","owner":"coditory","description":"Coditory Quark Context is a lightweight and single purpose java library with IoC container","archived":false,"fork":false,"pushed_at":"2025-12-01T22:03:04.000Z","size":419,"stargazers_count":2,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-03T16:53:14.700Z","etag":null,"topics":["coditory-quark","dependency-injection","ioc-container"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coditory.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["coditory"]}},"created_at":"2020-12-28T10:13:33.000Z","updated_at":"2025-12-01T05:50:47.000Z","dependencies_parsed_at":"2024-02-19T21:29:03.279Z","dependency_job_id":"5c5c283d-e556-40dd-b646-11a248435635","html_url":"https://github.com/coditory/quark-context","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/coditory/quark-context","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coditory%2Fquark-context","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coditory%2Fquark-context/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coditory%2Fquark-context/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coditory%2Fquark-context/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coditory","download_url":"https://codeload.github.com/coditory/quark-context/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coditory%2Fquark-context/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29130113,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T18:55:47.139Z","status":"ssl_error","status_checked_at":"2026-02-05T18:55:04.010Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["coditory-quark","dependency-injection","ioc-container"],"created_at":"2026-02-05T19:04:01.541Z","updated_at":"2026-02-05T19:04:01.597Z","avatar_url":"https://github.com/coditory.png","language":"Java","readme":"# Quark Context\n[![Build](https://github.com/coditory/quark-context/actions/workflows/build.yml/badge.svg?query=branch%3Amain)](https://github.com/coditory/quark-context/actions/workflows/build.yml?query=branch%3Amain)\n[![Coverage](https://codecov.io/github/coditory/quark-context/branch/master/graph/badge.svg?token=4VK4CVJVSN)](https://codecov.io/github/coditory/quark-context)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.coditory.quark/quark-context/badge.svg)](https://mvnrepository.com/artifact/com.coditory.quark/quark-context)\n\n**🚧 This library as under heavy development until release of version `1.x.x` 🚧**\n\n\u003e Lightweight, single purpose, dependency injection java library. Similar to [IoC Container provided by Spring Framework](https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#beans) but lighter.\n\n- lightweight, exactly 3 minimalistic dependencies\n- single purpose, not part of a framework\n- provides both functional and annotation based API\n- has conditional bean registration mechanism\n- detects slow bean creation\n- provides [event bus](https://github.com/coditory/quark-eventbus) integration\n- public API annotated with `@NotNull` and `@Nullable` for better [kotlin integration](https://kotlinlang.org/docs/java-to-kotlin-nullability-guide.html#platform-types)\n\n## Installation\n\nAdd to your `build.gradle`:\n\n```gradle\ndependencies {\n    implementation \"com.coditory.quark:quark-context:$version\"\n}\n```\n\n## Loading application context\n\nWhen using annotations you could load context with a single line:\n\n```java\npublic class Application {\n    public static void main(String[] args) {\n        Context context = Context.scanPackage(Application.class);\n        MyBean myBean = context.get(MyBean.class);\n        // ...\n    }\n}\n```\n\nFor more complicated setups use context builder:\n\n```java\npublic class Application {\n    public static void main(String[] args) {\n        Context context = Context.builder()\n                .add(new MyBean())\n                .add(MyBean2.class, () -\u003e new MyBean2())\n                .add(MyBean3.class, (ctx) -\u003e new MyBean3(context.getBean(MyBean.class)))\n                .scanPackage(Application.class)\n                .build();\n        MyBean myBean = context.get(MyBean.class);\n        // ...\n    }\n}\n```\n","funding_links":["https://github.com/sponsors/coditory"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoditory%2Fquark-context","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoditory%2Fquark-context","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoditory%2Fquark-context/lists"}