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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Codebird – Edit any website right on the page and save changes to code

2 点作者 dvfurlong超过 4 年前

1 comment

dvfurlong超过 4 年前
I made Codebird because I was frustrated with having to make text changes on our website manually by editing code.<p>It&#x27;s a github app and browser extension that allows anyone in your team select and edit text, images and links right on your website or app.<p>Part of developing it was overcoming the challenging problem of taking some text on a page and a git repository and trying to figure out where in the repository that text is. This is easy if there&#x27;s exactly one match, but much harder when there are no exact matches or multiple. I solved no matches with a fuzzy search although I haven&#x27;t yet generally solved dynamic variables inside strings like `${num} Upvotes`. With multiple results I&#x27;m currently allowing the user to choose themselves and I will use that data to try to learn how a url and DOM and a codebase file interact. My goal is eventually solve this problem for any codebase with a likelihood of being right.