{"id":13534159,"url":"https://github.com/m1ga/ti.appwrite","last_synced_at":"2025-07-09T13:08:30.800Z","repository":{"id":80614862,"uuid":"412904097","full_name":"m1ga/ti.appwrite","owner":"m1ga","description":"Titanium Android module for Appwrite.io","archived":false,"fork":false,"pushed_at":"2022-05-19T11:52:32.000Z","size":87,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T21:09:48.315Z","etag":null,"topics":["android","appwrite","titanium","titanium-mobile","titanium-module"],"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/m1ga.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":"m1ga"}},"created_at":"2021-10-02T20:23:58.000Z","updated_at":"2024-04-26T18:18:59.000Z","dependencies_parsed_at":"2023-07-08T02:46:21.962Z","dependency_job_id":null,"html_url":"https://github.com/m1ga/ti.appwrite","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/m1ga/ti.appwrite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1ga%2Fti.appwrite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1ga%2Fti.appwrite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1ga%2Fti.appwrite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1ga%2Fti.appwrite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m1ga","download_url":"https://codeload.github.com/m1ga/ti.appwrite/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1ga%2Fti.appwrite/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264465845,"owners_count":23612580,"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":["android","appwrite","titanium","titanium-mobile","titanium-module"],"created_at":"2024-08-01T07:01:27.132Z","updated_at":"2025-07-09T13:08:30.782Z","avatar_url":"https://github.com/m1ga.png","language":"Java","readme":"# Titanium module for Appwrite\n\n\u003cimg src=\"images/screenshot.png\" alt=\"screenshot\"/\u003e\n\nTitanium Android module using [Appwrite's Android SDK](https://github.com/appwrite/sdk-for-android)\n\n## What is Appwrite:\n\n\u003e Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Android SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to https://appwrite.io/docs\n\n\n## Installation\n\n* create and run an Appwrite docker machine: https://appwrite.io/docs/installation\n* download `ti.appwrite` module\n* add `\u003cmodule\u003eti.appwrite\u003c/module\u003e` to your `tiapp.xml`\n* add the following section to your `\u003capplication\u003e` section:\n```xml\n\u003capplication\u003e\n\t\u003cactivity android:name=\"io.appwrite.views.CallbackActivity\" android:exported=\"true\"\u003e\n\t\t\u003cintent-filter android:label=\"android_web_auth\"\u003e\n\t\t\t\u003caction android:name=\"android.intent.action.VIEW\"/\u003e\n\t\t\t\u003ccategory android:name=\"android.intent.category.DEFAULT\"/\u003e\n\t\t\t\u003ccategory android:name=\"android.intent.category.BROWSABLE\"/\u003e\n\t\t\t\u003cdata android:scheme=\"appwrite-callback-[PROJECT_ID]\"/\u003e\n\t\t\u003c/intent-filter\u003e\n\t\u003c/activity\u003e\n\u003c/application\u003e\n```\n\n## Appwrite setup\n\nStart the docker machine and create a new project. Make sure to add an `Android platform` with your package name. Under `Settings` you will find the `Project ID`.\n\n## Titanium setup\n\n```js\nvar appwrite = require(\"ti.appwrite\");\nappwrite.create({\n\tendpoint: SERVER_URL,\n\tproject: PROJECT_ID,\n\tselfSigned: true,\n\tchannels: [\"files\", \"account\"]\n});\n```\nFull example: [app.js](example/app.js)\u003cbr/\u003e\nFull tutorial at: [from zero to app: Appwrite + Titanium: A step by step guide](https://fromzerotoapp.com/appwrite-appcelerator-titanium-a-step-by-step-guide/)\n\n## Methods\n\n* create()\n* checkConnection()\n\n* createAccount()\n* deleteAccount()\n* createSession()\n* getAccount()\n\n* getDocuments()\n* getDocument()\n* deleteDocument()\n* createDocument({})\n\n* subscribe([])\n* unsubscribe([])\n\n* createFile({file, read[], write[]})\n* listFiles();\n* getFile(id)\n* getPreview({id:string, width?:int, height?:int, quality?:int})\n* downloadFile(id)\n* deleteFile(id);\n\n## Events\n* account\n* error: action, message, code, response\n* realtimeEvent\n* database: e.documents for list\n* storage: e.blob for file download, e.files for file list\n* connection: status (true/false)\n\n## Author\n\n* Michael Gangolf (\u003ca href=\"https://github.com/m1ga\"\u003e@MichaelGangolf\u003c/a\u003e / \u003ca href=\"https://www.migaweb.de\"\u003eWeb\u003c/a\u003e)\n\n\u003cspan class=\"badge-buymeacoffee\"\u003e\u003ca href=\"https://www.buymeacoffee.com/miga\" title=\"donate\"\u003e\u003cimg src=\"https://img.shields.io/badge/buy%20me%20a%20coke-donate-orange.svg\" alt=\"Buy Me A Coke donate button\" /\u003e\u003c/a\u003e\u003c/span\u003e\n","funding_links":["https://github.com/sponsors/m1ga","https://www.buymeacoffee.com/miga"],"categories":["SDK"],"sub_categories":["Community-Built SDKs"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1ga%2Fti.appwrite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm1ga%2Fti.appwrite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1ga%2Fti.appwrite/lists"}