TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Goodreads for fanfiction built in Elixir/Phoenix

12 pointsby makeitreinover 6 years ago

2 comments

O1111OOOover 6 years ago
Surprised this didn&#x27;t make the front page. Very well implemented, quick access to the actual content (books), sourced from various sites, terrific filtering.<p>fyi: I know lots of folks love their dark theme. Sadly, I&#x27;m not one of them. When I look at a dark theme for too long and have to focus on brighter areas (room, another site, outdoors), I see terrible spots and after-images.<p>(posted the above in the suggestion area[0], afterwards it took me to a login page. Not sure if suggestion went through)<p>[0] <a href="https:&#x2F;&#x2F;ficdb.com&#x2F;suggestions" rel="nofollow">https:&#x2F;&#x2F;ficdb.com&#x2F;suggestions</a>
评论 #18668490 未加载
makeitreinover 6 years ago
Hey HN - here&#x27;s my side project from the past three months. I&#x27;m a closeted fanfic reader, and I wanted a better way of figuring out what fanfics are worth my time. Also, happily funemployed at the moment, so I wanted to stretch my coding brain and learn some Elixir&#x2F;Phoenix before it fully atrophied.<p>I&#x27;ve open sourced the code here: <a href="https:&#x2F;&#x2F;gitlab.com&#x2F;makeitrein&#x2F;ficdb_veil" rel="nofollow">https:&#x2F;&#x2F;gitlab.com&#x2F;makeitrein&#x2F;ficdb_veil</a><p>I decided to give Elixir&#x2F;Phoenix a go in building this - here are some thoughts...<p>- Pipe syntax and with macro makes for very grokable code... with macro especially is the cleanest pattern I&#x27;ve come across to date for handling the &quot;happy&quot; path with a clearly defined escape chute.<p>- <a href="https:&#x2F;&#x2F;unpoly.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;unpoly.com&#x2F;</a> was a great tool for speeding up my site by prefetching data on hover of any link and replacing only specific content on a page - highly recommended for making your Rails&#x2F;Phoneix app more SPA-like.<p>- Ecto is the one true ORM. Doesn&#x27;t try to redo SQL, lets you compose queries in an incredibly straightforward manner, and provides these things called changesets to help validate data and insert associations. Two thumbs up, addresses a lot of my problems with ActiveRecord and Node ORMs. Check out <a href="https:&#x2F;&#x2F;gitlab.com&#x2F;makeitrein&#x2F;ficdb_veil&#x2F;blob&#x2F;master&#x2F;lib&#x2F;ficdb&#x2F;directory&#x2F;fanfic.ex" rel="nofollow">https:&#x2F;&#x2F;gitlab.com&#x2F;makeitrein&#x2F;ficdb_veil&#x2F;blob&#x2F;master&#x2F;lib&#x2F;fic...</a> for an example of my fanfic schema + filtration queries<p>- I still have no idea how to use OTP&#x2F;GenServer - Phoenix is an abstraction above the Erlang fundamentals, and I feel like this will bite me down the line<p>- I used <a href="https:&#x2F;&#x2F;gigalixir.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;gigalixir.com&#x2F;</a> to handle deployments - it&#x27;s Heroku for Elixir... great service, but it does cost minimum $35&#x2F;month for a basic site, which is painful for a side project... if I knew more dev ops, I would try to wing this myself on AWS<p>- There&#x27;s this underlying tension of whether to switch out the front-end for React or not. Phoenix templates are super speedy and play nicely with the rest of the ecosystem, but parts of the code base have now turned into brittle Jquery soup. Don&#x27;t know how I&#x27;m going to handle this going forward.<p>- Elixir community is strong and welcoming, but library selection is still a fraction of the Javascript&#x2F;Rails community. That being said, the libraries are usually of a higher quality then what you&#x27;d expect.<p>---<p>Ficdb is nowhere close to world domination, but it&#x27;s cool to see 400+ users submit 800+ fanfics and leave just as many reviews in the last two weeks. I&#x27;d like to continue promoting this project on the side, see where it goes. Let me know what you think!
评论 #18661509 未加载