├── .editorconfig
├── .gitignore
├── .idea
├── .gitignore
├── chatrecord-viewer.iml
├── codeStyles
│ └── codeStyleConfig.xml
├── discord.xml
├── inspectionProfiles
│ └── Project_Default.xml
├── jsLibraryMappings.xml
├── modules.xml
├── vcs.xml
└── watcherTasks.xml
├── LICENSE
├── README.md
├── functions
└── api
│ ├── add.ts
│ ├── get
│ └── [hash].ts
│ └── tg-avatar
│ └── [id].ts
├── main
├── index.html
├── package.json
├── src
│ ├── App.module.sass
│ ├── App.tsx
│ ├── env.d.ts
│ ├── main.ts
│ └── styles
│ │ └── global.sass
├── tsconfig.json
└── vite.config.ts
├── package.json
├── packages
└── chat-record-view
│ ├── package.json
│ ├── src
│ ├── Main.tsx
│ ├── assets
│ │ └── no-avatar.webp
│ ├── components
│ │ ├── Bubble.module.sass
│ │ ├── DateContainer.module.sass
│ │ ├── DateContainer.tsx
│ │ ├── JsonElement.tsx
│ │ ├── MessageBubble.tsx
│ │ ├── MessageElement.module.sass
│ │ ├── MessageElement.tsx
│ │ ├── SenderContainer.module.sass
│ │ ├── SenderContainer.tsx
│ │ ├── SenderNameBubble.tsx
│ │ └── XmlElement.tsx
│ ├── env.d.ts
│ ├── index.ts
│ ├── types
│ │ ├── BilibiliMiniApp.d.ts
│ │ ├── DateGroup.d.ts
│ │ ├── MessageElemExt.d.ts
│ │ ├── SenderGroup.d.ts
│ │ ├── StructMessageCard.d.ts
│ │ └── telegram.d.ts
│ └── utils
│ │ ├── cyrb53.ts
│ │ ├── formatDate.ts
│ │ ├── getImageUrlByMd5.ts
│ │ ├── getUserAvatarUrl.ts
│ │ └── processHistory.ts
│ └── tsconfig.json
├── pnpm-lock.yaml
└── pnpm-workspace.yaml
/.editorconfig:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/.editorconfig
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/.gitignore
--------------------------------------------------------------------------------
/.idea/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/.idea/.gitignore
--------------------------------------------------------------------------------
/.idea/chatrecord-viewer.iml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/.idea/chatrecord-viewer.iml
--------------------------------------------------------------------------------
/.idea/codeStyles/codeStyleConfig.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/.idea/codeStyles/codeStyleConfig.xml
--------------------------------------------------------------------------------
/.idea/discord.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/.idea/discord.xml
--------------------------------------------------------------------------------
/.idea/inspectionProfiles/Project_Default.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/.idea/inspectionProfiles/Project_Default.xml
--------------------------------------------------------------------------------
/.idea/jsLibraryMappings.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/.idea/jsLibraryMappings.xml
--------------------------------------------------------------------------------
/.idea/modules.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/.idea/modules.xml
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/.idea/vcs.xml
--------------------------------------------------------------------------------
/.idea/watcherTasks.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/.idea/watcherTasks.xml
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/LICENSE
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/README.md
--------------------------------------------------------------------------------
/functions/api/add.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/functions/api/add.ts
--------------------------------------------------------------------------------
/functions/api/get/[hash].ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/functions/api/get/[hash].ts
--------------------------------------------------------------------------------
/functions/api/tg-avatar/[id].ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/functions/api/tg-avatar/[id].ts
--------------------------------------------------------------------------------
/main/index.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/main/index.html
--------------------------------------------------------------------------------
/main/package.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/main/package.json
--------------------------------------------------------------------------------
/main/src/App.module.sass:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/main/src/App.module.sass
--------------------------------------------------------------------------------
/main/src/App.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/main/src/App.tsx
--------------------------------------------------------------------------------
/main/src/env.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/main/src/main.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/main/src/main.ts
--------------------------------------------------------------------------------
/main/src/styles/global.sass:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/main/src/styles/global.sass
--------------------------------------------------------------------------------
/main/tsconfig.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/main/tsconfig.json
--------------------------------------------------------------------------------
/main/vite.config.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/main/vite.config.ts
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/package.json
--------------------------------------------------------------------------------
/packages/chat-record-view/package.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/packages/chat-record-view/package.json
--------------------------------------------------------------------------------
/packages/chat-record-view/src/Main.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/packages/chat-record-view/src/Main.tsx
--------------------------------------------------------------------------------
/packages/chat-record-view/src/assets/no-avatar.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/packages/chat-record-view/src/assets/no-avatar.webp
--------------------------------------------------------------------------------
/packages/chat-record-view/src/components/Bubble.module.sass:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/packages/chat-record-view/src/components/Bubble.module.sass
--------------------------------------------------------------------------------
/packages/chat-record-view/src/components/DateContainer.module.sass:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/packages/chat-record-view/src/components/DateContainer.module.sass
--------------------------------------------------------------------------------
/packages/chat-record-view/src/components/DateContainer.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/packages/chat-record-view/src/components/DateContainer.tsx
--------------------------------------------------------------------------------
/packages/chat-record-view/src/components/JsonElement.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/packages/chat-record-view/src/components/JsonElement.tsx
--------------------------------------------------------------------------------
/packages/chat-record-view/src/components/MessageBubble.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/packages/chat-record-view/src/components/MessageBubble.tsx
--------------------------------------------------------------------------------
/packages/chat-record-view/src/components/MessageElement.module.sass:
--------------------------------------------------------------------------------
1 | .messageContent
2 | white-space: pre-line
3 |
--------------------------------------------------------------------------------
/packages/chat-record-view/src/components/MessageElement.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/packages/chat-record-view/src/components/MessageElement.tsx
--------------------------------------------------------------------------------
/packages/chat-record-view/src/components/SenderContainer.module.sass:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/packages/chat-record-view/src/components/SenderContainer.module.sass
--------------------------------------------------------------------------------
/packages/chat-record-view/src/components/SenderContainer.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/packages/chat-record-view/src/components/SenderContainer.tsx
--------------------------------------------------------------------------------
/packages/chat-record-view/src/components/SenderNameBubble.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/packages/chat-record-view/src/components/SenderNameBubble.tsx
--------------------------------------------------------------------------------
/packages/chat-record-view/src/components/XmlElement.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/packages/chat-record-view/src/components/XmlElement.tsx
--------------------------------------------------------------------------------
/packages/chat-record-view/src/env.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/packages/chat-record-view/src/index.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/packages/chat-record-view/src/index.ts
--------------------------------------------------------------------------------
/packages/chat-record-view/src/types/BilibiliMiniApp.d.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/packages/chat-record-view/src/types/BilibiliMiniApp.d.ts
--------------------------------------------------------------------------------
/packages/chat-record-view/src/types/DateGroup.d.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/packages/chat-record-view/src/types/DateGroup.d.ts
--------------------------------------------------------------------------------
/packages/chat-record-view/src/types/MessageElemExt.d.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/packages/chat-record-view/src/types/MessageElemExt.d.ts
--------------------------------------------------------------------------------
/packages/chat-record-view/src/types/SenderGroup.d.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/packages/chat-record-view/src/types/SenderGroup.d.ts
--------------------------------------------------------------------------------
/packages/chat-record-view/src/types/StructMessageCard.d.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/packages/chat-record-view/src/types/StructMessageCard.d.ts
--------------------------------------------------------------------------------
/packages/chat-record-view/src/types/telegram.d.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/packages/chat-record-view/src/types/telegram.d.ts
--------------------------------------------------------------------------------
/packages/chat-record-view/src/utils/cyrb53.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/packages/chat-record-view/src/utils/cyrb53.ts
--------------------------------------------------------------------------------
/packages/chat-record-view/src/utils/formatDate.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/packages/chat-record-view/src/utils/formatDate.ts
--------------------------------------------------------------------------------
/packages/chat-record-view/src/utils/getImageUrlByMd5.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/packages/chat-record-view/src/utils/getImageUrlByMd5.ts
--------------------------------------------------------------------------------
/packages/chat-record-view/src/utils/getUserAvatarUrl.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/packages/chat-record-view/src/utils/getUserAvatarUrl.ts
--------------------------------------------------------------------------------
/packages/chat-record-view/src/utils/processHistory.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/packages/chat-record-view/src/utils/processHistory.ts
--------------------------------------------------------------------------------
/packages/chat-record-view/tsconfig.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/packages/chat-record-view/tsconfig.json
--------------------------------------------------------------------------------
/pnpm-lock.yaml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/pnpm-lock.yaml
--------------------------------------------------------------------------------
/pnpm-workspace.yaml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clansty/chatrecord-viewer/HEAD/pnpm-workspace.yaml
--------------------------------------------------------------------------------