{"id":19133423,"url":"https://github.com/glauth/glauth-postgres","last_synced_at":"2025-04-14T13:45:08.549Z","repository":{"id":118613429,"uuid":"553319444","full_name":"glauth/glauth-postgres","owner":"glauth","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-25T21:32:12.000Z","size":15,"stargazers_count":3,"open_issues_count":2,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-28T02:53:05.022Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/glauth.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-18T03:21:23.000Z","updated_at":"2025-03-14T09:01:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"e740c660-f974-44da-9f9a-1f523bc46cd0","html_url":"https://github.com/glauth/glauth-postgres","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glauth%2Fglauth-postgres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glauth%2Fglauth-postgres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glauth%2Fglauth-postgres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glauth%2Fglauth-postgres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/glauth","download_url":"https://codeload.github.com/glauth/glauth-postgres/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248890445,"owners_count":21178430,"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-11-09T06:22:26.446Z","updated_at":"2025-04-14T13:45:08.525Z","avatar_url":"https://github.com/glauth.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GLAuth Plugin\n\nThis is a GLAuth plugin; that is, a backend that are not compiled in GLAuth by default.\n\nTo quote 'Butonic' (Jörn Friedrich Dreyer):\n\n\u003e Just keep the 'lightweight' in mind.\n\nTo build either back-end, type\n```\nmake plugin_name\n```\nwhere 'name' is the plugin's name; so, for instance: `make plugin_sqlite`\n\nTo build back-ends for specific architectures, specify `PLUGIN_OS` and `PLUGIN_ARCH` --\n For instance, to build the sqlite plugin for the new Mac M1s:\n ```\nmake plugin_sqlite PLUGIN_OS=darwin PLUGIN_ARCH=arm64\n ```\n\n## Database Plugins\n\nTo use a database plugin, edit the configuration file (see pkg/plugins/sample-database.cfg) so that:\n\n```\n...\n[backend]\n  datastore = \"plugin\"\n  plugin = \"dynamic library you created using the previous 'make' command\"\n  database = \"database connection string\"\n...\n```\nso, let's say you built the 'sqlite' plugin, you would now specify its library: `database = sqlite.so`\n\n### SQLite, MySQL, Postgres\n\nTables:\n- users, ldapgroups are self-explanatory\n- includegroups store the 'includegroups' relationships\n- othergroups, on the other hand, are a comma-separated list found in the users table (performance)\n\nFor documentation on seeding your database schema, and more, please visit this page:\n\nhttps://glauth.github.io/docs/databases.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglauth%2Fglauth-postgres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglauth%2Fglauth-postgres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglauth%2Fglauth-postgres/lists"}