{"id":28376863,"url":"https://github.com/w-vi/apib-mode","last_synced_at":"2026-01-28T14:32:56.384Z","repository":{"id":73245415,"uuid":"56804395","full_name":"w-vi/apib-mode","owner":"w-vi","description":"Emacs API Blueprint major mode","archived":false,"fork":false,"pushed_at":"2020-01-01T10:19:47.000Z","size":34,"stargazers_count":44,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-26T14:50:21.534Z","etag":null,"topics":["api-blueprint","emacs-mode"],"latest_commit_sha":null,"homepage":null,"language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/w-vi.png","metadata":{"files":{"readme":"README.org","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,"zenodo":null}},"created_at":"2016-04-21T20:42:20.000Z","updated_at":"2020-01-20T10:40:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"2e0e08d1-a423-40d3-9af5-1841bb107c5e","html_url":"https://github.com/w-vi/apib-mode","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/w-vi/apib-mode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w-vi%2Fapib-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w-vi%2Fapib-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w-vi%2Fapib-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w-vi%2Fapib-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/w-vi","download_url":"https://codeload.github.com/w-vi/apib-mode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w-vi%2Fapib-mode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28846058,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T13:02:32.985Z","status":"ssl_error","status_checked_at":"2026-01-28T13:02:04.945Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api-blueprint","emacs-mode"],"created_at":"2025-05-30T00:08:07.089Z","updated_at":"2026-01-28T14:32:56.367Z","avatar_url":"https://github.com/w-vi.png","language":"Emacs Lisp","funding_links":[],"categories":["Emacs Lisp"],"sub_categories":[],"readme":"* API Blueprint Emacs major mode\n\n[[https://travis-ci.org/w-vi/apib-mode][https://travis-ci.org/w-vi/apib-mode.svg?branch=master]] [[https://melpa.org/#/apib-mode][file:https://melpa.org/packages/apib-mode-badge.svg]]\n\n/This should one day be a full fledged Emacs major mode for editing API\nBlueprint./\n\n~apib-mode~ is a major mode for editing API Blueprint in Emacs. It\nis derived from markdown mode as API Blueprint is a special case of\nmarkdown. It adds couple of useful things when working with API\nBlueprint like getting parsing the API Blueprint and validating it.\nFor this to work though you need to install the drafter executable\nfirst, please see [[https://github.com/apiaryio/drafter][drafter]] for more information.\n\n*Current status*:\n\n- Extra highlighting\n- Parse and validation functions\n- Functions to extract JSON and JSON Schema from the API Blueprint\n- Some convenience functions for hooks\n- Tested on Emacs 24, 25 and 26\n\n\n** Installation\n\n~apib-mode~ is available on [[https://melpa.org/][Melpa]]:\n\n~M-x package-install apib-mode~\n\nor just download it and put somewhere in your load path.\n\n\n#+BEGIN_SRC elisp\n(autoload 'apib-mode \"apib-mode\"\n        \"Major mode for editing API Blueprint files\" t)\n(add-to-list 'auto-mode-alist '(\"\\\\.apib\\\\'\" . apib-mode))\n#+END_SRC\n\n\n** Usage\n\nIt has all the features of markdown mode. Visit [[http://jblevins.org/projects/markdown-mode/][markdown-mode]] to see\nthe details. To validate your API Blueprint or see the parse result\njust C-c C-x v or C-c C-x p respectively.  It also provides some\nconvenience functions: ~apib-valid-p()~ which can\nbe used in a hook for example, ~apib-get-json()~ and\n~apib-get-json-schema()~ to get all json or json schema assets in\nbuffer called ~*apib-assets*~.\n\n*** Keybindings\n| Key       | Function             | Description                      |\n|-----------+----------------------+----------------------------------|\n| C-c C-x p | apib-parse           | Parse the API Blueprint          |\n| C-c C-x v | apib-validate        | Validate the API Blueprint       |\n| C-c C-x j | apib-get-json        | Print all generated JSON bodies  |\n| C-c C-x s | apib-get-json-schema | Print all generated JSON Schemas |\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw-vi%2Fapib-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fw-vi%2Fapib-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw-vi%2Fapib-mode/lists"}