{"id":24434111,"url":"https://github.com/tfwright/incite","last_synced_at":"2025-10-01T04:31:23.058Z","repository":{"id":460245,"uuid":"84413","full_name":"tfwright/incite","owner":"tfwright","description":"This repo has been abandoned in favor of http://github.com/inukshuk/bibtex-ruby","archived":false,"fork":false,"pushed_at":"2020-02-28T17:46:21.000Z","size":55,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-09T10:16:28.540Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/tfwright.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}},"created_at":"2008-12-03T16:39:16.000Z","updated_at":"2019-08-13T13:45:22.000Z","dependencies_parsed_at":"2022-07-07T23:19:36.944Z","dependency_job_id":null,"html_url":"https://github.com/tfwright/incite","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfwright%2Fincite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfwright%2Fincite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfwright%2Fincite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfwright%2Fincite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tfwright","download_url":"https://codeload.github.com/tfwright/incite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234823623,"owners_count":18892357,"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":"2025-01-20T16:54:09.941Z","updated_at":"2025-10-01T04:31:22.641Z","avatar_url":"https://github.com/tfwright.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overview [![Incite Build Status][Build Icon]][Build Status]\n\n[Build Status]: http://travis-ci.org/tfwright/incite\n[Build Icon]: https://secure.travis-ci.org/tfwright/incite.png?branch=master\n\nIncite is in alpha alpha stage.  It's useless, don't install it.\n\n# Installation\n\nIncite is available as a ruby gem.\n\n```ruby\ngem install incite\n```\n\n# Usage\n\n* Note: This syntax is very experimental, and will likely--no, definitely--change in a radical way (see overview).\n\nFirst you need to instantiate a source you want to cite:\n\n```ruby\nsource = Incite::Source.new\n# =\u003e #\u003cIncite::Source:0x8c5f0\u003e\n```\n\nConfigure the source with the bibliographical data.  The minimum required attributes are  title, author(s), publisher, and year. \n\n```ruby\nsource.authors = [\"Sam Dandy\"]\nsource.title = \"A Brief Flirtation\"\nsource.publisher = \"Rainbow Unicorn Press\"\nsource.year = 1985\n```\n\nYes, I just made all of that up.  I should have been a writer.  Now you can cite your source:\n\n```ruby\nsource.citation(:entry)\n# =\u003e \"Sam Dandy. \u003cem\u003eA Brief Flirtation\u003c/em\u003e. : Rainbow Unicorn Press, 1985.\"\n```\n\nIf you try to create a citation when this data is missing you'll get an error.\n\n```ruby\nsource.title = nil\n# =\u003e nil\nsource.citation(:entry)\n# =\u003e ArgumentError: Source lacks attributes required to construct citation\n```\n\nMost citations require more data, viz. page numbers.  \n\n# Other future plans\n\n* Integration with various bibliographies (Google Books, Amazon, \u0026c)\n* Citation text (for annotated notes/bibliographies)\n* Source types (book, article, chapter \u0026c)\n* Different type of formats (to_s, to_rtf, \u0026c)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftfwright%2Fincite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftfwright%2Fincite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftfwright%2Fincite/lists"}