Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
376 commits
Select commit Hold shift + click to select a range
49710f0
add delete/edit success toast.
mazzzystar Sep 21, 2024
e9f9368
add delete/edit success toast.
mazzzystar Sep 21, 2024
e036dfa
add delete/edit success toast.
mazzzystar Sep 21, 2024
0683f1d
add locale for toast.
mazzzystar Sep 21, 2024
b072ac8
add locale for toast.
mazzzystar Sep 21, 2024
a1d63e7
add locale for toast.
mazzzystar Sep 21, 2024
adea401
add locale for toast.
mazzzystar Sep 21, 2024
fe80b13
add license
mazzzystar Sep 21, 2024
d3fc6b3
add license
mazzzystar Sep 21, 2024
8401bf8
add license
mazzzystar Sep 21, 2024
c99fff9
add license
mazzzystar Sep 21, 2024
5c695a3
add locale for edit/delete button.
mazzzystar Sep 21, 2024
ae89057
add original content in editor when edit.
mazzzystar Sep 21, 2024
e6f5636
add original content in editor when edit.
mazzzystar Sep 21, 2024
cb376ac
don't change date when update blog.
mazzzystar Sep 21, 2024
e390ba3
feat(drag&drop): drag and drop
metrue Sep 22, 2024
f891094
support for zh-TW and zh-HK.
mazzzystar Sep 22, 2024
3307b8e
add PWA.
mazzzystar Sep 22, 2024
56c9729
update PWA.
mazzzystar Sep 22, 2024
768050d
fix PWA keyboard issue in Safari.
mazzzystar Sep 22, 2024
7742c01
fix PWA keyboard issue in Safari.
mazzzystar Sep 22, 2024
66057f3
fix display issue when no blog post.
mazzzystar Sep 22, 2024
d4f62f4
feat(drag&drop): drag and drop
metrue Sep 22, 2024
db4826c
add local for upload success toast.
mazzzystar Sep 22, 2024
2459985
Update README.md
mazzzystar Sep 22, 2024
77344d4
fix typo for locale.
mazzzystar Sep 22, 2024
0ac8305
optimize image display.
mazzzystar Sep 23, 2024
d8daf02
fix image display.
mazzzystar Sep 23, 2024
0e2222e
add statement for why not private.
mazzzystar Sep 23, 2024
ecae7c2
optimize icon.
mazzzystar Sep 23, 2024
2b321fe
add public homepage
mazzzystar Sep 23, 2024
b774adc
add public homepage
mazzzystar Sep 23, 2024
d4dc8cc
add homepage link
mazzzystar Sep 23, 2024
5070ad5
locale for public homepage.
mazzzystar Sep 23, 2024
c982d35
locale for public homepage.
mazzzystar Sep 23, 2024
072fb89
now you can view other's blog
mazzzystar Sep 23, 2024
598acb1
sort public blog by date
mazzzystar Sep 23, 2024
5b2ffa4
theme the same for public post & thoughts.
mazzzystar Sep 23, 2024
cbb6a02
Update README.md
mazzzystar Sep 23, 2024
08f0c42
theme the same for public post & thoughts.
mazzzystar Sep 23, 2024
f2143e8
make public blog & thoughts the same style with private.
mazzzystar Sep 23, 2024
3276255
make blog content font size larger.
mazzzystar Sep 23, 2024
bded0a5
add manifest for user homepage.
mazzzystar Sep 23, 2024
8f97264
add manifest for user homepage.
mazzzystar Sep 23, 2024
d272959
add loading animation when loading other's blog.
mazzzystar Sep 23, 2024
377c6f5
fix image display path.
mazzzystar Sep 24, 2024
dfe9a32
fix image display path.
mazzzystar Sep 24, 2024
ddfb144
fix image display path.
mazzzystar Sep 24, 2024
2b4ed39
support both master & main branch
mazzzystar Sep 24, 2024
4355660
support for MacOS using Pake.
mazzzystar Sep 24, 2024
229e2ab
Update README.md
mazzzystar Sep 24, 2024
46d3b52
set default repo about to user's homepage.
mazzzystar Sep 24, 2024
8b83abf
set default repo about to user's homepage.
mazzzystar Sep 24, 2024
40132b6
set default repo about to user's homepage.
mazzzystar Sep 24, 2024
b63763c
set default repo about to user's homepage.
mazzzystar Sep 24, 2024
c2ae31b
set default repo about to user's homepage.
mazzzystar Sep 24, 2024
db1b444
update .gitignore
mazzzystar Sep 24, 2024
33cb191
use My Public Homepage.
mazzzystar Sep 24, 2024
6fdc462
speedup thoughts/blog fetch.
mazzzystar Sep 24, 2024
19f5cd4
supports for LaTex.
mazzzystar Sep 25, 2024
721ab09
add unavailable page.
mazzzystar Sep 25, 2024
26e14ae
Update README.md
mazzzystar Sep 25, 2024
ff7ff04
ensure repo exist when create thoughts.
mazzzystar Sep 25, 2024
1309018
update Tinymind.dmg
mazzzystar Sep 25, 2024
17c024c
add banner
mazzzystar Sep 25, 2024
047e244
add banner
mazzzystar Sep 25, 2024
65dc9a5
add banner
mazzzystar Sep 25, 2024
4fb5628
Update README.md
mazzzystar Sep 25, 2024
c03c3e2
update unavailable page.
mazzzystar Sep 25, 2024
1418f29
Merge branch 'main' of github.com:mazzzystar/tinymind
mazzzystar Sep 25, 2024
2b8c017
Update README.md
mazzzystar Sep 25, 2024
490993f
Update README.md
mazzzystar Sep 25, 2024
9cba8d7
Update README.md
mazzzystar Sep 25, 2024
eeea6ae
Update README.md
mazzzystar Sep 25, 2024
02ae61a
Update README.md
mazzzystar Sep 25, 2024
237a1c8
increase clarity for #howitworks
mazzzystar Sep 25, 2024
be1a185
Merge branch 'main' of github.com:mazzzystar/tinymind
mazzzystar Sep 25, 2024
1259700
Update README.md
mazzzystar Sep 25, 2024
5c10f6e
Update README.md
mazzzystar Sep 26, 2024
a14dc84
add demo page.
mazzzystar Sep 26, 2024
bf20c4b
add demo page.
mazzzystar Sep 26, 2024
2e6c450
add demo page.
mazzzystar Sep 26, 2024
16f3759
Update README.md
mazzzystar Sep 27, 2024
fae654e
add dynamic metadata for each public post.
mazzzystar Sep 28, 2024
c5803d8
add dynamic metadata for each public post.
mazzzystar Sep 28, 2024
1bc1f40
add dynamic metadata for each public post.
mazzzystar Sep 28, 2024
6559f48
feat(avatar): have personal avatar by trying assets/icon.jpg
metrue Sep 28, 2024
c11350d
Merge branch 'metrue-configurable-avatar'
mazzzystar Sep 29, 2024
2395e0d
add user's github icon as default icon.
mazzzystar Sep 30, 2024
bf1a1a7
add user's github icon as default icon.
mazzzystar Sep 30, 2024
be53877
fix broken homepage avatar.
mazzzystar Sep 30, 2024
bcd0e77
fix broken homepage avatar.
mazzzystar Sep 30, 2024
988b50d
fix broken homepage avatar.
mazzzystar Sep 30, 2024
430bd27
Update README.md
mazzzystar Sep 30, 2024
82d8ef4
fix broken homepage avatar.
mazzzystar Sep 30, 2024
106640d
refact date format.
mazzzystar Sep 30, 2024
d6291b7
refact date format.
mazzzystar Sep 30, 2024
39d6814
refact date format.
mazzzystar Sep 30, 2024
0c81d4d
refact date format.
mazzzystar Sep 30, 2024
035ff5f
refact date format.
mazzzystar Sep 30, 2024
1395704
refact date format.
mazzzystar Sep 30, 2024
b722175
refact date format.
mazzzystar Sep 30, 2024
44f166f
use client for public blog post list for speed up.
mazzzystar Sep 30, 2024
9f2c61e
shorten title in metadata.
mazzzystar Sep 30, 2024
f4410e7
accept all images url domain.
mazzzystar Sep 30, 2024
90bee98
fix issue with "C++" in title.
mazzzystar Oct 4, 2024
84de115
fix parse blog page url issue.
mazzzystar Oct 4, 2024
1a0897d
fix parse blog page url issue.
mazzzystar Oct 4, 2024
291bbc5
fix parse blog page url issue.
mazzzystar Oct 4, 2024
85320ff
fix parse blog page url issue.
mazzzystar Oct 4, 2024
d1a8745
fix parse blog page url issue.
mazzzystar Oct 4, 2024
56cc72d
use user's avatar as homepage icon.
mazzzystar Oct 10, 2024
27497f4
try domain
metrue Oct 5, 2024
0a3ee64
fix only refresh will the new post show issue.
mazzzystar Oct 28, 2024
38e3d33
disable cache to fix not showing newest content issue.
mazzzystar Oct 28, 2024
b032800
remove revalidate for blog.
mazzzystar Oct 28, 2024
fed11e9
Merge branch 'mazzzystar:main' into main
metrue Oct 29, 2024
2f217cb
update quote content UI style.
mazzzystar Nov 12, 2024
2820b1d
update public thoughts list UI for quote.
mazzzystar Nov 12, 2024
d0d7558
Merge branch 'mazzzystar:main' into main
metrue Nov 12, 2024
d932172
adjust quote text color.
mazzzystar Nov 13, 2024
47ada11
allow user paste image from clipboard.
mazzzystar Nov 20, 2024
638e7e7
optimize link style.
mazzzystar Nov 21, 2024
951b463
update link UI style.
mazzzystar Nov 21, 2024
bf0066f
don't change link style in blog list.
mazzzystar Nov 21, 2024
ccfa36f
use 'break-words' to prevent long url get out of card box.
mazzzystar Nov 21, 2024
f918b44
Merge branch 'mazzzystar:main' into main
metrue Nov 25, 2024
bb9c057
feat(styles): light style (#3)
metrue Nov 27, 2024
e03093d
fix(date): fix the date format (#5)
metrue Nov 27, 2024
66ae7cc
fix(selection): fix the selection not visible issue
metrue Nov 27, 2024
4b0cb2c
Fix thought card not shown all (#6)
metrue Nov 27, 2024
7b0dc6d
feat(sort): the latest thougth should be the one with latest timestam
metrue Nov 27, 2024
58da4bb
fix(grid): fix the grid different gap issue
metrue Nov 28, 2024
6aa978a
patch(grid): fix the grid issue of padding
metrue Nov 29, 2024
c167224
fix(style): unify the component style for though card
metrue Nov 29, 2024
f0401d7
card index (#7)
metrue Dec 1, 2024
6e50356
fix(imageUrl): fix the image url missing for the public blog issue
metrue Dec 1, 2024
4149871
fix(color): fix the button color
metrue Dec 3, 2024
8885e74
fix(url): github host image url should have 'raw' parameter
metrue Dec 4, 2024
2db5c63
fix(bg): fix the background color of thought card
metrue Dec 4, 2024
10ca693
feat(font): better font
metrue Dec 4, 2024
d482a8d
caching (#8)
metrue Dec 20, 2024
4acfe10
enable comments (#9)
metrue Dec 20, 2024
3d48f37
remove the padding
metrue Dec 21, 2024
ad9183c
move the timestamp to header of card
metrue Dec 21, 2024
26c5952
fix style of image
metrue Dec 23, 2024
50a1202
feat(username): only one user, no more multi tenant (#10)
metrue Dec 24, 2024
a75757b
fix(sha): fix no sha for update content (#11)
metrue Dec 24, 2024
7d0465b
feat(note): rename thought to note (#13)
metrue Dec 25, 2024
c084507
Page render (#12)
metrue Dec 25, 2024
3524d8e
feat(authenticated): only authenticated to show the dropdown (#15)
metrue Dec 25, 2024
1afa8b3
chore(repo): const repo
metrue Dec 25, 2024
be1c5d9
chore(ga): update my own ga
metrue Dec 25, 2024
92261d3
fix(args): remove the extra arg
metrue Dec 25, 2024
c126c81
fix(ssr): move more to ssr
metrue Dec 25, 2024
8af197d
clean up no use codes
metrue Dec 25, 2024
90307a3
fix(alignment): fix the header alignment issue
metrue Dec 25, 2024
d4f2324
feat(single_repo): content and app in same repo (#18)
metrue Dec 26, 2024
61c6bbf
update
metrue Dec 26, 2024
bc5c9fd
update
metrue Dec 26, 2024
bb3ece7
fix(md): the name should include 'md'
metrue Dec 26, 2024
280ae8b
Update blog post
metrue Dec 26, 2024
87370c6
Update blog post
metrue Dec 26, 2024
c93651d
update readme
metrue Dec 26, 2024
f2885b1
update icon
metrue Dec 26, 2024
291ac0e
Update thought
metrue Dec 26, 2024
26b74e8
Update thought
metrue Dec 26, 2024
1ecdaf9
Add new thought
metrue Dec 28, 2024
8a7f2aa
chore(data): naming the data directory (#20)
metrue Dec 28, 2024
075b620
feat(naming): thought to memo (#21)
metrue Dec 28, 2024
add23f8
chore(structure): better structure
metrue Dec 28, 2024
ebe98b6
chore(stucture): better structure
metrue Dec 28, 2024
db967a2
clean up
metrue Dec 28, 2024
3423937
fix(naming): update name
metrue Dec 28, 2024
b093e66
Add new memo
metrue Dec 28, 2024
040c3fa
fix(naming): update naming
metrue Dec 28, 2024
d74ebdd
Add new memo
metrue Dec 28, 2024
4443ab5
Update memo
metrue Dec 28, 2024
5a76b18
Update memo
metrue Dec 28, 2024
d9d24b3
Delete a memo
metrue Dec 29, 2024
503b9a3
Add new memo
metrue Dec 30, 2024
8168912
header card (#3)
metrue Dec 30, 2024
dbbddff
* chore(refactor): refactor memo page
metrue Dec 30, 2024
46b160b
feat(header): differentiate header component (#5)
metrue Dec 30, 2024
f6db4f8
feat(font): remove light for the font
metrue Jan 1, 2025
ecc5ab5
add links
metrue Jan 1, 2025
411b80b
feat(links): implement the links feature (#7)
metrue Jan 1, 2025
864c515
feat(links): implement the links feature (#8)
metrue Jan 1, 2025
588205b
complete links
metrue Jan 2, 2025
4086ad1
Add new memo
metrue Jan 2, 2025
77c292b
update screenshot
metrue Jan 3, 2025
5d457d9
feat(stats_card): put avatar and links on top of the meme (#12)
metrue Jan 3, 2025
d6ef31b
update screenshot
metrue Jan 8, 2025
60b7488
Add new memo
metrue Jan 10, 2025
09c902b
fix(width): the card width should be 100% (#13)
metrue Jan 10, 2025
53502c9
Add new memo
metrue Jan 10, 2025
f864031
Add new memo
metrue Jan 26, 2025
3d1d0df
Add blog post: 二月葡萄牙游记
metrue Feb 25, 2025
4947024
Create directory: assets/images/2025-02-25
metrue Feb 25, 2025
0a4b9e1
Upload image: 1740514356850.jp2
metrue Feb 25, 2025
087ab94
Upload image: 1740514382391.jp2
metrue Feb 25, 2025
0b8d9e4
Upload image: 1740514398405.jp2
metrue Feb 25, 2025
f8c5984
Upload image: 1740514422417.jp2
metrue Feb 25, 2025
f405735
Upload image: 1740514435622.jp2
metrue Feb 25, 2025
03e9198
Upload image: 1740514453577.jp2
metrue Feb 25, 2025
a0b4fd3
Upload image: 1740514484399.jp2
metrue Feb 25, 2025
f62dd45
Upload image: 1740514541224.jp2
metrue Feb 25, 2025
94f52eb
Upload image: 1740514557661.jp2
metrue Feb 25, 2025
66b0b58
Upload image: 1740514568788.jp2
metrue Feb 25, 2025
e914f6f
Upload image: 1740514582240.jp2
metrue Feb 25, 2025
8b26515
Upload image: 1740514592708.jp2
metrue Feb 25, 2025
873c7a9
Update blog post
metrue Feb 25, 2025
377ba12
update
metrue Feb 25, 2025
f12ac2c
Add blog post: 逛逛济州岛
metrue Feb 25, 2025
05fbbfc
update
metrue Feb 25, 2025
ad71c8f
Add new memo
metrue Feb 25, 2025
6006b50
Create directory: assets/images/2025-02-26
metrue Feb 26, 2025
51f77d4
Upload image: 1740551428629.jpg
metrue Feb 26, 2025
d3904eb
Update blog post
metrue Feb 26, 2025
ffe3d81
Add new memo
metrue Mar 4, 2025
0bb9401
Add new memo
metrue Mar 12, 2025
523bb33
move from old blog
metrue Mar 22, 2025
187262b
move from the old blog
metrue Mar 22, 2025
42d612b
Create directory: assets/images/2025-03-22
metrue Mar 22, 2025
2af3651
Upload image: 1742652676821.jpg
metrue Mar 22, 2025
1bf3e26
Update blog post
metrue Mar 22, 2025
52c78ff
Add new memo
metrue Mar 28, 2025
8c4e61a
Add new memo
metrue Apr 28, 2025
0f8334b
Berlin trip (#15)
metrue Apr 29, 2025
3ce319d
Create directory: assets/images/2025-04-29
metrue Apr 29, 2025
b9d8ef4
Upload image: 1745955676513.jpg
metrue Apr 29, 2025
f0a9355
Upload image: 1745955819583.jpg
metrue Apr 29, 2025
8be56fe
Upload image: 1745955855192.jpg
metrue Apr 29, 2025
ba5e111
Update blog post
metrue Apr 29, 2025
ae974f1
Update blog post
metrue Apr 29, 2025
ed416b7
fix typo
metrue Apr 29, 2025
a330b60
Add new memo
metrue Apr 30, 2025
31e92ff
Create directory: assets/images/2025-05-19
metrue May 19, 2025
91b39f4
Upload image: 1747683546771.png
metrue May 19, 2025
e915164
Add new memo
metrue May 19, 2025
40652d7
Add new memo
metrue May 21, 2025
8ee79b6
Create directory: assets/images/2025-05-21
metrue May 21, 2025
0ded515
Upload image: 1747859232104.jpeg
metrue May 21, 2025
286becd
Upload image: 1747859255454.jpeg
metrue May 21, 2025
5fd5b1e
Upload image: 1747859267584.jpeg
metrue May 21, 2025
86c8c10
Upload image: 1747859282989.png
metrue May 21, 2025
d639c08
Upload image: 1747859294930.jpeg
metrue May 21, 2025
30d7710
Update blog post
metrue May 21, 2025
4293d7d
feat(static): static site
metrue May 24, 2025
c893964
token as the env var
metrue May 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

15 changes: 9 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
.env

# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions

# testing
/coverage
Expand All @@ -26,9 +28,10 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# local env files
.env*.local
# env files (can opt-in for committing if needed)
.env*

# vercel
.vercel
Expand Down
42 changes: 23 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,36 @@
# TinyMind
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).

TinyMind is a website that lets you write and sync your blog posts, short thoughts, and memos by signing in with GitHub. Here's how it works:
## Getting Started

1. We create a public repo called "tinymind-blog" in your GitHub account.
2. When you write anything on our webpage, it automatically commits to your `yourname/tinymind-blog` repo.
3. This ensures a seamless way to create content and maintain data persistence.
First, run the development server:

## Data Privacy & Permissions
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

We only have write access to your public repositories. Your privacy matters:
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

- Content stored only in your GitHub repo
- No data kept on our servers
- You have full control through your GitHub account
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

## TODO
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.

- [ ] Create a page to showcase all public writers using TinyMind (creator list)
- [ ] Implement shareable user main pages (like https://tinywind.me/mazzzystar)
## Learn More

## Tech Stack
To learn more about Next.js, take a look at the following resources:

Built with Next.js, React, TypeScript, NextAuth.js, and Tailwind CSS.
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

## Contribute
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!

Contributions are welcome! Feel free to submit a Pull Request.
## Deploy on Vercel

## License
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

[Your chosen license here]
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
6 changes: 0 additions & 6 deletions app/api/auth/[...nextauth]/route.ts

This file was deleted.

69 changes: 0 additions & 69 deletions app/api/github/route.ts

This file was deleted.

63 changes: 0 additions & 63 deletions app/blog/[id]/page.tsx

This file was deleted.

25 changes: 0 additions & 25 deletions app/blog/page.tsx

This file was deleted.

14 changes: 0 additions & 14 deletions app/editor/page.tsx

This file was deleted.

Binary file removed app/favicon.ico
Binary file not shown.
Binary file removed app/fonts/GeistMonoVF.woff
Binary file not shown.
Binary file removed app/fonts/GeistVF.woff
Binary file not shown.
66 changes: 0 additions & 66 deletions app/globals.css

This file was deleted.

Loading