appwrite-ruby

Implements server-side Appwrite integrations in Ruby covering users, databases, storage, and functions.

Updated Jul 29, 2026
One-click install
npx skills add https://github.com/SMGolamAlif/Orbit --skill appwrite-ruby-smgolamalif
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: appwrite-ruby
Source: https://github.com/SMGolamAlif/Orbit/tree/main/.agents/skills/appwrite-ruby
Command: npx skills add https://github.com/SMGolamAlif/Orbit --skill appwrite-ruby-smgolamalif

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires appwrite.

What problem does it solve? Building server-side Ruby applications with Appwrite requires knowing the correct SDK patterns for authentication, database operations, file storage, and permissions, and mistakes like using deprecated classes or missing permission strings cause broken or insecure backends. ## Core Features & Use Cases - Full SDK Coverage: Provides working Ruby code for user management, TablesDB row CRUD, queries, file storage, teams, and serverless functions. - SSR Authentication: Implements admin and session client patterns for Rails and Sinatra, including email/password login and OAuth2 flows with secure cookie handling. - Permissions & Error Handling: Documents the Permission and Role helpers, common error codes, and pitfalls like forgetting permissions or granting write access to Role.any. - Use Case: You are building a Sinatra API backed by Appwrite and need to create tables with typed string columns, query rows with filters, and handle user login sessions securely. ## Quick Start Use the appwrite-ruby skill to set up an Appwrite client and create a table with rows in my Ruby application.

Frequently Asked Questions about appwrite-ruby

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use the Appwrite Ruby SDK for database operations?

Install the appwrite gem, configure a Client with endpoint, project ID, and API key, then use the TablesDB class for CRUD. Prefer keyword arguments and use Query helpers like Query.equal and Query.limit for filtering and pagination.

How do I implement Appwrite authentication in a Rails or Sinatra app?

Use two clients: an admin client with an API key to create sessions, and a per-request session client set with the session cookie. The cookie must be named a_session_<PROJECT_ID> with httponly, secure, and same_site strict flags.

Should I use Databases or TablesDB in the Appwrite Ruby SDK?

Use TablesDB for all new code since the Databases class is deprecated. Only use Databases if the existing codebase already relies on it or it is explicitly requested.

Why is my Appwrite row inaccessible after creating it?

Appwrite grants no access by default, so a row created without permissions is inaccessible to all users including the creator. Set permissions explicitly using Permission and Role helpers, or configure table-level permissions.

What string column types does Appwrite support for tables?

Appwrite supports varchar, text, mediumtext, and longtext. Varchar is stored inline and fully indexable up to 768 size, while text types are stored off-page with prefix-only indexing and do not count toward the 64 KB row limit.