├── .editorconfig ├── .github └── workflows │ └── ci.yaml ├── .gitignore ├── LICENSE ├── README.md ├── assets ├── aurelia-logo-white.png ├── aurelia-logo.png ├── favicon.ico ├── logo.svg └── preview.png ├── index.ejs ├── package.json ├── postcss.config.js ├── src ├── app.html ├── app.ts ├── components │ ├── comment.html │ ├── comment.ts │ ├── index.ts │ ├── item-preview.html │ ├── item-preview.ts │ ├── nav-bar.html │ ├── nav-bar.ts │ ├── paginator.html │ ├── paginator.ts │ ├── story-list.html │ ├── story-list.ts │ ├── text.ts │ ├── user-profile.html │ └── user-profile.ts ├── converters │ ├── hostname.ts │ ├── index.ts │ ├── pluralise.ts │ └── timeago.ts ├── firebase │ ├── configure.ts │ ├── database.ts │ ├── index.ts │ └── valueOf.ts ├── main.ts ├── models │ ├── index.ts │ ├── item-type.ts │ ├── item.ts │ ├── trie.ts │ └── user.ts ├── pages │ ├── ask.ts │ ├── best.ts │ ├── item.html │ ├── item.ts │ ├── jobs.ts │ ├── newest.ts │ ├── show.ts │ ├── story-list.html │ ├── story-list.ts │ ├── top.ts │ ├── user.html │ └── user.ts ├── pipelines │ ├── index.ts │ └── scroll-to-top-step.ts ├── repository │ ├── index.ts │ ├── item-repository.ts │ └── user-repository.ts └── services │ ├── html-decoder.ts │ ├── index.ts │ └── item-service.ts ├── style ├── abstracts │ ├── _mixins.scss │ ├── _variables.scss │ └── _z-index.scss ├── base │ ├── _animations.scss │ ├── _reset.scss │ └── _typography.scss ├── components │ ├── _comment.scss │ ├── _item-preview.scss │ ├── _loader.scss │ ├── _nav-bar.scss │ ├── _news-item.scss │ ├── _paginator.scss │ ├── _story-list.scss │ └── _user-profile.scss ├── index.scss ├── layout │ ├── _body.scss │ └── _main.scss └── vendor │ └── _nprogress.scss ├── tsconfig.json └── webpack.config.js /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/README.md -------------------------------------------------------------------------------- /assets/aurelia-logo-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/assets/aurelia-logo-white.png -------------------------------------------------------------------------------- /assets/aurelia-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/assets/aurelia-logo.png -------------------------------------------------------------------------------- /assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/assets/favicon.ico -------------------------------------------------------------------------------- /assets/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/assets/logo.svg -------------------------------------------------------------------------------- /assets/preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/assets/preview.png -------------------------------------------------------------------------------- /index.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/index.ejs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/postcss.config.js -------------------------------------------------------------------------------- /src/app.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/app.html -------------------------------------------------------------------------------- /src/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/app.ts -------------------------------------------------------------------------------- /src/components/comment.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/components/comment.html -------------------------------------------------------------------------------- /src/components/comment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/components/comment.ts -------------------------------------------------------------------------------- /src/components/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/components/index.ts -------------------------------------------------------------------------------- /src/components/item-preview.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/components/item-preview.html -------------------------------------------------------------------------------- /src/components/item-preview.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/components/item-preview.ts -------------------------------------------------------------------------------- /src/components/nav-bar.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/components/nav-bar.html -------------------------------------------------------------------------------- /src/components/nav-bar.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/components/nav-bar.ts -------------------------------------------------------------------------------- /src/components/paginator.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/components/paginator.html -------------------------------------------------------------------------------- /src/components/paginator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/components/paginator.ts -------------------------------------------------------------------------------- /src/components/story-list.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/components/story-list.html -------------------------------------------------------------------------------- /src/components/story-list.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/components/story-list.ts -------------------------------------------------------------------------------- /src/components/text.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/components/text.ts -------------------------------------------------------------------------------- /src/components/user-profile.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/components/user-profile.html -------------------------------------------------------------------------------- /src/components/user-profile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/components/user-profile.ts -------------------------------------------------------------------------------- /src/converters/hostname.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/converters/hostname.ts -------------------------------------------------------------------------------- /src/converters/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/converters/index.ts -------------------------------------------------------------------------------- /src/converters/pluralise.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/converters/pluralise.ts -------------------------------------------------------------------------------- /src/converters/timeago.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/converters/timeago.ts -------------------------------------------------------------------------------- /src/firebase/configure.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/firebase/configure.ts -------------------------------------------------------------------------------- /src/firebase/database.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/firebase/database.ts -------------------------------------------------------------------------------- /src/firebase/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/firebase/index.ts -------------------------------------------------------------------------------- /src/firebase/valueOf.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/firebase/valueOf.ts -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/models/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/models/index.ts -------------------------------------------------------------------------------- /src/models/item-type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/models/item-type.ts -------------------------------------------------------------------------------- /src/models/item.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/models/item.ts -------------------------------------------------------------------------------- /src/models/trie.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/models/trie.ts -------------------------------------------------------------------------------- /src/models/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/models/user.ts -------------------------------------------------------------------------------- /src/pages/ask.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/pages/ask.ts -------------------------------------------------------------------------------- /src/pages/best.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/pages/best.ts -------------------------------------------------------------------------------- /src/pages/item.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/pages/item.html -------------------------------------------------------------------------------- /src/pages/item.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/pages/item.ts -------------------------------------------------------------------------------- /src/pages/jobs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/pages/jobs.ts -------------------------------------------------------------------------------- /src/pages/newest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/pages/newest.ts -------------------------------------------------------------------------------- /src/pages/show.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/pages/show.ts -------------------------------------------------------------------------------- /src/pages/story-list.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/pages/story-list.html -------------------------------------------------------------------------------- /src/pages/story-list.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/pages/story-list.ts -------------------------------------------------------------------------------- /src/pages/top.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/pages/top.ts -------------------------------------------------------------------------------- /src/pages/user.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/pages/user.html -------------------------------------------------------------------------------- /src/pages/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/pages/user.ts -------------------------------------------------------------------------------- /src/pipelines/index.ts: -------------------------------------------------------------------------------- 1 | export * from './scroll-to-top-step'; 2 | -------------------------------------------------------------------------------- /src/pipelines/scroll-to-top-step.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/pipelines/scroll-to-top-step.ts -------------------------------------------------------------------------------- /src/repository/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/repository/index.ts -------------------------------------------------------------------------------- /src/repository/item-repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/repository/item-repository.ts -------------------------------------------------------------------------------- /src/repository/user-repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/repository/user-repository.ts -------------------------------------------------------------------------------- /src/services/html-decoder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/services/html-decoder.ts -------------------------------------------------------------------------------- /src/services/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/services/index.ts -------------------------------------------------------------------------------- /src/services/item-service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/src/services/item-service.ts -------------------------------------------------------------------------------- /style/abstracts/_mixins.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/style/abstracts/_mixins.scss -------------------------------------------------------------------------------- /style/abstracts/_variables.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/style/abstracts/_variables.scss -------------------------------------------------------------------------------- /style/abstracts/_z-index.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/style/abstracts/_z-index.scss -------------------------------------------------------------------------------- /style/base/_animations.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/style/base/_animations.scss -------------------------------------------------------------------------------- /style/base/_reset.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/style/base/_reset.scss -------------------------------------------------------------------------------- /style/base/_typography.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/style/base/_typography.scss -------------------------------------------------------------------------------- /style/components/_comment.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/style/components/_comment.scss -------------------------------------------------------------------------------- /style/components/_item-preview.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/style/components/_item-preview.scss -------------------------------------------------------------------------------- /style/components/_loader.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/style/components/_loader.scss -------------------------------------------------------------------------------- /style/components/_nav-bar.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/style/components/_nav-bar.scss -------------------------------------------------------------------------------- /style/components/_news-item.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/style/components/_news-item.scss -------------------------------------------------------------------------------- /style/components/_paginator.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/style/components/_paginator.scss -------------------------------------------------------------------------------- /style/components/_story-list.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/style/components/_story-list.scss -------------------------------------------------------------------------------- /style/components/_user-profile.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/style/components/_user-profile.scss -------------------------------------------------------------------------------- /style/index.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/style/index.scss -------------------------------------------------------------------------------- /style/layout/_body.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/style/layout/_body.scss -------------------------------------------------------------------------------- /style/layout/_main.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/style/layout/_main.scss -------------------------------------------------------------------------------- /style/vendor/_nprogress.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/style/vendor/_nprogress.scss -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/tsconfig.json -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbull/aurelia-hacker-news/HEAD/webpack.config.js --------------------------------------------------------------------------------