{"action":"created","issue":{"url":"https://api.github.com/repos/CindyJS/CindyJS/issues/186","labels_url":"https://api.github.com/repos/CindyJS/CindyJS/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/CindyJS/CindyJS/issues/186/comments","events_url":"https://api.github.com/repos/CindyJS/CindyJS/issues/186/events","html_url":"https://github.com/CindyJS/CindyJS/issues/186","id":128491925,"number":186,"title":"Restructuring plugins","user":{"login":"kranich","id":7249754,"avatar_url":"https://avatars.githubusercontent.com/u/7249754?v=3","gravatar_id":"","url":"https://api.github.com/users/kranich","html_url":"https://github.com/kranich","followers_url":"https://api.github.com/users/kranich/followers","following_url":"https://api.github.com/users/kranich/following{/other_user}","gists_url":"https://api.github.com/users/kranich/gists{/gist_id}","starred_url":"https://api.github.com/users/kranich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kranich/subscriptions","organizations_url":"https://api.github.com/users/kranich/orgs","repos_url":"https://api.github.com/users/kranich/repos","events_url":"https://api.github.com/users/kranich/events{/privacy}","received_events_url":"https://api.github.com/users/kranich/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CindyJS/CindyJS/labels/discussion","name":"discussion","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-25T09:07:57Z","updated_at":"2016-01-25T09:42:31Z","closed_at":null,"body":"We currently have three plugins, namely `cindy3d`, `cindygl`, and `katex`.\r\n\r\nTheir sources reside in [src/js/](https://github.com/CindyJS/CindyJS/tree/master/src/js/) and  [src/str/](https://github.com/CindyJS/CindyJS/tree/master/src/str/).\r\n\r\nI think it would be cleaner to move plugins to a `plugins` directory at the root of the repository, with a subdirectory for every plugin.\r\n\r\nThis would also make it much easier to integrate plugins that are developed in a separate repository.\r\n\r\nWhat do you think?"},"comment":{"url":"https://api.github.com/repos/CindyJS/CindyJS/issues/comments/174451847","html_url":"https://github.com/CindyJS/CindyJS/issues/186#issuecomment-174451847","issue_url":"https://api.github.com/repos/CindyJS/CindyJS/issues/186","id":174451847,"user":{"login":"gagern","id":190759,"avatar_url":"https://avatars.githubusercontent.com/u/190759?v=3","gravatar_id":"","url":"https://api.github.com/users/gagern","html_url":"https://github.com/gagern","followers_url":"https://api.github.com/users/gagern/followers","following_url":"https://api.github.com/users/gagern/following{/other_user}","gists_url":"https://api.github.com/users/gagern/gists{/gist_id}","starred_url":"https://api.github.com/users/gagern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gagern/subscriptions","organizations_url":"https://api.github.com/users/gagern/orgs","repos_url":"https://api.github.com/users/gagern/repos","events_url":"https://api.github.com/users/gagern/events{/privacy}","received_events_url":"https://api.github.com/users/gagern/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T09:42:31Z","updated_at":"2016-01-25T09:42:31Z","body":":+1:\r\n\r\nAlthough we should also consider sharing files between plugins one way or another."}}