Git Product home page Git Product logo

gitstars's Introduction

简体中文 / English

Github Stars 存储库管理器

🎯 背景

Github 作为开发者的第一社交平台,拥有数不胜数的优秀开源项目,给工作和学习带来巨大方便,遇到自己需要或是喜爱的项目只需点击 Star 便可收入囊中。

Star is easy,可随着 Starred Repositories 增长,在需要使用到某个项目时难免记不清叫什么,而 Github 又只提供简单的搜索,找到目标 Starred Repository 竟也成了件小小的麻烦事。

所以拥有自己的 Github Stars Repositories Manager 也算是开发者的必备需求。

Gitstars 由此诞生 💡

👀 发现好项目:Gitstars Ranking(2023-09-09)

Gitstars Ranking:帮助你发现 Github Stars 数量排名前 100 的好项目,支持各种编程语言分类,每日更新。

🚀 快速找到自己 Star 的仓库:Your Stars

Your Stars:整理你的 Stars 仓库,根据 Topics 和 Language 进行分类,帮助你快速找到目标项目。

👻 其它特性

  • README.md 预览:无需跳转到 Github 查看 README.md,在 Gitstars 即可查看。
  • 链接直达:Github 仓库、项目 Webiste;

📖 说明

Topics:仓库的标签集

标签集由 Repository 作者定义,一般都是与 Repository 相关的关键词,大多以英文为主。

Language:仓库的主编程语言

Github 会统计分析 Repository 的文件,确定 Repository 的主编程语言。

🤖 Vercel 部署

WIKI Vercel 部署

gitstars's People

Contributors

cfour-hi avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

gitstars's Issues

能够提供一个按语言分类的默认管理方式

github的api会提供每一个仓库的language信息

  1. 可以将这个作为可选或者默认的tag导入
  2. 提供另外一个language的分类方式

以上两种方案我都可以接受,希望能择一采纳

在下现在有338个仓库加❤️,默认如果不按语言分类,貌似批量加tag也是一个烦人的工作

谢谢

体验与建议

首先感谢Monine做了这样的一个工具,处理了多客户端场景下面对众多github star项目的管理问题。

今天我查找了关于github star manager的工具,趁有时间记下一些反馈:
(1)我最渴望的新功能是,“与github无缝接合”地使用gitstars。
(2)但我并不了解Monine在gitstars的实现中设计了哪些详细的业务逻辑,因此恐怕不能提出更具体的建议了。
(3)新功能的需求来自github和gitstars的使用操作。gitstars上无法检索新项目,因为它们不在manager的范围内。因此我总是得进行两步操作:先在github上star或fork项目,然后切换到gitstars上给新项目添加标签。

另外,我发现在github中我的star为144,而在gitstars中显示我全部数目为142。但这个疑问我没有足够的时间去检查其中的差数是哪些项目。

代码重构

目前 Gitstars Vue 版本在数据结构设计上有一些问题,并且组件没有抽象出来,还有一些 bug 导致的历史原因,现在 Vue 版本的开发代码非常不优雅,看着很难受。

当初做 Gitstars 时非常简单,功能没有这么多,只是简单的管理仓库标签,随着 #3#6 的提出,让我有些纠结,到底要不要加入语言类别和仓库排序这两个功能,因为这两个功能在 Github 上本身是存在的。稍微纠结思考过后,我都还是选择把功能加上,因为 Gitstars 在基因上毕竟属于工具,工具就是为了方便使用者在做某件事操作更加简洁,这两个功能都能让使用者更加方便达到目的,那自然是要添加上去的。

功能的增加必然导致代码量和复杂度的增加,最初简单的数据结构设计缺陷也暴露出来,不使用 vuex 做全局状态管理单纯依靠 props$emit 必然不会抽象出太多组件层。单个组件内的代码量越来越多,逻辑也有些混杂不清,维护越来越麻烦,加上前段时间使用 React 也开发了一个练习版本,与之对比可以说是天壤之别。

这次过年放假,会把 Vue 开发版本代码进行重构,主要是加上 vuex 做全局状态管理,抽象出组件和逻辑。

使用 showdown 直接渲染 markdown 为 html

感谢作者写了这么好的项目,目前在用,但是在使用中发现通过 github api 拿到 README 的文件内容后,又通过调用 github api 进行了远程转换,于是搜寻了目前比较可靠的 markdown 转换库 showdown 进行了改良。

无法访问此网站, monine.github.io 拒绝了我们的连接请求。

大佬,您好:
在公司电脑上可以使用, 在家里电脑上打开 https://monine.github.io/gitstars/ ,提示:
无法访问此网站, monine.github.io 拒绝了我们的连接请求。

另外, 打开浏览器的书签 https://znlbwo.github.io/gitstars/, 提示:
无法访问此网站, znlbwo.github.io 拒绝了我们的连接请求。

github账号已登录,浏览器使用的是Proxy-SwitchyOmega 的直连模式,没有开启代理,系统ubuntu14.04。
公司电脑系统ubuntu16.04, 使用的chrome。

不知道如何解决这个问题,家里浏览器Chrome 版本 84.0.4147.89(正式版本) (64 位)

gitstar打开页面空白?

你好,之前一直在用这个,感觉不错,但是最近打开gitstar页面都是空白,请问出了什么问题吗?
还一个问题,这个是是放在你的博客二级目录下的,有什么方法可以自己搭建吗(避免以后想用的时候出不来页面)?必须用服务器之类的,还是可以静态网页托管?

多台电脑之间数据不同步

前提:公司和家里的电脑都第一次使用过 Gitstars 之后

在公司电脑上访问 Gitstars 修改标签管理数据,然后在家里电脑上访问 Gitstars 数据没有更新。

最后一步授权Github APP登录404

按教程做到最后一步部署的时候没有1.VITE_GITSTARS_CLIENT_ID 2.VITE_GITSTARS_CLIENT_SECRET选项,于是就直接点了deploy,最后访问网址点使用GitHub APP授权登陆时会404
image

当README.md不存在时

我认为弹出浮动框提示404 Not Found是不友好的:
1.它挡住了标签添加按钮数秒
2.README.md页面的加载齿轮仍在“转动”

我认为应该直接用404 Not Found页替代加载齿轮

English version

This project is interesting, but it can't be used my most people due to the lack of an English translation.

支持导入astral

我测过了,这段代码可以

const astralData={}
const tags = Object.keys(astralData).reduce((result, key) => {
    return [...result, ...astralData[key].tags.map(t => t)]
}, []).filter((value, index, self) =>{
    return self.findIndex(t=>t.name===value.name) === index;
})

const result = {
    lastModified: Date.now(),
    tags: Array.from(tags).map(tag => (
        {
            id: (new Date(tag.created_at)).getTime(),
            name: tag.name,
            repos: Object.entries(astralData).filter(([key, val]) => val.tags.some(t => t.name === tag.name)).map(([key, val]) => val.repo_id)
        }))
}


时间排序错误

选择时间排序,repositories 排序部分错误,主要位于早期 repository 部分。

为项目点赞👍

一直想做这样一个事情,但是一直没有动手去做,现在有人做来了,点赞👍

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.