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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Write the best headline for your content with this simple app

7 点作者 collypops超过 11 年前
This was inspired by Upworthy&#x27;s advice [0] that for you to discover the best headline for your content, you must force yourself to write 25 of them and the best will jump out at you.<p>So yeah, you can do this in a text editor, or a spreadsheet, or whatever, but I had a spare evening and I wanted to cut my teeth on Facebook&#x27;s React JS library. I picked a simple example and set to work. The end result is this little app. I like the idea of distraction-free writing, and a simple list-style app with no visual clutter seemed like a nice environment to write headlines.<p>I got a jump-start by looking at the React TodoMVC example [1], then creating a simple build process with grunt &amp; browserify (which I&#x27;ve now extracted into a starter project for others to use [2]). I have to say I really like React and a lot of the design decisions it&#x27;s made, although writing in the pseudo-JS syntax (JSX) took a little getting used to, but was made easier with a code highlighting plugin for Sublime.<p>Have a play, and let me know what you think!<p>http:&#x2F;&#x2F;colin-gourlay.com&#x2F;25headlines&#x2F;<p>[0]: http:&#x2F;&#x2F;www.slideshare.net&#x2F;Upworthy&#x2F;upworthy-10-ways-to-win-the-internets<p>[1]: http:&#x2F;&#x2F;todomvc.com&#x2F;labs&#x2F;architecture-examples&#x2F;react&#x2F;<p>[2]: https:&#x2F;&#x2F;github.com&#x2F;colingourlay&#x2F;grunt-init-browserify-react-stylus

3 条评论

justhw超过 11 年前
Nice work. I skimmed too quick and thought your app was going to provide me with 25 headlines when I paste a youtube link. Talk about a challenge.<p>You&#x27;ve got a really neat interface, I like it. I also read on Quora about upworthy&#x27;s headline generation process, it&#x27;s fascinating.
评论 #6883976 未加载
collypops超过 11 年前
Clickable link: <a href="http://colin-gourlay.com/25headlines/" rel="nofollow">http:&#x2F;&#x2F;colin-gourlay.com&#x2F;25headlines&#x2F;</a>
tchadwick超过 11 年前
Looks good to me! I went straight to the site without reading your post and was confused about what I was supposed to be doing, but I did come up with some some silly headlines.
评论 #6883923 未加载