{"id":21344410,"url":"https://github.com/hirotoshioi/haskell-twitter-server","last_synced_at":"2025-08-24T22:49:27.091Z","repository":{"id":100159342,"uuid":"148111903","full_name":"HirotoShioi/haskell-twitter-server","owner":"HirotoShioi","description":"Twitter server written in Haskell","archived":false,"fork":false,"pushed_at":"2018-11-12T02:28:46.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-03-14T22:35:30.025Z","etag":null,"topics":["haskell","persistent","servant","server","twitter"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HirotoShioi.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-10T06:52:21.000Z","updated_at":"2018-09-26T03:01:15.000Z","dependencies_parsed_at":"2023-06-15T07:30:50.963Z","dependency_job_id":null,"html_url":"https://github.com/HirotoShioi/haskell-twitter-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HirotoShioi%2Fhaskell-twitter-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HirotoShioi%2Fhaskell-twitter-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HirotoShioi%2Fhaskell-twitter-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HirotoShioi%2Fhaskell-twitter-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HirotoShioi","download_url":"https://codeload.github.com/HirotoShioi/haskell-twitter-server/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243819307,"owners_count":20352867,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["haskell","persistent","servant","server","twitter"],"created_at":"2024-11-22T01:18:44.614Z","updated_at":"2025-03-16T03:21:30.200Z","avatar_url":"https://github.com/HirotoShioi.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# twitter-server in Haskell\n\nTwitter server written in Haskell. This is for studying purposes.\n\n## TODO\n\n- [x] Define Config datatype\n- [x] Define generator for initial db\n- [x] Define User datatype and utilize it\n- [x] Validation (Username length, tweet length, etc)\n- [x] Enforce UserName to only use latin-charcters\n- [x] Overall more data (User has only username)\n- [x] Follow tweet structure by mentions\n- [x] Sort tweet appropriately\n- [x] Use [lens](http://hackage.haskell.org/package/lens)\n- [x] Apply ReaderT Config on Servant handlers (Read [here](https://haskell-servant.readthedocs.io/en/stable/cookbook/using-custom-monad/UsingCustomMonad.html))\n- [x] Observe [this article](http://www.parsonsmatt.org/2016/07/08/servant-persistent_updated.html)\n- [x] Migrate to postgreSQL (Read [here](https://www.yesodweb.com/book/persistent#persistent_something_besides_sqlite))\n- [x] Use docker for postgresSQL\n- [x] Write down how to get started in [ScrapBox](https://scrapbox.io/haskell-twitter-server/)\n- [x] Add logging using RIO (Read [here](https://hackage.haskell.org/package/rio-0.0.3.0/docs/RIO-Prelude-Logger.html))\n- [ ] Implement CLI using attoparsec (Read [here](https://github.com/bos/attoparsec) [example](https://github.com/input-output-hk/log-classifier/blob/develop/src/CLI.hs))\n- [ ] Lookup Twitter API (Read [here](https://developer.twitter.com/))\n- [ ] Follow/Unfollow an User\n- [ ] Fetch mentioned tweets\n- [ ] Timeline API\n- [ ] Authentication (Read [here](https://haskell-servant.readthedocs.io/en/stable/tutorial/Authentication.html))\n- [ ] Favorites\n- [ ] Retweets\n- [ ] Test cases\n- [ ] Search API\n- [ ] Pagination API\n\n### Always\n- [ ] More endpoints!\n\n### Need help\n- [ ] Create frontend with [elm](https://elm-lang.org/) or [purescript](http://www.purescript.org/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirotoshioi%2Fhaskell-twitter-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhirotoshioi%2Fhaskell-twitter-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirotoshioi%2Fhaskell-twitter-server/lists"}