{"id":16573540,"url":"https://github.com/v2e4lisp/doterd","last_synced_at":"2025-08-20T16:11:59.931Z","repository":{"id":19350943,"uuid":"22590317","full_name":"v2e4lisp/doterd","owner":"v2e4lisp","description":"ruby dsl for ERD","archived":false,"fork":false,"pushed_at":"2014-08-18T16:24:56.000Z","size":260,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-16T16:57:35.932Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/v2e4lisp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-04T03:05:01.000Z","updated_at":"2014-08-05T13:51:43.000Z","dependencies_parsed_at":"2022-09-10T20:12:05.823Z","dependency_job_id":null,"html_url":"https://github.com/v2e4lisp/doterd","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v2e4lisp%2Fdoterd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v2e4lisp%2Fdoterd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v2e4lisp%2Fdoterd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v2e4lisp%2Fdoterd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/v2e4lisp","download_url":"https://codeload.github.com/v2e4lisp/doterd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242049069,"owners_count":20063503,"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-10-11T21:42:27.903Z","updated_at":"2025-03-05T15:22:22.618Z","avatar_url":"https://github.com/v2e4lisp.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Doterd\n\nruby dsl for erd\n\n## Installation\n\n[graphviz](http://www.graphviz.org/Download_macos.php) should be installed installed.\n\nAdd this line to your application's Gemfile:\n\n    gem 'doterd'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install doterd\n\n\n## Usage\n\nsee `examples/twitter.rb`\n\n```ruby\nrequire 'doterd'\n\nat_exit {\n  system(\"open twitter.dot.png\")\n}\n\ninclude Doterd::Autodraw\n\nconfig { |c|\n  c[:dot_filename] = './twitter.dot'\n}\n\ntable(:users) {\n  id\n  name\n  email\n\n  created_at\n  update_at\n}\n\ntable(:followings) {\n  id\n  follower_id\n  followee_id\n\n  deleted_at\n  created_at\n  updated_at\n}\n\ntable(:likes) {\n  id\n  tweet_id\n  like_by\n\n  created_at\n  udpated_at\n}\n\ntable(:retweets) {\n  id\n  tweet_id\n  retweet_by\n\n  created_at\n  udpated_at\n}\n\ntable(:tweets) {\n  id\n  user_id\n  image_id\n  text\n  geo String, \"some comment\"\n\n  created_at \"Time\", \"Comment\"\n  udpated_at\n}\n\n_N_N :users  , :followings\n_1_N :users  , :likes\n_1_N :users  , :tweets\n_1_N :users  , :retweets\n_1_N :tweets , :retweets\n_1_N :tweets , :likes\n```\n\n![twitter](examples/twitter.dot.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv2e4lisp%2Fdoterd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fv2e4lisp%2Fdoterd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv2e4lisp%2Fdoterd/lists"}