{"id":15176744,"url":"https://github.com/pcouy/jekyll-chatgpt","last_synced_at":"2026-03-01T13:35:51.078Z","repository":{"id":152428888,"uuid":"626007982","full_name":"pcouy/jekyll-chatgpt","owner":"pcouy","description":"Display and navigate branching ChatGPT conversations in your Jekyll website","archived":false,"fork":false,"pushed_at":"2023-04-21T13:22:09.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-10T02:17:18.302Z","etag":null,"topics":["chatgpt","jekyll"],"latest_commit_sha":null,"homepage":"http://pierre-couy.dev/jekyll-chatgpt/","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/pcouy.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-10T15:45:45.000Z","updated_at":"2023-04-10T15:56:05.000Z","dependencies_parsed_at":"2024-11-09T06:44:19.630Z","dependency_job_id":"f7acd58a-6856-4335-9602-0061cd5bfc31","html_url":"https://github.com/pcouy/jekyll-chatgpt","commit_stats":{"total_commits":15,"total_committers":1,"mean_commits":15.0,"dds":0.0,"last_synced_commit":"0519af0be9b2fc756ac9cd7eb4159480b197fcc9"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/pcouy/jekyll-chatgpt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcouy%2Fjekyll-chatgpt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcouy%2Fjekyll-chatgpt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcouy%2Fjekyll-chatgpt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcouy%2Fjekyll-chatgpt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pcouy","download_url":"https://codeload.github.com/pcouy/jekyll-chatgpt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcouy%2Fjekyll-chatgpt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29970516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T13:32:00.443Z","status":"ssl_error","status_checked_at":"2026-03-01T13:32:00.084Z","response_time":124,"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":["chatgpt","jekyll"],"created_at":"2024-09-27T13:41:31.258Z","updated_at":"2026-03-01T13:35:51.043Z","avatar_url":"https://github.com/pcouy.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JekyllChatgpt\n\nThis plugin inctroduces a `chatgpt` Liquid filter that formats ChatGPT conversations. It mostly uses CSS to navigate in branching conversations (except for links to specific messages inside a conversation, see \"Usage\" below). A [live demo of deploying the demo branch of this repository to Github pages is available](https://pierre-couy.dev/jekyll-chatgpt) ([code](https://github.com/pcouy/jekyll-chatgpt/tree/demo))\n\n## Installation\n\nInstall the gem and add to the application's Gemfile by executing:\n\n    $ bundle add jekyll-chatgpt\n\nIf bundler is not being used to manage dependencies, install the gem by executing:\n\n    $ gem install jekyll-chatgpt\n\nAfter installing, don't forget to update your `_config.yml` to include the plugin :\n\n```yaml\nplugins:   [other-plugins, jekyll-picture-tag-ng]\n```\n\nOptionally, include a stylesheet for code syntax highlighting in ChatGPT output. If you already have a code highlighting theme set up for your site, it should automatically be used.\n\n## Usage\n\n### Including a conversation\n\n1. Download a conversation from [your ChatGPT history](https://chat.openai.com/). When on the ChatGPT web page, open your browser dev-tools (usually using F12) and go to the \"Network\" tab. Now, pick a conversation in the web-app. The URL in your browser should now look like `chat.openapi.com/chat/{some-random-looking-id}`. In the network tab of the developer tools, find the request to `{some-random-looking-id}` and right-click on it and pick \"Copy \u003e Copy response\". You can now paste what you just copied into a JSON file inside your `_data` folder (for instance, `_data/chatgpt/test_conversation.json`).\n2. You can now use `{{ site.data.chatgpt['test_conversation'] | chatgpt }}` anywhere in your liquid-rendered content to include the conversation in your website. This will render markdown in messages by default. You can disable markdown rendering by passing the `false` argument to the filter : `{{ site.data.chatgpt['test_conversation'] | chatgpt: false }}`.\n3. You will be able to link to specific messages in conversations by using the `chatgpt_message_lagel` tag in the following way : `{% chatgpt_message_label [MESSAGE_ID] in [CONVERSATION] %}[LABEL_TEXT]{% endchatgpt_message_label %}` where `[MESSAGE_ID]` is the start of a message id ; `[CONVERSATION]` is the variable representing a conversation ; `[LABEL_TEXT]` is the displayed link text. Here is an example from [the demo page](https://pierre-couy.dev/jekyll-chatgpt) : `{% chatgpt_message_label 55bb5 in site.data.chatgpt[\"date\"] %}a message{% endchatgpt_message_label %}`. This functionality uses Javascript, if you want to use it you must add the following tag to your `\u003chead\u003e` : `\u003cscript defer src=\"/chatgpt_message_label.js\"\u003e\u003c/script\u003e` (the JS file is automatically written to your website's output directory)\n\n### Customizing the colors\n\nThe necessary styles will automatically be inlined when using the filter. You can override the default colors by providing the following variables in your `_sass/_colors.sass` file : `$color1`, `$color1-alt`, `$color2`, `$color2-alt`, `$cyan`\n\n### Customizing the SASS/CSS\n\nYou can put your custom SASS inside `_sass/_chatgpt_custom.sass`. If the file exists, it will be imported and the properties set in your custom stylesheet will take precedence by using [CSS layers](https://developer.mozilla.org/en-US/docs/Web/CSS/@layer). The demo uses this to add rounded borders to the controls.\n\n### Live demo\n\nYou can browse the [code for the live demo](https://github.com/pcouy/jekyll-chatgpt/tree/demo) which is intended to be a minimal example of using the plugin.\n\n## Development\n\nAfter cloning the repo, you can run the following commands in a local jekyll website's folder to start hacking on the code of `jekyll-chatgpt` (you'll need to replace the path in the second command :\n\n    $ bundle remove jekyll-chatgpt # if you previously used jekyll-chatgpt from rubygems\n    $ bundle add --path /absolute/or/relative/path/to/your/local/jekyll-chatgpt/repo jekyll-chatgpt\n    $ bundle exec jekyll serve # Re-run this when you want to test changes to your local jekyll-chatgpt\n\nTo release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/pcouy/jekyll-chatgpt.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcouy%2Fjekyll-chatgpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpcouy%2Fjekyll-chatgpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcouy%2Fjekyll-chatgpt/lists"}