From 6281a0d467e61bd7543edbc5d6df945faa39f61f Mon Sep 17 00:00:00 2001 From: suvodip ghosh Date: Thu, 26 Jun 2025 14:22:38 +0000 Subject: [PATCH 1/2] add live record function in speech to text --- .gitignore | 2 + astro.config.mjs | 6 +- edit.js | 25 + env_sample.txt | 24 + fix-php-tags-and-decode.cjs | 59 ++ package-lock.json | 673 ++++++++++++++++++ package.json | 3 +- src/components/AvatarUpload.tsx | 7 +- src/components/BillingInfo.jsx | 4 +- src/components/BuyServices/BuyVPN.jsx | 8 +- src/components/BuyServices/NewDroplet.jsx | 3 +- .../BuyServices/NewHetznerCloudInstance.jsx | 16 +- .../BuyServices/NewKubernetisUtho.jsx | 10 +- .../BuyServices/NewUthoCloudInstance.jsx | 12 +- src/components/BuyServices/STTStreaming.jsx | 4 +- src/components/CommentWithMD.jsx | 6 +- src/components/ContactForm.jsx | 5 +- src/components/DomainSetupForm.jsx | 11 +- src/components/DomainSetupForm_old.jsx | 13 +- src/components/Login.tsx | 10 +- src/components/MakePayment.jsx | 8 +- src/components/Manager/AllCustomerList.jsx | 8 +- src/components/Manager/AllSellingList.jsx | 10 +- src/components/Manager/HetznerList.jsx | 8 +- src/components/Manager/ViewAsUser.jsx | 5 +- src/components/MyTopic.jsx | 3 +- src/components/NewTopic copy.jsx | 8 +- src/components/NewTopic.jsx | 9 +- src/components/PasswordUpdateCard.tsx | 3 +- src/components/PaymentSuccessfully.jsx | 9 +- src/components/SignupPage.tsx | 6 +- src/components/Ticket.tsx | 14 +- src/components/Tools/AudioToText.jsx | 564 +++++++++++++-- src/components/TopicEdit.jsx | 11 +- src/components/Topics.jsx | 7 +- src/components/UserProfile.tsx | 13 +- src/lib/isLoggedIn.jsx | 5 +- src/pages/login_old.astro | 2 +- src/pages/services/index.astro | 5 +- src/pages/test.astro | 9 + ...dio-to-text.astro => speech-to-text.astro} | 3 +- yarn.lock | 396 ++++++++++- 42 files changed, 1825 insertions(+), 182 deletions(-) create mode 100644 edit.js create mode 100644 env_sample.txt create mode 100644 fix-php-tags-and-decode.cjs create mode 100644 src/pages/test.astro rename src/pages/web-tools/{audio-to-text.astro => speech-to-text.astro} (99%) diff --git a/.gitignore b/.gitignore index 6965039..c88a975 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,5 @@ pnpm-debug.log* .idea/ .vscode/ + +.env diff --git a/astro.config.mjs b/astro.config.mjs index 9bb85e6..570f7b4 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -4,13 +4,13 @@ import tailwind from '@astrojs/tailwind'; import react from '@astrojs/react'; export default defineConfig({ - site: 'https://siliconpin.cs1.hz.siliconpin.com', + site: 'https://sp-dev-h1-astgsbchdykdvtf.siliconpin.com', integrations: [tailwind(), react()], // Vite-specific settings (including proxy) vite: { server: { - allowedHosts: ['siliconpin.cs1.hz.siliconpin.com'], + allowedHosts: ['sp-dev-h1-astgsbchdykdvtf.siliconpin.com'], proxy: { '/api': { target: 'http://localhost:8080', // Your backend server @@ -21,7 +21,7 @@ export default defineConfig({ } }, preview: { - allowedHosts: ['siliconpin.cs1.hz.siliconpin.com'], + allowedHosts: ['sp-dev-h1-astgsbchdykdvtf.siliconpin.com'], } }, diff --git a/edit.js b/edit.js new file mode 100644 index 0000000..fb1955c --- /dev/null +++ b/edit.js @@ -0,0 +1,25 @@ + Profile Page +
SiliconPin Logo SiliconPin

Loading...