├── .gitignore ├── .prettierrc ├── README.md ├── assets ├── desktop │ └── style.css └── mobile │ ├── compose.webp │ ├── mail.webp │ └── style.css ├── docs └── screenshot.png ├── favicon.ico ├── index.html ├── package.json └── src └── index.html /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | pnpm-lock.yaml 3 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "useTabs": true, 3 | "tabWidth": 2 4 | } 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # GmailKit 2 | 3 | ![GmailKit](docs/screenshot.png "GmailKit") 4 | 5 | ## What is it? 6 | 7 | GmailKit is a Reddit client that looks just like Gmail. It's been developed in 4 hours. There are inconsistencies and bugs. It's just a joke. 8 | 9 | It was inspired by [this github project](https://github.com/pcottle/MSOutlookit/) 10 | 11 | ## How to use it? 12 | 13 | Just open the `index.html` file in your browser. You can also use the [online version](http://niturobert.github.io/gmailkit/). 14 | 15 | ## Technologies 16 | 17 | - [Alpine.js](https://alpinejs.dev/) 18 | - [Tailwind CSS](https://tailwindcss.com/) 19 | - [GitHub Pages](https://pages.github.com/) 20 | - [Reddit API](https://www.reddit.com/dev/api/) 21 | - [Gmail](https://mail.google.com/) 22 | 23 | ## Updates 24 | 25 | - Implemented the "Load more" button. 26 | - Implemented the search bar. 27 | - Added the "Attachments" section on the list of posts. TODO: change the icons. 28 | - If the post is an image, embed it in the "email". 29 | - Embedded giphy links in the comment section. 30 | - Made the links in the comments blue. 31 | -------------------------------------------------------------------------------- /assets/desktop/style.css: -------------------------------------------------------------------------------- 1 | #desktop-app aside { 2 | animation: slideInLeft 0.25s ease-out forwards; 3 | } 4 | 5 | @keyframes slideInLeft { 6 | from { 7 | transform: translateX(-100%); 8 | } 9 | 10 | to { 11 | transform: translateX(0); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /assets/mobile/compose.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niturobert/gmailkit/1dfc301260b22e72f8139428b4c02251b73c804b/assets/mobile/compose.webp -------------------------------------------------------------------------------- /assets/mobile/mail.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niturobert/gmailkit/1dfc301260b22e72f8139428b4c02251b73c804b/assets/mobile/mail.webp -------------------------------------------------------------------------------- /assets/mobile/style.css: -------------------------------------------------------------------------------- 1 | #mobile-app aside { 2 | animation: slideInLeft 0.25s ease-out forwards; 3 | } 4 | 5 | @keyframes slideInLeft { 6 | from { 7 | transform: translateX(-100%); 8 | } 9 | 10 | to { 11 | transform: translateX(0); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /docs/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niturobert/gmailkit/1dfc301260b22e72f8139428b4c02251b73c804b/docs/screenshot.png -------------------------------------------------------------------------------- /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niturobert/gmailkit/1dfc301260b22e72f8139428b4c02251b73c804b/favicon.ico -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | Inbox - GMailKit
-------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "gmailkit", 3 | "version": "1.0.0", 4 | "author": { 5 | "name": "Robert-Georgian Nitu", 6 | "email": "info@niturobert.com" 7 | }, 8 | "dependencies": { 9 | "html-minifier": "^4.0.0", 10 | "prettier": "^2.8.4", 11 | "prettier-plugin-tailwindcss": "^0.2.4" 12 | }, 13 | "scripts": { 14 | "minify": "html-minifier --collapse-whitespace --remove-comments --remove-redundant-attributes --remove-script-type-attributes --remove-tag-whitespace --use-short-doctype --minify-css true --minify-js true --input-dir ./src --output-dir ." 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Inbox - GMailKit 8 | 9 | 10 | 11 | 12 | 13 | 14 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 212 | 213 | 214 | 215 | 216 |
217 | 1332 | 1339 |
1340 | 1341 | 1342 | --------------------------------------------------------------------------------