TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How do you find and evaluate open source modules for production use?

1 点作者 mxschumacher超过 5 年前
Some modules are well known and trusted (e.g. requests in Python, React in JS) and many components (Postgres, Redis, Sqlite) enjoy a good reputation, they are &quot;battled tested&quot; - but how about less well-known open source projects?<p>Short of studying the source code oneself, a lot of developers rely on Github stars, but that heuristic seems flawed.<p>How do you approach discovery and evaluation of open source modules and components for production use?

1 comment

gr__or超过 5 年前
1. Google for different keywords describing your use case. If you&#x27;ve exhausted Google, search your Lang&#x27;s package repository directly (Google tends to only show a couple results per page)<p>2. Is it solving your problem?<p>2. Check low resolution metrics like stars, open issues, size or recency of commits. Weigh that against your use case. For example if it&#x27;s a niche, stars matter less. If the requirements are well defined and in a slow moving space, recency matters less. Etc. If it&#x27;s doing something big and fundamental for you, make sure that it has enough contributors who are likely to not suddenly stop contributing (preferably businesses whose success is tied to it).<p>3. Read the docs, examples&#x2F;demos, tests etc. Find posts by people applying it for similar use cases. Does it solve your particular problem well (incidental vs inherent complexity)? Read through some of its GitHub issues to get a feel for the maturity, usability and support of the project.<p>4. Loop through those steps until you find something that holds up. If everything speaks for it except for longevity concerns start reading the code and consider whether you&#x27;d be able to contribute to it.