├── .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 | 
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 - GMailKitWelcome to GmailKit!
Select a subreddit to get started. You can add subreddits by clicking the "Compose" buttonUpdates:
- Implemented the Search functionality.
- Attachments are now visible in the list of posts.
- Added a "Load more" button.
- Implemented the "favorite" posts, persistent across page reloads.
- Added mobile support
- Added html-minify to the build process, reducing the size of the final bundle.
--------------------------------------------------------------------------------
/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 |
218 |
219 |
220 |
221 |
275 |
276 |
277 |
278 |
352 |
353 |
354 |
355 |
358 |
359 |
360 |
363 |
364 |
376 |
377 |
385 |
397 |
398 |
399 |
400 |
401 |
404 |
407 |
410 |
411 |
415 |
416 |
417 |
418 |
419 |
432 |
433 |
434 |
452 |
453 |
465 |
466 |
471 |
475 |
476 |
480 |
481 |
482 |
483 |
484 |
487 |
495 |
503 |
511 |
519 |
527 |
535 |
543 |
551 |
559 |
567 |
575 |
576 |
577 |
578 |
579 |
580 |
706 |
707 |
708 |
709 |
710 |
711 |
712 |
Welcome to GmailKit!
713 |
Select a subreddit to get started. You can add
715 | subreddits by clicking the "Compose" button
717 |
718 |
Updates:
719 |
720 | - Implemented the Search functionality.
721 | -
722 | Attachments are now visible in the list of posts.
723 |
724 | - Added a "Load more" button.
725 | -
726 | Implemented the "favorite" posts, persistent across
727 | page reloads.
728 |
729 | - Added mobile support
730 | -
731 | Added html-minify to the build process, reducing the
732 | size of the final bundle.
733 |
734 |
735 |
736 |
737 |
738 |
739 |
740 |
741 |
744 | Inbox
745 |
746 |
747 |
748 |
749 |
![]()
754 |
755 |
766 |
769 |
770 |
776 |
784 |
785 |
793 |
794 |
802 |
803 |
809 |
810 |
811 |
817 |
818 |
821 |
822 |
![]()
826 |
827 |
828 |
832 |
833 |
834 |
835 | No comments
836 |
837 |
838 |
839 |
840 |
854 |
855 |
856 |
857 |
858 |
859 |
860 |
861 |
862 |
863 |
864 |
868 |
869 |
895 |
896 |
897 |
898 |
899 |
903 |
906 | inboxes
907 |
908 |
909 |
910 |
911 |
915 |
916 |
![]()
921 |
922 |
932 |
933 |
957 |
958 |
959 |
960 |
961 |
962 |
965 |
976 |
977 |
978 |
979 |
980 |
981 |
982 |
985 |
986 |
990 |
991 |
992 |
998 |
999 |
1000 |
1001 |
1013 |
1014 |
1015 |
1016 |
1017 |
1021 |
1155 |
1156 |
1157 |
1158 |
1159 |
1160 |
1161 |
1162 |
1163 |
1218 |
1219 |
1220 |
1221 |
1222 |
1223 |
1226 | Inbox
1227 |
1228 |
1229 |
1230 |
1231 |
1232 |
1249 |
1250 |
1251 |
1252 |
1253 |
1254 |
1255 |
![Author Icon]()
1261 |
1262 |
1263 |
1273 |
1274 | to
1275 |
1276 |
1277 |
1278 |
1279 |
View in browser
1285 |
1286 |
1289 |
1290 |
![]()
1294 |
1295 |
1296 |
1300 |
1301 |
1302 |
1303 | No comments
1304 |
1305 |
1306 |
1307 |
1308 |
1322 |
1323 |
1324 |
1325 |
1326 |
1327 |
1328 |
1329 |
1330 |
1331 |
1332 |
1333 |
1338 |
1339 |
1340 |
1341 |
1342 |
--------------------------------------------------------------------------------