rebranding to Remanso
This commit is contained in:
@@ -7,8 +7,8 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"vite.config.ts": {
|
"vite.config.ts": {
|
||||||
"label": "Lite Note GitHub app",
|
"label": "Remanso GitHub app",
|
||||||
"uri": "https://github.com/organizations/lite-note/settings/apps/lite-note"
|
"uri": "https://github.com/organizations/remanso-spance/settings/apps/lite-note"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
|
|||||||
|
|
||||||
## Project Overview
|
## Project Overview
|
||||||
|
|
||||||
Lite Note is a Vue 3 + TypeScript web app that displays markdown notes from GitHub repositories with Zettelkasten-style backlinks. Users access notes via `https://litenote.space/{user}/{repo}`. Supports both public repos (direct access) and private repos (GitHub OAuth).
|
Remanso is a Vue 3 + TypeScript web app that displays markdown notes from GitHub repositories with Zettelkasten-style backlinks. Users access notes via `https://litenote.space/{user}/{repo}`. Supports both public repos (direct access) and private repos (GitHub OAuth).
|
||||||
|
|
||||||
## Commands
|
## Commands
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
# Lite note
|
# Remanso
|
||||||
|
|
||||||
[Lite Note website](https://litenote.space)
|
[Remanso website](https://remanso.space)
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||||
<title>Lite note</title>
|
<title>Remanso</title>
|
||||||
<meta
|
<meta
|
||||||
name="description"
|
name="description"
|
||||||
content="Lite note for displaying beautiful notes"
|
content="Remanso for displaying & sharing personal notes"
|
||||||
/>
|
/>
|
||||||
<link rel="icon" href="/favicon.ico" />
|
<link rel="icon" href="/favicon.ico" />
|
||||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png" sizes="180x180" />
|
<link rel="apple-touch-icon" href="/apple-touch-icon.png" sizes="180x180" />
|
||||||
|
|||||||
BIN
public/favicon.png
Normal file
BIN
public/favicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 MiB |
@@ -1,11 +1,11 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="welcome-world">
|
<div class="welcome-world">
|
||||||
<h1 class="title is-1">Lite Note</h1>
|
<h1 class="title is-1">Remanso</h1>
|
||||||
|
|
||||||
<repo-list />
|
<repo-list />
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Lite notes are now
|
Remanso notes are now
|
||||||
<router-link :to="{ name: 'PublicNoteListView' }" class="btn"
|
<router-link :to="{ name: 'PublicNoteListView' }" class="btn"
|
||||||
>public</router-link
|
>public</router-link
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
import { getOctokit } from '@/modules/repo/services/octo'
|
import { getOctokit } from "@/modules/repo/services/octo"
|
||||||
import { encodeUTF8ToBase64 } from '@/utils/decodeBase64ToUTF8'
|
import { encodeUTF8ToBase64 } from "@/utils/decodeBase64ToUTF8"
|
||||||
import { confirmMessage, errorMessage } from '@/utils/notif'
|
import { confirmMessage, errorMessage } from "@/utils/notif"
|
||||||
|
|
||||||
export const useGitHubContent = ({
|
export const useGitHubContent = ({
|
||||||
user,
|
user,
|
||||||
repo
|
repo,
|
||||||
}: {
|
}: {
|
||||||
user: string
|
user: string
|
||||||
repo: string
|
repo: string
|
||||||
@@ -12,7 +12,7 @@ export const useGitHubContent = ({
|
|||||||
const putFile = async ({
|
const putFile = async ({
|
||||||
content,
|
content,
|
||||||
path,
|
path,
|
||||||
sha
|
sha,
|
||||||
}: {
|
}: {
|
||||||
content: string
|
content: string
|
||||||
path: string
|
path: string
|
||||||
@@ -27,17 +27,17 @@ export const useGitHubContent = ({
|
|||||||
owner: user,
|
owner: user,
|
||||||
repo,
|
repo,
|
||||||
path,
|
path,
|
||||||
message: `Updating ${path} from Lite Note`,
|
message: `Updating ${path} from Remanso`,
|
||||||
content: encodeUTF8ToBase64(content),
|
content: encodeUTF8ToBase64(content),
|
||||||
sha
|
sha,
|
||||||
}
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
confirmMessage('✅ Note saved')
|
confirmMessage("✅ Note saved")
|
||||||
|
|
||||||
return response?.data.content?.sha ?? null
|
return response?.data.content?.sha ?? null
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
errorMessage('❌ Note could not be saved')
|
errorMessage("❌ Note could not be saved")
|
||||||
console.warn(error)
|
console.warn(error)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -48,6 +48,6 @@ export const useGitHubContent = ({
|
|||||||
updateFile: async (props: { content: string; path: string; sha: string }) =>
|
updateFile: async (props: { content: string; path: string; sha: string }) =>
|
||||||
putFile(props),
|
putFile(props),
|
||||||
createFile: async (props: { content: string; path: string }) =>
|
createFile: async (props: { content: string; path: string }) =>
|
||||||
putFile(props)
|
putFile(props),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,9 +21,9 @@ export default defineConfig(({ command }) => {
|
|||||||
"assets/*.svg",
|
"assets/*.svg",
|
||||||
],
|
],
|
||||||
manifest: {
|
manifest: {
|
||||||
name: "Lite Note",
|
name: "Remanso",
|
||||||
short_name: "LiteNote",
|
short_name: "Remanso",
|
||||||
description: "Lite note taking",
|
description: "Note taking & sharing app",
|
||||||
background_color: mainColor,
|
background_color: mainColor,
|
||||||
theme_color: mainColor,
|
theme_color: mainColor,
|
||||||
icons: [
|
icons: [
|
||||||
|
|||||||
Reference in New Issue
Block a user