sync notes(auto)

This commit is contained in:
Kaz Saita(raspi4) 2024-03-14 22:45:02 +09:00
parent 7973e5273b
commit 1deb9e2fa0
2 changed files with 12 additions and 9 deletions

View file

@ -3,6 +3,10 @@
#capture
## 概要
discordに何か書くと、自動的にobsidianのvaultに新しい記事が作成される。とても便利。
discordに何か書くと、自動的にobsidianのvaultに新しい記事が作成される。とても便利。pythonで書いてある。
![[なんでもcaptureシステムの図解.jpg]]
## 配布
- [kazbo/capture\_bot\_san - Kinoshita Lab Git: All your base are belong to us](https://git.kinoshita-lab.org/kazbo/capture_bot_san)
- (mirror) [kazbo/capture\_bot\_san - Codeberg.org](https://codeberg.org/kazbo/capture_bot_san)

View file

@ -7,11 +7,6 @@
giteaが動いている前提。 cf. [[20240215215031 Raspi4にGiteaをインストール|Raspi4にGiteaをインストール]]
download:
```
$ cd tmp
@ -46,7 +41,7 @@ $ sudo systemctl start gitea
一応 `/etc/gitea/app.ini` の [server] の `ROOT_URL`だけは `https://git.kinoshita-lab.org/`変更しておいた。
外観的に落ちつかない、というか混乱しそうなので、トンネルとnginx名前を変更した。
外観的に落ちつかない、というか混乱しそうなので、トンネルとnginxとservice名前を変更した。
```
$ su cloudflare
Password:
@ -70,7 +65,7 @@ server {
listen 80;
listen [::]:80;
server_name git.kinoshita-lab.org;
server_name git.kinoshita-lab.org; # ここ変えた
# https://docs.gitea.com/administration/reverse-proxies
location / {
@ -91,6 +86,10 @@ server {
$ sudo systemctl restart nginx
```
20240314 バイナリ `/usr/local/bin/gitea` を やめて、 `/usr/local/bin/forgejo` に変更。これ自体は最新版バイナリのシンボリックリンク。
```
lrwxrwxrwx 1 root root 28 Mar 14 22:29 /usr/local/bin/forgejo -> forgejo-1.21.7-0-linux-arm64
```
## Ref.
- [Forgejo](https://forgejo.org/download/)
- [[20240215215031 Raspi4にGiteaをインストール|Raspi4にGiteaをインストール]]