{"id":26334395,"url":"https://github.com/yanglang116/github_trending","last_synced_at":"2026-04-27T01:31:50.731Z","repository":{"id":223213298,"uuid":"759611120","full_name":"YangLang116/github_trending","owner":"YangLang116","description":"Trending repositories on GitHub today","archived":false,"fork":false,"pushed_at":"2024-08-25T02:34:37.000Z","size":1969,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-28T18:09:47.952Z","etag":null,"topics":["github","idea-plugin","trending"],"latest_commit_sha":null,"homepage":"https://plugins.jetbrains.com/plugin/23804-github-trending","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/YangLang116.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-02-19T01:41:52.000Z","updated_at":"2025-05-20T02:39:18.000Z","dependencies_parsed_at":"2024-08-25T03:41:49.325Z","dependency_job_id":null,"html_url":"https://github.com/YangLang116/github_trending","commit_stats":null,"previous_names":["yanglang116/github_trending"],"tags_count":0,"template":false,"template_full_name":"JetBrains/intellij-platform-plugin-template","purl":"pkg:github/YangLang116/github_trending","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YangLang116%2Fgithub_trending","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YangLang116%2Fgithub_trending/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YangLang116%2Fgithub_trending/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YangLang116%2Fgithub_trending/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YangLang116","download_url":"https://codeload.github.com/YangLang116/github_trending/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YangLang116%2Fgithub_trending/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32319559,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"ssl_error","status_checked_at":"2026-04-26T23:26:25.802Z","response_time":129,"last_error":"SSL_read: 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":["github","idea-plugin","trending"],"created_at":"2025-03-16T00:18:45.754Z","updated_at":"2026-04-27T01:31:50.703Z","avatar_url":"https://github.com/YangLang116.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- Plugin description --\u003e\nYou can browse and search Github Trending in Idea without opening a browser\n\u003c!-- Plugin description end --\u003e\n\n## ScreenShot\n![Display](https://github.com/YangLang116/github_trending/raw/main/screenshots/github-trending.png)\n\n---\n\n## 项目说明\n\n### 1、使用JSoup解析html\nJava对xml解析方式主流分为Dom、SAX、JDom、Dom4J，但是面对如下两种标签时，会出现xml解析失败：\n\n- 不存在闭合标签\n```html\n\u003cmeta charset=\"utf-8\"\u003e\n```\n\n- 属性不以key=value的形式出现\n```html\n\u003clink rel=\"preconnect\" href=\"https://github.githubassets.com\" crossorigin\u003e\n```\n\n### 2、使用Box.createVerticalBox代替JBList\n每个条目中的文案长度不一致，导致cell height不相同，由于JBList中的ListUI机制(BasicListUI#updateLayoutState)，无法保证JBList+JTextArea支持动态Item高度。\n\nJBList:\n```java\nJBList listView = new JBList\u003c\u003e();\n//设置单选\nlistView.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);\n//绑定数据源\nlistModel = new DefaultListModel\u003c\u003e();\nlistView.setModel(this.listModel);\n//设置UI样式\nlistView.setCellRenderer(new TrendingCellRender());\n//item 点击\nlistView.addListSelectionListener(e -\u003e {\n    int index = this.listView.getSelectedIndex();\n    ...\n});\n```\n\nBox:\n```java\nBox listView = Box.createVerticalBox();\nlistView.add(itemView);\n```\n\n### 3、文本内容多行显示\nJLabel 无法多行显示，了解 JLabel、JTextArea、JTextField、JEditorPane、JTextComponent 继承关系以及区别\n```java\nJTextArea descView = new JTextArea();\n//设置自动换行\ndescView.setLineWrap(true);\ndescView.setWrapStyleWord(true);\n//设置透明背景色\ndescView.setBackground(new Color(0, 0, 0, 0));\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanglang116%2Fgithub_trending","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyanglang116%2Fgithub_trending","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanglang116%2Fgithub_trending/lists"}