{"id":16348417,"url":"https://github.com/devinus/crude","last_synced_at":"2026-07-14T08:02:14.027Z","repository":{"id":6184187,"uuid":"7414522","full_name":"devinus/crude","owner":"devinus","description":null,"archived":false,"fork":false,"pushed_at":"2013-03-01T16:28:06.000Z","size":112,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-01T09:04:56.993Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devinus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-01-02T22:32:41.000Z","updated_at":"2023-09-01T08:34:53.000Z","dependencies_parsed_at":"2022-09-09T05:20:36.574Z","dependency_job_id":null,"html_url":"https://github.com/devinus/crude","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devinus/crude","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinus%2Fcrude","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinus%2Fcrude/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinus%2Fcrude/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinus%2Fcrude/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devinus","download_url":"https://codeload.github.com/devinus/crude/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinus%2Fcrude/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35451878,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-14T02:00:06.603Z","response_time":114,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-11T00:51:52.290Z","updated_at":"2026-07-14T08:02:14.004Z","avatar_url":"https://github.com/devinus.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CRUDE (Create, Read, Update, Delete, Exists)\n\n```elixir\ndefpersistable Post do\n  fields [:id, :title, :body]\n\n  on_create :do_create\n  on_read :do_read\n  on_update :do_update\n  on_delete :do_delete\n\n  defp do_create(post) do\n    :ets.insert_new(:posts, post)\n  end\n\n  defp do_read(id) do\n    :ets.lookup(:posts, id)\n  end\n\n  defp do_update(post) do\n    :ets.insert(:posts, post)\n  end\n\n  defp do_delete(id) do\n    :ets.delete(:posts, id)\n  end\nend\n\npost = Post.new\npost = post.title(\"Kurt stinks\").body(\"No, really. He does.\")\npost.save\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevinus%2Fcrude","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevinus%2Fcrude","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevinus%2Fcrude/lists"}