Skip to content

Commit 61267a2

Browse files
committed
chore: tweak words
1 parent 564f022 commit 61267a2

File tree

26 files changed

+80
-80
lines changed

26 files changed

+80
-80
lines changed

content/blog/best-practices-to-write-tag.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ author: Steven
44
published_at: 2022/8/4 11:23:00
55
---
66

7-
In memos, the tag is written in the content and displayed by a regex parser. If you have some misrecognized tags, you need a good way to manage your tags accurately, especially where they are written.
7+
In Memos, the tag is written in the content and displayed by a regex parser. If you have some misrecognized tags, you need a good way to manage your tags accurately, especially where they are written.
88

99
## Best practices
1010

content/blog/choosing-a-storage-for-your-resource.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ author: Steven
44
published_at: 2023/6/24 10:30:00
55
---
66

7-
In memos v0.12.0, we introduces a new feature for saving resources into local file system, which means that there are now three storage options available: database, S3, and local storage. Each option has its own advantages and disadvantages, and choosing the right one depends on your specific needs.
7+
In Memos v0.12.0, we introduces a new feature for saving resources into local file system, which means that there are now three storage options available: database, S3, and local storage. Each option has its own advantages and disadvantages, and choosing the right one depends on your specific needs.
88

99
## Database storage
1010

@@ -25,7 +25,7 @@ Related GitHub issue: [GitHub/344](https://github.com/usememos/memos/issues/344)
2525
## Conclusion
2626

2727
- If you mainly use text and have few files, use the default database storage.
28-
- If you already have S3 object cloud storage, configure your S3 into memos.
28+
- If you already have S3 object cloud storage, configure your S3 into Memos.
2929
- If you don't have S3 and use a lot of images, use local storage.
3030

3131
Choose the storage option that best suits your needs. Remember, the right storage option can make a big difference in your application's performance and efficiency.

content/blog/choosing-between-sqlite-and-mysql.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
---
22
title: "Choosing Between SQLite and MySQL: The Database Dilemma"
33
author: Steven
4-
description: In memos v0.16.1, we've introduced support for MySQL as an alternative to the previously used SQLite database. This addition expands your choices for managing your data. In this article, we'll discuss the reasons behind our initial choice of SQLite and why we added MySQL support.
4+
description: In Memos v0.16.1, we've introduced support for MySQL as an alternative to the previously used SQLite database. This addition expands your choices for managing your data. In this article, we'll discuss the reasons behind our initial choice of SQLite and why we added MySQL support.
55
published_at: 2023/10/24 20:24:00
66
feature_image: /content/blog/choosing-between-sqlite-and-mysql/banner.png
77
---
88

9-
In memos v0.16.1, we've introduced support for MySQL as an alternative to the previously used SQLite database. This addition expands your choices for managing your data. In this article, we'll discuss the reasons behind our initial choice of SQLite and why we added MySQL support. We'll also explore the key differences between the two and offer guidance on which one you should choose for your specific needs.
9+
In Memos v0.16.1, we've introduced support for MySQL as an alternative to the previously used SQLite database. This addition expands your choices for managing your data. In this article, we'll discuss the reasons behind our initial choice of SQLite and why we added MySQL support. We'll also explore the key differences between the two and offer guidance on which one you should choose for your specific needs.
1010

1111
## Why We Started with SQLite
1212

1313
### Lightweight and Widely Supported
1414

15-
At the inception of memos, we selected SQLite as our primary database due to its lightweight nature and widespread use. SQLite's single-file design allows for easy deployment and integration across various systems. This makes it an excellent choice for applications that prioritize simplicity and compatibility.
15+
At the inception of Memos, we selected SQLite as our primary database due to its lightweight nature and widespread use. SQLite's single-file design allows for easy deployment and integration across various systems. This makes it an excellent choice for applications that prioritize simplicity and compatibility.
1616

1717
### Versatile on Any Machine
1818

1919
SQLite is well-suited for use on diverse hardware and software environments. Its small footprint and low resource requirements mean you can run it on virtually any machine, from resource-constrained devices to high-performance servers.
2020

2121
## Presenting MySQL Support
2222

23-
After memos was launched, there were numerous user requests for support for other database types to enable seamless integration with popular cloud database services: [GitHub Issue #163](https://github.com/usememos/memos/issues/163), [GitHub Issue #1816](https://github.com/usememos/memos/issues/1816). With the primary focus being on MySQL support, we also took a moment to highlight its advantages.
23+
After Memos was launched, there were numerous user requests for support for other database types to enable seamless integration with popular cloud database services: [GitHub Issue #163](https://github.com/usememos/memos/issues/163), [GitHub Issue #1816](https://github.com/usememos/memos/issues/1816). With the primary focus being on MySQL support, we also took a moment to highlight its advantages.
2424

2525
### Cloud Compatibility
2626

@@ -54,9 +54,9 @@ MySQL outperforms SQLite when it comes to handling large datasets and complex qu
5454

5555
## How to Choose
5656

57-
When deciding between MySQL and SQLite for memos, it's essential to consider your specific use case and existing infrastructure. Here's a tailored guideline to help you make the choice:
57+
When deciding between MySQL and SQLite for Memos, it's essential to consider your specific use case and existing infrastructure. Here's a tailored guideline to help you make the choice:
5858

59-
- If you have a clear understanding of the advantages MySQL can bring to your memos instance, and you already have the necessary cloud server resources, opting for MySQL is a viable choice.
59+
- If you have a clear understanding of the advantages MySQL can bring to your Memos instance, and you already have the necessary cloud server resources, opting for MySQL is a viable choice.
6060

6161
- Furthermore, you can always use SQLite as your database.
6262

content/blog/syncing-data-with-icloud.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
title: Syncing Data Across My MacBooks with iCloud
33
author: Steven
4-
description: In all honesty, I don't have a suitable cloud service for deploying memos, but I do have two trusty MacBooks - a MacBook Air in home and a MacBook Pro in company. But how to keep data in sync between them?
4+
description: In all honesty, I don't have a suitable cloud service for deploying Memos, but I do have two trusty MacBooks - a MacBook Air in home and a MacBook Pro in company. But how to keep data in sync between them?
55
published_at: 2023/10/26 21:19:00
66
feature_image: /content/blog/syncing-data-with-icloud/banner.png
77
---
88

99
In all honesty, I don't have a suitable cloud service for deploying memos, but I do have two trusty MacBooks - a MacBook Air in home and a MacBook Pro in company. Each served its unique role, but the problem was keeping data in sync between them.
1010

11-
The solution began with the realization that the memos' startup command could hold the key. The recommand command looked like this:
11+
The solution began with the realization that the Memos' startup command could hold the key. The recommand command looked like this:
1212

1313
```shell
1414
docker run -d --name memos -p 5230:5230 -v ~/.memos/:/var/opt/memos ghcr.io/usememos/memos:latest
@@ -32,13 +32,13 @@ The journey started with a visit to my MacBook Air, where I aimed to create a sh
3232

3333
### Step 2: Docker Configuration
3434

35-
With the iCloud folder in place, I was eager to make use of it in my memos setup. Here's where Docker came into play:
35+
With the iCloud folder in place, I was eager to make use of it in my Memos setup. Here's where Docker came into play:
3636

3737
```shell
3838
docker run -d --name memos -p 5230:5230 -v ~/Documents/memos/:/var/opt/memos ghcr.io/usememos/memos:latest
3939
```
4040

41-
With this new configuration, I replaced `~/.memos` in the Docker command with the path to the `~/Documents/memos/` folder I created in iCloud Drive. This change meant that memos would now read and write data directly from iCloud, making it accessible from both my MacBook Air and MacBook Pro.
41+
With this new configuration, I replaced `~/.memos` in the Docker command with the path to the `~/Documents/memos/` folder I created in iCloud Drive. This change meant that Memos would now read and write data directly from iCloud, making it accessible from both my MacBook Air and MacBook Pro.
4242

4343
### Step 3: Sync in Action
4444

@@ -52,6 +52,6 @@ This creative twist set the stage for the grand experiment. Memos, now configure
5252

5353
- **Data Privacy**: My data's privacy and security remained under my control, using my own iCloud account.
5454

55-
- **Space Management**: Monitoring my iCloud storage space ensured it could comfortably handle my growing memos database.
55+
- **Space Management**: Monitoring my iCloud storage space ensured it could comfortably handle my growing Memos database.
5656

57-
In summary, using iCloud to share memos data between my MacBook Air and MacBook Pro, complemented by creative Docker modifications, has been transformative. It's a straightforward and efficient solution that seamlessly integrates both personal and professional note-taking needs. Now, my notes are always just a click away, and there's no need for a dedicated cloud server for my memos database.
57+
In summary, using iCloud to share Memos data between my MacBook Air and MacBook Pro, complemented by creative Docker modifications, has been transformative. It's a straightforward and efficient solution that seamlessly integrates both personal and professional note-taking needs. Now, my notes are always just a click away, and there's no need for a dedicated cloud server for my Memos database.

content/docs/advanced-settings/custom-style-and-script.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@
22
title: Custom Style and Script
33
---
44

5-
In memos, you have the ability to customize your page's style and functionality by using Custom CSS and JavaScript. This feature allows you to personalize your memos experience, making it uniquely your own. In this tutorial, we will walk you through the steps to implement custom styles and scripts on your memos page.
5+
In Memos, you have the ability to customize your page's style and functionality by using Custom CSS and JavaScript. This feature allows you to personalize your Memos experience, making it uniquely your own. In this tutorial, we will walk you through the steps to implement custom styles and scripts on your Memos page.
66

77
## Accessing Custom Style and Script
88

99
To begin, follow these steps:
1010

11-
- Log in to your memos account with admin access;
11+
- Log in to your Memos account with admin access;
1212
- Open the **Setting** page and select the **System** section;
1313
- You will see the `Additional style` and `Additional script` inputs;
1414

1515
## Customizing with CSS
1616

17-
_Custom CSS allows you to change the look and feel of your memos page._
17+
_Custom CSS allows you to change the look and feel of your Memos page._
1818

1919
- In the **Additional style** section, locate the CSS editor.
2020
- Start writing your CSS code. You can customize various aspects, such as fonts, colors, margins, and more.
21-
- Use CSS selectors to target specific elements on your page. For example, to change the background color of your memos page, you can use:
21+
- Use CSS selectors to target specific elements on your page. For example, to change the background color of your Memos page, you can use:
2222
```css
2323
body {
2424
background-color: #f0f0f0;
@@ -28,29 +28,29 @@ _Custom CSS allows you to change the look and feel of your memos page._
2828

2929
## Enhancing Functionality with JavaScript
3030

31-
_Custom JavaScript allows you to add interactive features and automation to your memos._
31+
_Custom JavaScript allows you to add interactive features and automation to your Memos._
3232

3333
- In the **Additional script** section, locate the JavaScript editor.
3434
- Write your JavaScript code. You can add interactivity, automate tasks, or even create dynamic content.
3535
- Ensure your JavaScript code is well-structured and free from errors.
3636
- For example, you can create a simple alert when the page loads:
3737
```javascript
3838
window.onload = function () {
39-
alert("Welcome to my custom memos page!");
39+
alert("Welcome to my custom Memos page!");
4040
};
4141
```
4242
- Once you've added your JavaScript, click "Save" to make the changes active.
4343

4444
## Troubleshooting and Best Practices
4545

46-
Here are some tips to ensure a smooth experience when using custom styles and scripts in memos:
46+
Here are some tips to ensure a smooth experience when using custom styles and scripts in Memos:
4747

48-
- Test your code thoroughly before saving. Incorrect code can break the functionality of your memos page.
48+
- Test your code thoroughly before saving. Incorrect code can break the functionality of your Memos page.
4949
- Keep your code organized and commented for easy reference and maintenance.
5050
- Be cautious with the use of third-party libraries or resources, as they may have compatibility issues.
5151

5252
## Final Thoughts
5353

54-
With Custom Style and Script in memos, you have the power to make your memos page uniquely yours. Whether you want to tweak the design, add interactivity, or automate tasks, this feature allows you to unleash your creativity. Just remember to be mindful of the code you implement, and enjoy a personalized memos experience.
54+
With Custom Style and Script in Memos, you have the power to make your Memos page uniquely yours. Whether you want to tweak the design, add interactivity, or automate tasks, this feature allows you to unleash your creativity. Just remember to be mindful of the code you implement, and enjoy a personalized Memos experience.
5555

56-
Now, go ahead and start customizing your memos page to suit your preferences and needs. Happy memo-making!
56+
Now, go ahead and start customizing your Memos page to suit your preferences and needs. Happy memo-making!

content/docs/advanced-settings/local-storage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Local Storage
33
---
44

5-
`memos` supports save your files to local storage. You can use local storage to store your resources in your own server.
5+
Memos supports save your files to local storage. You can use local storage to store your resources in your own server.
66

77
![local-storage-select](/content/docs/advanced-settings/local-storage/local-storage-select.png)
88

@@ -12,7 +12,7 @@ When you enable local storage, you can configure the storage path template.
1212

1313
![local-storage-edit](/content/docs/advanced-settings/local-storage/local-storage-edit.png)
1414

15-
The local storage path is relative to your database file. And `memos` supports a dynamic storage path. You can use the following variables in the storage path:
15+
The local storage path is relative to your database file. And Memos supports a dynamic storage path. You can use the following variables in the storage path:
1616

1717
- `{year}`: The current year.
1818
- `{month}`: The current month.

content/docs/advanced-settings/mysql.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
title: Using MySQL as the Database Driver
33
---
44

5-
Starting in version 0.16.1, memos has added support for using MySQL as the database driver.
5+
Starting in version 0.16.1, Memos has added support for using MySQL as the database driver.
66

77
## Enabling MySQL
88

9-
By default, memos uses SQLite as the database driver. To switch to MySQL, you need to specify two additional arguments when starting memos:
9+
By default, Memos uses SQLite as the database driver. To switch to MySQL, you need to specify two additional arguments when starting Memos:
1010

11-
- **--driver** _mysql_ : Specifies that memos should use `mysql` instead of the default `sqlite`.
11+
- **--driver** _mysql_ : Specifies that Memos should use `mysql` instead of the default `sqlite`.
1212

1313
- **--dsn** _dbuser:dbpass@tcp(dbhost)/dbname_: Provides the connection details for your MySQL server.
1414

15-
Then you can start memos with docker like this:
15+
Then you can start Memos with docker like this:
1616

1717
```shell
1818
docker run -d --name memos -p 5230:5230 -v ~/.memos/:/var/opt/memos ghcr.io/usememos/memos:latest --driver mysql --dsn 'root:password@tcp(localhost)/memos_prod'
@@ -27,10 +27,10 @@ MEMOS_DSN=root:password@tcp(localhost)/memos_prod
2727

2828
## Migrating data from SQLite to MySQL
2929

30-
If you are already using memos with SQLite, you can migrate your data to MySQL with the following command `copydb`:
30+
If you are already using Memos with SQLite, you can migrate your data to MySQL with the following command `copydb`:
3131

3232
```shell
3333
/usr/local/bin/memos --driver mysql --dsn 'dbuser:dbpass@tcp(dbhost)/dbname' copydb --from sqlite://path_to_your_memos_prod.db
3434
```
3535

36-
This will copy all data from the SQLite database specified by `--from` into the MySQL server. If your memos instance is running in Docker, you can execute this command inside the container.
36+
This will copy all data from the SQLite database specified by `--from` into the MySQL server. If your Memos instance is running in Docker, you can execute this command inside the container.

content/docs/contribution/community.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Community
33
---
44

5-
memos has a very active community and produces a lot of design products, including but not limited to Android APP, iOS APP, browser extensions, etc.
5+
Memos has a very active community and produces a lot of design products, including but not limited to Android APP, iOS APP, browser extensions, etc.
66

77
- [Moe Memos](https://memos.moe/) - Third party client for iOS and Android
88
- [lmm214/memos-bber](https://github.com/lmm214/memos-bber) - Chrome extension

content/docs/contribution/development.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
title: Contribute to memos
2+
title: Contribute to Memos
33
---
44

5-
memos is built with a curated tech stack. It is optimized for developer experience and is very easy to start working on the code:
5+
Memos is built with a curated tech stack. It is optimized for developer experience and is very easy to start working on the code:
66

77
- It has no external dependency.
88
- It requires zero config.
@@ -35,7 +35,7 @@ memos is built with a curated tech stack. It is optimized for developer experien
3535
docker compose up -d
3636
```
3737

38-
memos should now be running at <http://localhost:3001> and change either frontend or backend code would trigger live reload.
38+
Memos should now be running at <http://localhost:3001> and change either frontend or backend code would trigger live reload.
3939

4040
## Working without Docker
4141

@@ -73,4 +73,4 @@ memos should now be running at <http://localhost:3001> and change either fronten
7373
cd web && pnpm i && pnpm dev
7474
```
7575

76-
memos should now be running at <http://localhost:3001> and change either frontend or backend code would trigger live reload.
76+
Memos should now be running at <http://localhost:3001> and change either frontend or backend code would trigger live reload.

content/docs/faq.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Frequently Asked Questions
44

55
- [How to delete old tags](#how-to-delete-old-tags)
66
- [How to change the created time of a memo](#how-to-change-the-created-time-of-a-memo)
7-
- [How to upload videos in memos](#how-to-upload-videos-in-memos)
7+
- [How to upload videos in Memos](#how-to-upload-videos-in-memos)
88

99
## How to delete old tags
1010

@@ -18,6 +18,6 @@ click the "+" button -> hover and click the tag you want to delete.
1818

1919
![change-created-time-of-memo](/content/docs/faq/change-created-time-of-memo.png)
2020

21-
## How to upload videos in memos
21+
## How to upload videos in Memos
2222

2323
You can upload videos up to 32 MB in size. In addition, the video must be compatible with HTML5. See more in [https://www.chromium.org/audio-video/](https://www.chromium.org/audio-video/)

0 commit comments

Comments
 (0)