├── .babelrc ├── .gitignore ├── .idea ├── .gitignore ├── google-java-format.xml ├── inspectionProfiles │ └── Project_Default.xml ├── jsLinters │ └── eslint.xml ├── misc.xml ├── modules.xml ├── notion-widget-rss.iml ├── prettier.xml └── vcs.xml ├── README.md ├── __tests__ ├── BuildFeeds.test.ts ├── BuildFeedsWithCustomDate.test.ts ├── BuildFeedsWithInvalidSources.test.ts ├── NoSourceProvided.test.ts ├── fixtures │ ├── feed.ts │ └── joshua-comeau-feed.xml └── utils │ └── clock.ts ├── doc └── example.png ├── next-env.d.ts ├── package.json ├── public ├── favicon.ico ├── iAWriterMonoS-Bold.woff2 ├── iAWriterMonoS-Regular.woff2 └── vercel.svg ├── src ├── client │ └── components │ │ ├── EmptyFeedView.tsx │ │ ├── FeedErrorView.tsx │ │ ├── FeedItemView.tsx │ │ ├── FeedItemsView.tsx │ │ ├── FeedView.tsx │ │ ├── FeedsWidgetView.tsx │ │ └── RefreshButton.tsx ├── pages │ ├── _app.tsx │ └── index.ts ├── server │ ├── FeedsWidgetPagePresenter.ts │ ├── FeedsWidgetPresenter.ts │ ├── clock.ts │ ├── http │ │ └── redirect.ts │ └── rss │ │ ├── BuildFeeds.ts │ │ ├── Clock.ts │ │ ├── Feed.ts │ │ ├── FeedItem.ts │ │ ├── Feeds.ts │ │ ├── PublicationDate.ts │ │ └── Source.ts └── shared │ ├── FeedItemReadModel.ts │ ├── FeedReadModel.ts │ ├── FeedResult.ts │ ├── Result.ts │ └── Theme.ts ├── styles ├── EmptyFeed.module.css ├── Feed.module.css ├── FeedError.module.css ├── FeedItem.module.css ├── FeedItems.module.css ├── FeedsWidget.module.css ├── RefreshButton.module.css └── globals.css ├── tsconfig.json ├── tsconfig.test.json └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["next/babel"] 3 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/.idea/.gitignore -------------------------------------------------------------------------------- /.idea/google-java-format.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/.idea/google-java-format.xml -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/.idea/inspectionProfiles/Project_Default.xml -------------------------------------------------------------------------------- /.idea/jsLinters/eslint.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/.idea/jsLinters/eslint.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/notion-widget-rss.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/.idea/notion-widget-rss.iml -------------------------------------------------------------------------------- /.idea/prettier.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/.idea/prettier.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/README.md -------------------------------------------------------------------------------- /__tests__/BuildFeeds.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/__tests__/BuildFeeds.test.ts -------------------------------------------------------------------------------- /__tests__/BuildFeedsWithCustomDate.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/__tests__/BuildFeedsWithCustomDate.test.ts -------------------------------------------------------------------------------- /__tests__/BuildFeedsWithInvalidSources.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/__tests__/BuildFeedsWithInvalidSources.test.ts -------------------------------------------------------------------------------- /__tests__/NoSourceProvided.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/__tests__/NoSourceProvided.test.ts -------------------------------------------------------------------------------- /__tests__/fixtures/feed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/__tests__/fixtures/feed.ts -------------------------------------------------------------------------------- /__tests__/fixtures/joshua-comeau-feed.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/__tests__/fixtures/joshua-comeau-feed.xml -------------------------------------------------------------------------------- /__tests__/utils/clock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/__tests__/utils/clock.ts -------------------------------------------------------------------------------- /doc/example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/doc/example.png -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/package.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/iAWriterMonoS-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/public/iAWriterMonoS-Bold.woff2 -------------------------------------------------------------------------------- /public/iAWriterMonoS-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/public/iAWriterMonoS-Regular.woff2 -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /src/client/components/EmptyFeedView.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/src/client/components/EmptyFeedView.tsx -------------------------------------------------------------------------------- /src/client/components/FeedErrorView.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/src/client/components/FeedErrorView.tsx -------------------------------------------------------------------------------- /src/client/components/FeedItemView.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/src/client/components/FeedItemView.tsx -------------------------------------------------------------------------------- /src/client/components/FeedItemsView.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/src/client/components/FeedItemsView.tsx -------------------------------------------------------------------------------- /src/client/components/FeedView.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/src/client/components/FeedView.tsx -------------------------------------------------------------------------------- /src/client/components/FeedsWidgetView.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/src/client/components/FeedsWidgetView.tsx -------------------------------------------------------------------------------- /src/client/components/RefreshButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/src/client/components/RefreshButton.tsx -------------------------------------------------------------------------------- /src/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/src/pages/_app.tsx -------------------------------------------------------------------------------- /src/pages/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/src/pages/index.ts -------------------------------------------------------------------------------- /src/server/FeedsWidgetPagePresenter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/src/server/FeedsWidgetPagePresenter.ts -------------------------------------------------------------------------------- /src/server/FeedsWidgetPresenter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/src/server/FeedsWidgetPresenter.ts -------------------------------------------------------------------------------- /src/server/clock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/src/server/clock.ts -------------------------------------------------------------------------------- /src/server/http/redirect.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/src/server/http/redirect.ts -------------------------------------------------------------------------------- /src/server/rss/BuildFeeds.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/src/server/rss/BuildFeeds.ts -------------------------------------------------------------------------------- /src/server/rss/Clock.ts: -------------------------------------------------------------------------------- 1 | export interface Clock { 2 | now(): Date; 3 | } 4 | -------------------------------------------------------------------------------- /src/server/rss/Feed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/src/server/rss/Feed.ts -------------------------------------------------------------------------------- /src/server/rss/FeedItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/src/server/rss/FeedItem.ts -------------------------------------------------------------------------------- /src/server/rss/Feeds.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/src/server/rss/Feeds.ts -------------------------------------------------------------------------------- /src/server/rss/PublicationDate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/src/server/rss/PublicationDate.ts -------------------------------------------------------------------------------- /src/server/rss/Source.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/src/server/rss/Source.ts -------------------------------------------------------------------------------- /src/shared/FeedItemReadModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/src/shared/FeedItemReadModel.ts -------------------------------------------------------------------------------- /src/shared/FeedReadModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/src/shared/FeedReadModel.ts -------------------------------------------------------------------------------- /src/shared/FeedResult.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/src/shared/FeedResult.ts -------------------------------------------------------------------------------- /src/shared/Result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/src/shared/Result.ts -------------------------------------------------------------------------------- /src/shared/Theme.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/src/shared/Theme.ts -------------------------------------------------------------------------------- /styles/EmptyFeed.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/styles/EmptyFeed.module.css -------------------------------------------------------------------------------- /styles/Feed.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/styles/Feed.module.css -------------------------------------------------------------------------------- /styles/FeedError.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/styles/FeedError.module.css -------------------------------------------------------------------------------- /styles/FeedItem.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/styles/FeedItem.module.css -------------------------------------------------------------------------------- /styles/FeedItems.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/styles/FeedItems.module.css -------------------------------------------------------------------------------- /styles/FeedsWidget.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/styles/FeedsWidget.module.css -------------------------------------------------------------------------------- /styles/RefreshButton.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/styles/RefreshButton.module.css -------------------------------------------------------------------------------- /styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/styles/globals.css -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/tsconfig.test.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoinechalifour/notion-embed-rss/HEAD/yarn.lock --------------------------------------------------------------------------------