{"id":22192574,"url":"https://github.com/3sidedcube/android-lightningcontent","last_synced_at":"2025-03-24T20:45:47.832Z","repository":{"id":21566232,"uuid":"24886042","full_name":"3sidedcube/Android-LightningContent","owner":"3sidedcube","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-09T10:17:27.000Z","size":1604,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-01-30T01:22:43.535Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/3sidedcube.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-10-07T10:32:46.000Z","updated_at":"2021-11-23T15:00:22.000Z","dependencies_parsed_at":"2024-12-02T12:40:02.925Z","dependency_job_id":null,"html_url":"https://github.com/3sidedcube/Android-LightningContent","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3sidedcube%2FAndroid-LightningContent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3sidedcube%2FAndroid-LightningContent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3sidedcube%2FAndroid-LightningContent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3sidedcube%2FAndroid-LightningContent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/3sidedcube","download_url":"https://codeload.github.com/3sidedcube/Android-LightningContent/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245351757,"owners_count":20601090,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-12-02T12:26:36.683Z","updated_at":"2025-03-24T20:45:47.813Z","avatar_url":"https://github.com/3sidedcube.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"#Storm Library - Module Content\n\nStorm is a collection of libraries that helps make mobile and desktop applications easy to create using a high quality WYSIACATWYG editor.\n\nThis module's purpose is to load pre-packed bundles from disk and deal with content/delta updates download.\n\n#Usage\n\n##Gradle\n\nSimply include the following for your gradle dependencies `com.3sidedcube.storm:content:0.5`.\n\n**Note** The versioning of the library will always be as follows:\n\n`Major version.Minor version.Bug fix`\n\nIt is safe to use `+` in part of of the `Bug fix` version, but do not trust it 100%. Always use a *specific* version to prevent regression errors.\n\n##Code\n\nIn your application singleton, add the following code\n\n```java\nContentSettings contentSettings = new ContentSettings.Builder(this)\n\t.appId(\"3SC_STORM-1-1\")\n\t.contentBaseUrl(\"http://storm.cubeapis.com/\")\n\t.contentVersion(\"latest\")\n\t.updateListener(new UpdateListener()\n\t{\n\t\t@Override public void onUpdateDownloaded()\n\t\t{\n\t\t\tDebug.out(\"Update downloaded!!!!\");\n\t\t}\n\t})\n\t.build();\n```\n\nYou can then check for updates by calling\n\n```java\n// Get the current bundle/delta's timestamp\nManifest manifest = ContentSettings.getInstance().getBundleBuilder().buildManifest(Uri.parse(\"cache://manifest.json\"));\nlong lastUpdate = 0;\n\nif (manifest != null)\n{\n\tlastUpdate = manifest.getTimestamp();\n}\n\n// Get updates since timestamp\nContentSettings.getInstance().getUpdateManager().checkForUpdates(lastUpdate);\n```\n\n#Documentation\n\nSee the [Javadoc](http://3sidedcube.github.io/Android-LightningContent/) for full in-depth code-level documentation\n\n#Contributors\n\n[Callum Taylor (9A8BAD)](http://keybase.io/scruffyfox), [Tim Mathews (5C4869)](https://keybase.io/timxyz), [Matt Allen (DB74F5)](https://keybase.io/mallen), [Alan Le Fournis (067EA0)](https://keybase.io/alan3sc)\n\n#License\n\nSee LICENSE.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3sidedcube%2Fandroid-lightningcontent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F3sidedcube%2Fandroid-lightningcontent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3sidedcube%2Fandroid-lightningcontent/lists"}