{"id":16880158,"url":"https://github.com/jgm/gitit2","last_synced_at":"2025-03-17T06:31:32.000Z","repository":{"id":3322562,"uuid":"4365722","full_name":"jgm/gitit2","owner":"jgm","description":"A reimplementation of gitit in Yesod","archived":false,"fork":false,"pushed_at":"2018-06-03T21:29:53.000Z","size":687,"stargazers_count":94,"open_issues_count":10,"forks_count":11,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-03-16T09:03:51.527Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jgm.png","metadata":{"files":{"readme":"README.markdown","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":"2012-05-18T04:26:12.000Z","updated_at":"2025-03-06T19:40:12.000Z","dependencies_parsed_at":"2022-08-26T22:50:31.227Z","dependency_job_id":null,"html_url":"https://github.com/jgm/gitit2","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/jgm%2Fgitit2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgm%2Fgitit2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgm%2Fgitit2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgm%2Fgitit2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jgm","download_url":"https://codeload.github.com/jgm/gitit2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243985902,"owners_count":20379223,"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-13T15:57:39.698Z","updated_at":"2025-03-17T06:31:30.972Z","avatar_url":"https://github.com/jgm.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"gitit2\n======\n\ngitit2 is a rewrite of [gitit] using the [Yesod] web framework.\nMy intention is that it will eventually replace gitit.\n\n[gitit]: http://gitit.net\n\nTo install:\n\n    cabal install\n\nIf you run gitit2 from the source directory, a default\n`wikidata` directory will be automatically created, based\non the settings in `settings.yaml`.  You will then be able\nto view your wiki at \u003chttp://localhost:3000\u003e.\n\nWhy a rewrite?\n--------------\n\nThe old code base was ugly, for a variety of reasons, including\nthe fact that it dates from an early phase in happstack's history\n(when many things that are easy now were hard) and an early phase\nin the author's Haskell experience.  Yesod provides abstractions,\nsuch as type safe routes, that make many of the ugly parts go away.\nThe new code base should be much smaller, easier to modify, and\neasier to be confident in.\n\ngitit2 is implemented as a Yesod subsite, making it trivial\nto embed a gitit wiki in a Yesod application.\n\nWhat is still missing?\n----------------------\n\nThe basic wiki functions have all been implemented. You can\ncreate, edit, and modify pages.  You can search, view\nhistory, and comment.  You can export in any format that\npandoc supports.\n\n* User login -- currently there is no access control.\n* Preview in edit.\n* Loading plugins (the plugin API works, but there is not\n  yet support for specifying plugins in the config file).\n* Page locking (no-delete, no-edit).\n* Command-line option to specify a config file.\n* Site initialization wizard.\n* Documentation.\n* Multiple options for treatment of math in HTML.\n* Configurable session timeout.\n* Option to show bird tracks in LHS.\n* Log level options.\n* Configurabel mime types file.\n* 'absolute-urls' option for wikilinks?\n* 'feed-refresh-time' option?\n* Option to disable PDF export?\n* Option for pandoc user data directory\n* Option to disable sanitization?\n* System for customizing CSS\n\n[Yesod]: http://www.yesodweb.com/\n\nHacking gitit2\n--------------\n\nHere are some notes for those who want to modify or\nadd to the code.\n\n* The library is in `Network/Gitit2.hs` and `Network/Gitit/*`.\n  It follows the typical layout of a Yesod application.\n* The executable, which uses the library, is in `src/gitit2.hs`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgm%2Fgitit2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjgm%2Fgitit2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgm%2Fgitit2/lists"}