Help me build a modern, real-time imageboard in Go + React

polaris · · 864 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>There&#39;s a lot I like about existing imageboards (4chan is the most famous and notorious) but I also feel like there&#39;s a few improvements that could be made. I&#39;ll just list a few examples below:</p> <p>1) little dots next to everyones names showing whether or not they are still on the website (grey=offline, green=online). this helps you know whether it&#39;s worth replying to someone.</p> <p>2) little notifications in the corner when someone replies to you, even if you&#39;ve navigated to a different thread or board.</p> <p>3) I would prefer the option of pseduonymity. ofcourse realnames/psuedonymity/anonymity all have their places but people invest more time and thought into quality posts when they can become cool and popular online as a result of their posting. so like 4chan I&#39;d like to give people the ability to register psuedonyms, but not force it! You can still be anonymous (and that&#39;s the default). You can also have multiple aliases because no one in /cooking/ needs to know that you browse /horseporn/ (Reddit would also benefit from this, I feel).</p> <p>I have already started building this more modern version.</p> <p><a href="http://github.com/cgarvie/dchan">http://github.com/cgarvie/dchan</a></p> <p><a href="http://recordit.co/lmRRQYR1yJ">http://recordit.co/lmRRQYR1yJ</a> &lt;-- footage of me testing the code already</p> <p>I am posting here to find people who are likeminded and have the skills needed (Go + React).</p> <p>Anyone interested?</p> <hr/>**评论:**<br/><br/>xargon7: <pre><p>Nice! It looks like you have made quite a bit of progress already, but if you are doing Go &amp; React you might be interested these two server-side rendering with go/react projects:</p> <ul> <li><a href="https://github.com/olebedev/go-starter-kit">olebedev/go-starter-kit</a></li> <li><a href="https://github.com/augustoroman/go-react-v8-ssr">augustoroman/go-react-v8-ssr</a></li> </ul> <hr/> <p>A few other suggestions:</p> <ul> <li>Use <a href="https://godoc.org/golang.org/x/tools/cmd/goimports">goimports</a> run every time you save instead of commenting out imports. Easier and faster.</li> <li>Minor suggestion: Consider using <a href="https://golang.org/pkg/encoding/json/#RawMessage">json.RawMessage</a> instead of interface{} / mapstructure for the data field in your message struct. This allows you to explicitly decode the json into a destination structure according to the message type (instead of re-converting it a second time via mapstructure).</li> </ul> <p>Anyways, looks like you&#39;re making great progress, good luck!</p></pre>koalalorenzo: <pre><p>Is it centralized or distributed/p2p?</p></pre>tscs37: <pre><p>Hi,</p> <p>I&#39;m currently working on the other end of the spectrum, a Image Booru based on Ember.js and Go, focusing on images instead of posts.</p> <p>Great to see there is more effort going into this, the existing software on both sides of the spectrum is either closed source or helplessly complicated to install and use.</p> <p>-.- probably the dustiest and legacy-est niche of software atm.</p> <p>I wish you good luck.</p></pre>gohacker: <pre><p>I&#39;m just going to leave this here:</p> <p><a href="https://github.com/postman0/govnaba" rel="nofollow">https://github.com/postman0/govnaba</a></p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

864 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传