repo
stringlengths
8
123
branch
stringclasses
178 values
readme
stringlengths
1
441k
description
stringlengths
1
350
topics
stringlengths
10
237
createdAt
stringlengths
20
20
lastCommitDate
stringlengths
20
20
lastReleaseDate
stringlengths
20
20
contributors
int64
0
10k
pulls
int64
0
3.84k
commits
int64
1
58.7k
issues
int64
0
826
forks
int64
0
13.1k
stars
int64
2
49.2k
diskUsage
float64
license
stringclasses
24 values
language
stringclasses
80 values
HarmoniTech/flviator-frontend
main
# Getting Started with Create React App This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). ## Available Scripts In the project directory, you can run: ### `npm start` Runs the app in the development mode.\ Open [http://localhost:3000](http://localhost:3000) to view it in your browser. The page will reload when you make changes.\ You may also see any lint errors in the console. ### `npm test` Launches the test runner in the interactive watch mode.\ See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. ### `npm run build` Builds the app for production to the `build` folder.\ It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes.\ Your app is ready to be deployed! See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. ### `npm run eject` **Note: this is a one-way operation. Once you `eject`, you can't go back!** If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own. You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it. ## Learn More You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). To learn React, check out the [React documentation](https://reactjs.org/). ### Code Splitting This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting) ### Analyzing the Bundle Size This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size) ### Making a Progressive Web App This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app) ### Advanced Configuration This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration) ### Deployment This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment) ### `npm run build` fails to minify This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify) # Perfect Version 4 ( User Settings )
This is repository for flviator frontend
javascript,reactjs,typescript,scss
2024-03-30T08:50:05Z
2024-01-11T05:27:26Z
null
1
0
209
0
0
2
null
null
TypeScript
RanitManik/FrontendMentor-Solutions
main
<div align="center"> <h1>Frontend Mentor Solutions</h1> <table> <thead> <tr> <th>#</th> <th>Challenges</th> <th>Live Demo</th> </tr> </thead> <tbody> <tr> <td>01</td> <td><a href="01.%20Blog-preview-card">Blog Preview card</a></td> <td><a href="https://ranitmanik.github.io/FrontendMentor-Solutions/01.%20Blog-preview-card/index.html" target="_blank">Live Demo</a></td> </tr> <tr> <td>02</td> <td><a href="02.%20Results-summary-component">Results Summary component</a></td> <td><a href="https://ranitmanik.github.io/FrontendMentor-Solutions/02.%20Results-summary-component/index.html" target="_blank">Live Demo</a></td> </tr> <tr> <td>03</td> <td><a href="03.%20Product-preview-card-component">Product preview card component</a></td> <td><a href="https://ranitmanik.github.io/FrontendMentor-Solutions/03.%20Product-preview-card-component/index.html" target="_blank">Live Demo</a></td> </tr> <tr> <td>04</td> <td><a href="04.%20nft-preview-card-component">NFT preview card component</a></td> <td><a href="https://ranitmanik.github.io/FrontendMentor-Solutions/04.%20nft-preview-card-component/index.html" target="_blank">Live Demo</a></td> </tr> <tr> <td>05</td> <td><a href="05.%20QR%20code%20component">QR code component</a></td> <td><a href="https://ranitmanik.github.io/FrontendMentor-Solutions/05.%20QR%20code%20component/index.html" target="_blank">Live Demo</a></td> </tr> <tr> <td>06</td> <td><a href="06.%20Order-summary-component">Order summary component</a></td> <td><a href="https://ranitmanik.github.io/FrontendMentor-Solutions/06.%20Order-summary-component/index.html" target="_blank">Live Demo</a></td> </tr> <tr> <td>07</td> <td><a href="07.%20stats-preview-card-component">Stats preview card component</a></td> <td><a href="https://ranitmanik.github.io/FrontendMentor-Solutions/07.%20stats-preview-card-component/index.html" target="_blank">Live Demo</a></td> </tr> <tr> <td>08</td> <td><a href="08.%20testimonials-grid-section">Testimonials grid section</a></td> <td><a href="https://ranitmanik.github.io/FrontendMentor-Solutions/08.%20testimonials-grid-section/index.html" target="_blank">Live Demo</a></td> </tr> <tr> <td>09</td> <td><a href="09.%203-column-preview-card-component">3-column preview card component</a></td> <td><a href="https://ranitmanik.github.io/FrontendMentor-Solutions/09.%203-column-preview-card-component/index.html" target="_blank">Live Demo</a></td> </tr> <tr> <td>10</td> <td><a href="10.%20chat-app-css-illustration">Chat app CSS illustration</a></td> <td><a href="https://ranitmanik.github.io/FrontendMentor-Solutions/10.%20chat-app-css-illustration/index.html" target="_blank">Live Demo</a></td> </tr> <tr> <td>11</td> <td><a href="11.%20fylo-data-storage-component">Fylo data storage component</a></td> <td><a href="https://ranitmanik.github.io/FrontendMentor-Solutions/11.%20fylo-data-storage-component/index.html" target="_blank">Live Demo</a></td> </tr> <tr> <td>12</td> <td><a href="12.%20profile-card-component">Profile card component</a></td> <td><a href="https://ranitmanik.github.io/FrontendMentor-Solutions/12.%20profile-card-component/index.html" target="_blank">Live Demo</a></td> </tr> <tr> <td>13</td> <td><a href="13.%20social-links-profile">Social links profile</a></td> <td><a href="https://ranitmanik.github.io/FrontendMentor-Solutions/13.%20social-links-profile/index.html" target="_blank">Live Demo</a></td> </tr> <tr> <td>14</td> <td><a href="14.%20social-proof-section">Social proof section</a></td> <td><a href="https://ranitmanik.github.io/FrontendMentor-Solutions/14.%20social-proof-section/index.html" target="_blank">Live Demo</a></td> </tr> <tr> <td>15</td> <td><a href="15.%20single-price-grid-component">Single price grid component</a></td> <td><a href="https://ranitmanik.github.io/FrontendMentor-Solutions/15.%20single-price-grid-component/index.html" target="_blank">Live Demo</a></td> </tr> <tr> <td>16</td> <td><a href="16.%20recipe-page">Recipe page</a></td> <td><a href="https://ranitmanik.github.io/FrontendMentor-Solutions/16.%20recipe-page/index.html" target="_blank">Live Demo</a></td> </tr> <tr> <td>17</td> <td><a href="17.%20huddle-landing-page-with-single-introductory-section">Huddle landing page with single introductory section</a></td> <td><a href="https://ranitmanik.github.io/FrontendMentor-Solutions/17.%20huddle-landing-page-with-single-introductory-section/index.html" target="_blank">Live Demo</a></td> </tr> <tr> <td>18</td> <td><a href="18.%20four-card-feature-section">Four card feature section</a></td> <td><a href="https://ranitmanik.github.io/FrontendMentor-Solutions/18.%20four-card-feature-section/index.html" target="_blank">Live Demo</a></td> </tr> <tr> <td>19</td> <td><a href="19.%20huddle-landing-page-with-alternating-feature-blocks">Huddle landing page with alternating feature blocks</a></td> <td><a href="https://ranitmanik.github.io/FrontendMentor-Solutions/19.%20huddle-landing-page-with-alternating-feature-blocks/index.html" target="_blank">Live Demo</a></td> </tr> <tr> <td>20</td> <td><a href="20.%20fylo-landing-page-with-two-column-layout">Fylo landing page with two column layout</a></td> <td><a href="https://ranitmanik.github.io/FrontendMentor-Solutions/20.%20fylo-landing-page-with-two-column-layout/index.html" target="_blank">Live Demo</a></td> </tr> <tr> <td>21</td> <td><a href="21.%20huddle-landing-page-with-curved-sections">Huddle landing page with curved sections</a></td> <td><a href="https://ranitmanik.github.io/FrontendMentor-Solutions/21.%20huddle-landing-page-with-curved-sections/index.html" target="_blank">Live Demo</a></td> </tr> <tr> <td>22</td> <td><a href="22.%20clipboard-landing-page">Clipboard-landing-page</a></td> <td><a href="https://ranitmanik.github.io/FrontendMentor-Solutions/22.%20clipboard-landing-page/index.html" target="_blank">Live Demo</a></td> </tr> </tbody> </table> </div>
Frontend Mentor solurions
css,frontend-development,frontend-mentor,frontendmentor,frontendmentor-challenge,html,javascript,web,website,website-design
2024-04-29T10:18:23Z
2024-05-02T03:17:22Z
null
2
2
18
0
0
2
null
MIT
CSS
codeAlok/Namaste_React_Practice
master
# This repository contains followup code & notes from 💖 Namaste React Course 💖 by Akshay Saini 🚀 *** ### Note: All folders/episode code in this repo is extended code of previous episode (best way to follow this repo is to follow with the commits) ### Note: All episodes code are kept separated, so that it is easier to Rerevise and practice the concept later. ## Get Started: 👉Follow below steps to Clone & practice with this repository (run given command in terminal) 1. Clone this repo to your local system ```bash git clone git@github.com:codeAlok/Namaste_React_Practice.git ``` 2. Go to particular folder ```bash cd 1_Inception ``` 3. Install all packages/dependencies ```bash npm install ``` 4. Run the program ```bash npm start ``` 5. Server running at http://localhost:1234 . Here you go your app is live now. Open link in browser. ### 😍Build Projects Now💪
Repo contains all the code written and practiced while learning Namaste React from Akshay Saini with notes.
javascript,jsx,npm,parcel-bundler,reactjs,tailwindcss
2024-04-02T17:56:35Z
2024-05-10T19:01:52Z
null
1
0
37
0
2
2
null
null
JavaScript
the-minimal/validator
main
![Validator image](https://github.com/the-minimal/validator/blob/main/docs/the-minimal-validator.jpg?raw=true) Joe was in search of a simple data validation library that he could learn in 15 minutes. He envisioned a tool with minimal blocking time and low CPU/memory overhead. He hoped for something he could easily extend to meet his specific requirements. > Are you like Joe? If so, then `Validator` might just be what you're looking for! ## Stubborn opinions `Validator` is pretty stubborn and doesn't want to be a Jack of all trades. As a result it has many opinions that might not sit well with some folks. <details open> <summary><b>No data transformation</b></summary> Focusing solely on data validation allows us to greatly optimize this library. I advocate for tools that excel in a single task. I believe that, in most cases, we should validate data before performing any transformation. This approach simplifies and maintains a clear mental model of what data validation is and how it should be implemented in our applications. </details> <details> <summary><b>No asynchronous validations</b></summary> JSON data types do not require asynchronous validation. Avoid introducing side effects within validations. Don't do this: ```ts // definition const validate = and([ string, minLength(5), async (v) => { if(!(await File.exists(v))) { throw Error("File does not exist"); } } ]); // endpoint await assert(validate, filename); ``` Do this instead: ```ts // definition const validate = and([ string, minLength(5), ]); // endpoint assert(validate, filename); if(!(await File.exists(filename))) { throw Error("File does not exist"); } ``` </details> <details> <summary><b>No compilation or eval</b></summary> Compilation with `Function`/`eval` syntax is not allowed in all environments and, more importantly, it would mean maintaining two different runtime implementations, which I do not want. It also sacrifices initial blocking for faster subsequent runs, which might be useful in some scenarios. However, this library is primarily designed for serverless runtimes, where this would result in drastically slower performance. </details> <details> <summary><b>No methods like <code>extend</code>/<code>omit</code></b></summary> In order to allow such methods, we would have to make the schema accessible from the outside. This would change the design from using individual callable validations to using objects with properties, one of which is the validation. Additionally, this would make it possible, for example, to extend any object, even if we don't want users to have such capability. To address this issue, we would need to introduce some form of object schema freezing. All of this complicates the API, slows down the library, and increases the bundle size. You can make an object extendable by exporting its schema separately and then spreading it inside another schema. </details> <details> <summary><b>No validations like <code>map</code>/<code>set</code></b></summary> The main focus of this library is the data validation of JSON (primarily from fetch requests). JSON does not support these data types, so it makes no sense to include them in this library. If you want to use this library with these higher-level primitives, then I recommend validating the input of these primitives. </details> <details> <summary><b>No validations like <code>any</code>/<code>unknown</code></b></summary> You should always define concrete types. Otherwise, what's the point of using TypeScript together with this library? </details> <details> <summary><b>No validations like <code>null</code>/<code>undefined</code></b></summary> Checking strictly for `null` or `undefined` alone makes no sense. You always want to know if something can be _something_ or _nothing_. Therefore, you should always use `nullable`, `optional`, or `nullish` instead. </details> ## Focused features `Validator` is a watchful eye that plagues your editor with errors if you feed it data you haven't agreed upon, but otherwise, it stays quiet as a mouse. - Everything is an `Assertion` - `Assertion`s are simple functions - `Assertion`s are composed together - `Assertion`s are type-safe - `Assertion`s are tree-shakeable ## Incredible numbers `Validator` is an obsessed overachiever who wants to be the smallest and fastest one on the track. - 40 `Assertion`s - 835 bytes bundle - ~ 5x faster data validation than `Zod` - ~ 200x less memory consumption than `Zod` - ~ 50x faster type-checking than `Zod` - 1 runtime dependency - [@the-minimal/error](https://github.com/the-minimal/error) (135 bytes) - 100% test coverage ## Simple examples <details> <summary><b>How do I validate types?</b></summary> ```ts assert(string, "Hello, World!"); assert(number, 420); assert(boolean, true); ``` </details> <details> <summary><b>How do I validate values?</b></summary> ```ts value(26); notValue(0); minValue(18); maxValue(100); rangeValue(18, 100); ``` </details> <details> <summary><b>How do I validate lenghts?</b></summary> ```ts length(5); notLength(0); minLength(8); maxLength(16); rangeLength(8, 16); ``` </details> <details open> <summary><b>How do I combine validations?</b></summary> ```ts const register = object({ email: and([string, rangeLength(5, 35), email]), password: and([string, rangeLength(8, 16)]), role: union(["ADMIN", "USER"]), friends: array(string) }); assert( register, "Oh no this is gonna throw" ); assert( register { email: "yamiteru@icloud.com", password: "Test123456", role: "ADMIN", friends: ["Joe"] } ); ``` </details> ## Great journey Are you really Joe? Do you dare to let this demon command you? If so, repeat the spell below and good luck on your journey! ```bash yarn add @the-minimal/validator ``` ## Notes - All reported sizes are for minified and gzipped code - Reproducible and highly detailed benchmarks are on the way - `Validation` and `Assertion` are the same things
Minimal validation library for the brave
data-validation,data-validator,javascript,typescript,validation,validator
2024-03-15T10:07:36Z
2024-05-12T19:30:15Z
2024-05-12T19:30:15Z
1
0
128
0
0
2
null
MIT
TypeScript
bishwenduk029/ai-voice
main
# AI-Voice ## Description Inspired by Vercel's Language Model Specification, this is a proposal for introducing a Speech Model Specification to streamline the integration of various speech providers into our platform. This specification aims to provide a standardized interface for interacting with different speech models, eliminating the complexity of dealing with unique APIs and reducing the risk of vendor lock-in. ## Problem Statement Currently, there are numerous speech providers available, each with its own distinct method for interfacing with their models. This lack of standardization complicates the process of switching providers and increases the likelihood of vendor lock-in. Developers are required to learn and implement different APIs for each provider, leading to increased development time and maintenance overhead. The open-source community has created the following providers: - OpenAI Provider (@bishwenduk029-ai-voice/openai) - Elevenlabs Provider (@bishwenduk029-ai-voice/elevenlabs) - Deepgram Provider (@bishwenduk029-ai-voice/deepgram) - PlayHt Provider (@bishwenduk029-ai-voice/playht) ## Features 1. React Hook `useVoiceChat` for easy transcription and streaming voice chat in client side. 2. Consistent API for streaming speech response from various AI speech providers. 3. Works well with `streamText` from [Vercel AI SDK](https://sdk.vercel.ai/docs/ai-sdk-core/providers-and-models). ## Installation ```sh pnpm install @bishwenduk029/ai-voice ``` ![alt text](spec_v1.png) ## Usage ### Client Side React Hook 🎙️ Real-Time Speech Transcription React Hook Seamlessly integrate real-time speech transcription into your React applications with this powerful and efficient hook! 🚀 ✨ Hook Capabilities - 🎤 Detect human speech end or silence using the robust @ricky0123/vad-react library - ⏱️ Intelligently debounce speech input, ensuring continuous recording and transcription as long as the user speaks within a configurable time frame (e.g., 500ms) - 🗣️ Gracefully handle speech interruptions, allowing users to pause and resume speaking naturally - 🌐 Efficiently trigger REST calls for transcription, optimizing performance by waiting for the user to pause before sending requests - 🔌 Easy to integrate into your existing React projects, with a simple and intuitive API ```ts ... import { useVoiceChat } from '@bishwenduk029/ai-voice/ui' ... export default function Chat({ id, initialMessages, className }: ChatProps) { const { speaking, listening, thinking, initialized, messages, setMessages } = useVoiceChat({ api: '/api/chat/voice', initialMessages, transcribeAPI: '/api/transcribe', body: { id }, speakerPause: 500, onSpeechCompletion: async () => { if (id) { const chat = await getChat(id) setMessages(chat?.messages || []) } } }) return ( <> <div className={cn('pb-[200px] pt-4 md:pt-10', className)}> {messages.length ? ( <> <ChatList messages={messages} /> <ChatScrollAnchor trackVisibility={initialized} /> </> ) : ( <EmptyScreen /> )} </div> <ChatPanel id={id} initialized={initialized} speaking={speaking} listening={listening} thinking={thinking} messages={messages} /> </> ) } ``` ### Hook up Server APIs `/api/chat/voice` ```ts import 'server-only' ... import { streamText } from 'ai' import { ollama, createOllama } from 'ollama-ai-provider' import { openaiSpeech, playhtSpeech, streamSpeech } from '@bishwenduk029/ai-voice/server' ... export const runtime = 'edge' const model = ollama('llama3:latest') export async function POST(req: Request) { const cookieStore = cookies() const supabase = createRouteHandlerClient<Database>({ cookies: () => cookieStore }) const json = await req.json() const { messages } = json // const userId = (await auth({ cookieStore }))?.user.id // if (!userId) { // return new Response('Unauthorized', { // status: 401 // }) // } const systemPrompt = ` Your role is to act as a friendly human assistant by the user preferred name. Your given name is Nova. ` const result = await streamText({ model, messages: [ { role: 'system', content: `${systemPrompt}` }, ...messages.map((message: { role: any; content: any }) => ({ role: message.role, content: message.content })) ] }) // OpenAI - env:OPENAI_API_KEY const speechModel = openaiSpeech( 'tts-1', //openai_speech_model 'nova' //openai_voice_id ) // ElevenLabsIO - env:ELEVENLABS_API_KEY // const speechModel = elevenlabsSpeech( // 'eleven_turbo_v2', //elevenlabs_speech_model // 'DIBkDE5u33APYlfhjihh' //elevenlabs_voice_id // ) // PlayHt - env:PLAYHT_API_KEY // const speechModel = playhtSpeech( // 'PlayHT2.0-turbo', //playht_speech_model // '<your-playht-user-id>', // "s3://voice-cloning-zero-shot/1afba232-fae0-4b69-9675-7f1aac69349f/delilahsaad/manifest.json" //playht_voice_id // ) // Deepgram - env:DEEPGRAM_API_KEY // const speechModel = deepgramSpeech("aura-asteria-en") try { const speech = await streamSpeech(speechModel)(result.textStream) return new Response(speech, { headers: { 'Content-Type': 'audio/mpeg' } }) } catch (error) { console.log(error) return new Response(null, { status: 500 }) } } ``` ## Limitations Currently the speech streaming only works for english text streams. Multi-lingual support in future. ## Roadmap - [x] Speech Model Specification Done - [ ] Improve the implementation of sentence-boundary detection algorithm for the text stream to sentence stream conversion - [ ] Add more tests - [ ] Enhance the specification to also take case of WebSocket-based Speech Providers
🗣️ AI-Voice: Seamless Voice Integration for AI Apps
ai,ai-voice,api,generative-ai,javascript,language-model,llm,nextjs,openai,react
2024-03-26T06:33:35Z
2024-05-12T18:50:43Z
null
2
2
13
0
0
2
null
null
TypeScript
SakshiRai01/Page-Turner-Tracker
main
# Getting Started with Create React App This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). ## Available Scripts In the project directory, you can run: ### `npm start` Runs the app in the development mode.\ Open [http://localhost:3000](http://localhost:3000) to view it in your browser. The page will reload when you make changes.\ You may also see any lint errors in the console. ### `npm test` Launches the test runner in the interactive watch mode.\ See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. ### `npm run build` Builds the app for production to the `build` folder.\ It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes.\ Your app is ready to be deployed! See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. ### `npm run eject` **Note: this is a one-way operation. Once you `eject`, you can't go back!** If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own. You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it. ## Learn More You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). To learn React, check out the [React documentation](https://reactjs.org/). ### Code Splitting This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting) ### Analyzing the Bundle Size This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size) ### Making a Progressive Web App This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app) ### Advanced Configuration This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration) ### Deployment This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment) ### `npm run build` fails to minify This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
Never lose track of your next read again! This user-friendly React app lets you build your personalized reading list by easily adding books you want to conquer. Keep your literary goals organized and stay motivated with your bookshelf of digital delights.
css,html,javascript,react
2024-04-12T11:50:10Z
2024-04-24T17:58:30Z
null
1
0
14
0
0
2
null
null
JavaScript
RayVilaca/template-curriculo
main
<h1 style="display: flex; align-items: center;"> Template de currículo com HTML, CSS e JavaScript </h1> Este é um modelo de currículo com um modo noturno incorporado, desenvolvido utilizando HTML, CSS e JavaScript. No canto superior direito, há um botão de alternância para mudar entre os modos claro e escuro. Além disso, o arquivo index.html contém comentários que orientam o usuário a preencher os campos com suas informações pessoais. <div class="container" style="display: flex; justify-content: space-between;"> <img src="https://drive.usercontent.google.com/download?id=1vMJnyeH3y7-M-pUF9l4DIUgGWrc5OOZp" width="400" alt="Imagem 1"> <img src="https://drive.usercontent.google.com/download?id=15U7-OOR6a446wEFztxJPeIKlxbYWdOwF" width="400" alt="Imagem 2"> </div>
Este é um modelo de currículo com um modo noturno incorporado, desenvolvido utilizando HTML, CSS e JavaScript.
css,curriculo,curriculo-simples,html,javascript
2024-03-23T18:27:22Z
2024-03-23T19:21:24Z
null
1
0
3
0
1
2
null
null
HTML
stefan2do/ip-address-tracker
master
<div align="center"> # IP Address Tracker 📍A website to track and obtain information based on an IP address or a domain. This is a solution to the [IP Address Tracker challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/ip-address-tracker-I8-0yYAH0). To get the IP Address info I used the [IP Geolocation API by IPify](https://geo.ipify.org/). To generate the map I used [LeafletJS](https://leafletjs.com/). [Live Page][live-page] </div> <details> <summary>Table of contents</summary> - [Overview](#overview) - [The challenge](#the-challenge) - [Screenshots](#screenshots) - [Links](#links) - [My process](#my-process) - [Built with](#built-with) - [What I learned](#what-i-learned) - [Useful resources](#useful-resources) - [Author](#author) </details> ## Overview ### The challenge Users should be able to: - View the optimal layout for each page depending on their device's screen size - See hover states for all interactive elements on the page - See their own IP address on the map on the initial page load - Search for any IP addresses or domains and see the key information and location ### Screenshots <table> <tr> <td> <img src="./screenshots/mobile.webp" width="100%" title="Mobile solution" /> </td> <td> <img src="./screenshots/desktop.webp" width="100%" title="Desktop solution"/> </td> </tr> </table> ### Links - [Live Page][live-page] ## My process ### Built with - [React](https://reactjs.org/) - JS library - [Styled Components](https://styled-components.com/) - For styles - [Vitejs](https://vitejs.dev) - [Axios](https://axios-http.com) - [LeafletJS](https://leafletjs.com/) - For map generation - [IP Geolocation API by IPify](https://geo.ipify.org/) - To obtain the information of the IP or domain <p align="right">(<a href="#top">back to top</a>)</p> ### What I learned This challenge in particular was easy except for one thing: updating the map when getting the information, in the official Leaflet documentation it is made clear that the map is immutable, so I decided to investigate and found [React Leaflet](https://react-leaflet.js.org), which made it much easier for me. To update the map I used React's key. At the end the code of the map is as follows: ```js <MapContainer key={JSON.stringify([info.location.lat, info.location.lng])} center={[info.location.lat || 0, info.location.lng || 0]} zoom={17.5} id="map" > <TileLayer attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors' url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" /> <Marker position={[info.location.lat || 0, info.location.lng || 0]} icon={locationIcon} ></Marker> </MapContainer> ``` <p align="right">(<a href="#top">back to top</a>)</p> ### Useful resources - [React Leaflet](https://react-leaflet.js.org) - Made it easy for me to use leaflet in React <p align="right">(<a href="#top">back to top</a>)</p> [live-page]: https://ip-trackerr.vercel.app
📍 A website to track and obtain information based on an IP address or a domain. This is a solution to the IP address tracker challenge on Frontend Mentor. To get the IP Address info I used the IP Geolocation API by IPify. To generate the map I used Leaflet.js.
axios,frontend-mentor,ipify,javascript,leafletjs,reactjs,styled-components,vite
2024-03-26T10:55:57Z
2024-03-26T11:03:53Z
null
1
0
2
0
0
2
null
null
JavaScript
roziannn/jobHunt_Project
main
<p align="center"><a href="https://laravel.com" target="_blank"><img src="https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg" width="400" alt="Laravel Logo"></a></p> <p align="center"> <a href="https://github.com/laravel/framework/actions"><img src="https://github.com/laravel/framework/workflows/tests/badge.svg" alt="Build Status"></a> <a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/dt/laravel/framework" alt="Total Downloads"></a> <a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/v/laravel/framework" alt="Latest Stable Version"></a> <a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/l/laravel/framework" alt="License"></a> </p> ## About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as: - [Simple, fast routing engine](https://laravel.com/docs/routing). - [Powerful dependency injection container](https://laravel.com/docs/container). - Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage. - Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent). - Database agnostic [schema migrations](https://laravel.com/docs/migrations). - [Robust background job processing](https://laravel.com/docs/queues). - [Real-time event broadcasting](https://laravel.com/docs/broadcasting). Laravel is accessible, powerful, and provides tools required for large, robust applications. ## Learning Laravel Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework. You may also try the [Laravel Bootcamp](https://bootcamp.laravel.com), where you will be guided through building a modern Laravel application from scratch. If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains thousands of video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library. ## Laravel Sponsors We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the [Laravel Partners program](https://partners.laravel.com). ### Premium Partners - **[Vehikl](https://vehikl.com/)** - **[Tighten Co.](https://tighten.co)** - **[WebReinvent](https://webreinvent.com/)** - **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)** - **[64 Robots](https://64robots.com)** - **[Curotec](https://www.curotec.com/services/technologies/laravel/)** - **[Cyber-Duck](https://cyber-duck.co.uk)** - **[DevSquad](https://devsquad.com/hire-laravel-developers)** - **[Jump24](https://jump24.co.uk)** - **[Redberry](https://redberry.international/laravel/)** - **[Active Logic](https://activelogic.com)** - **[byte5](https://byte5.de)** - **[OP.GG](https://op.gg)** ## Contributing Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions). ## Code of Conduct In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct). ## Security Vulnerabilities If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed. ## License The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT). ## Added 1. Laravel Breeze -> changes to multi authentication system: admin, company, candidate 2. Laravel Ide Helper package
Laravel-based web app for job seekers and company. It's user-friendly, allowing multiple accounts and streamlined job searches. Job seekers can create profiles, search listings, and apply, while employers can post jobs and manage applications. It's a versatile platform, enhancing job market connectivity with its multi-account support.
javascript,laravel10,php-library
2024-04-02T14:10:38Z
2024-05-23T08:49:20Z
null
1
0
47
0
0
2
null
null
JavaScript
ReFo0/nodejs-mysql-login
ReFo
# Node.js MySQL Login Application This simple Node.js application allows a user to sign up and log in. User credentials are stored in a MySQL database. ![](https://img.shields.io/github/stars/refo0/nodejs-mysql-login) ![](https://img.shields.io/github/forks/refo0/nodejs-mysql-login) ## Installation 1. First, clone this project: ```bash git clone <repository_url> ``` 2. Change directory: ```bash cd nodejs-mysql-login ``` 3. Install the required packages: ```bash npm install express mysql body-parser ``` 4. Set up your MySQL database and create a database. Then create a database named `loginpage`. 5. Update your MySQL connection details in the `index.js` file: ```javascript const db = mysql.createConnection({ host: 'localhost', user: 'root', password: '', // Your MySQL password database: 'loginpage' }); ``` 6. Start the server: ```bash node index.js ``` ## Usage - Once the application is running, you can access the application by going to `http://localhost:3000/login.html` in your browser. - To sign up, visit the "/signup" page and enter the required information. - To log in, visit the "/login" page and use the credentials you signed up with. ## Photo ![image](https://github.com/ReFo0/nodejs-mysql-login/assets/77904942/8358435c-b716-47f8-b2ab-e8ffcdc8e750) ## Video https://github.com/ReFo0/nodejs-mysql-login/assets/77904942/c8f5e29c-a553-43c8-92bd-7a0fe0c1cc76 ## License This project is licensed under the MIT License. See the `LICENSE` file for more information.
Node.js MySQL Login System
css,database,html,html-css-javascript,html5,java,javascript,mysql,node,nodejs
2024-03-22T11:31:26Z
2024-03-22T11:43:51Z
null
1
0
10
0
0
2
null
MIT
JavaScript
JamesFlanders/formative
main
<p align="center"> <img src="https://i.imgur.com/an4hEwO.png" alt="Logo" width="250" height="250"/> </p> <h1 align="center">Formative</h1> <p align="center"> <b>Form·ative</b> / <i>noun</i><br> Serving to form something </p> --- <p align="center"> <a href="https://opensource.org/licenses/MIT"><img alt="GitHub License" src="https://img.shields.io/github/license/JamesFlanders/formative"></a> <a href="https://github.com/JamesFlanders/formative/releases"><img alt="GitHub Release" src="https://img.shields.io/github/v/release/JamesFlanders/formative"></a> <a href="https://github.com/JamesFlanders/formative/actions/workflows/build_and_release_frontend.yml"><img alt="GitHub Actions Workflow Status" src="https://img.shields.io/github/actions/workflow/status/JamesFlanders/formative/build_and_release_frontend.yml"></a> <a href="https://paypal.me/JensCaenen"><img alt="Static Badge" src="https://img.shields.io/badge/Donate-PayPal-blue"></a> </p> --- # :question: What is Formative ? Formative is an out-of-the-box frontend for backend services that do not have a frontend on their own. Some examples of use-cases for Formative: - You have a cool API, but do not have the frontend skills to provide an interface for the users of your API. - You want to manage information in a database without directly querying through SQL-queries. <sup>Disclaimer: These above-mentioned use-cases might not be supported yet as Formative is still in an early (alpha) phase.</sup> # :closed_book: Documentation In the future, more documentation will be provided in a GitHub wiki. As of now, you can execute the following Docker run command: ```shell docker run --name formative-frontend -t \ -p 8080:80 \ -v volume_formative_images:/usr/share/nginx/html/images \ -v volume_formative_config:/usr/share/nginx/html/config \ --restart unless-stopped \ -d ghcr.io/jamesflanders/formative-frontend:latest ``` <sup>Note: Only amd64 and arm64 architectures are currently supported.</sup> This will start Formative and serve it on http://localhost:8080. # :calendar: Roadmap ## Stages of development ### :a: Alpha **The MVP Phase**\ Within the alpha of Formative, it is the goal to achieve a minimal viable product (MVP) that has a rich set of basic features that makes Formative useful for many use-cases. #### Minimal conditions for Beta - [ ] Add additional action types (e.g 'SQL') - [ ] Add additional field types (e.g. 'Email', 'Radio', 'Range selector',...) - [ ] Add easy custom theme options - [ ] Add (sufficient) documentation on the usage of Formative - [ ] Add usage of users within Formative - [ ] Add Role Base Access Control (permissions) within Formative - [ ] Provide an easy-to-use form editor for it within Formative. - [ ] Add architecture support for arm/v6 and arm/v7 (Raspberry Pi) ### :b: Beta **The Stabilisation Phase**\ Within the beta of Formative, it is the goal to achieve a stable platform that can be safely used in even ' enterprise' environments. #### Minimal conditions for Release To be defined once the Alpha phase has surpassed. ### :registered: Release **The Release Phase**\ Within this release phase, all mentioned goals in the other 2 phases have been completed, and the idea is now to keep the Formative 'fresh' with features and regular updates and patches. # :handshake: Contributing Contact me directly on GitHub if you are interested in contributing. No proper process for contributors has been developed yet. # :copyright: License [MIT License](https://opensource.org/licenses/MIT)\ Copyright (c) 2024 [James Flanders](https://github.com/JamesFlanders)
Formative is an out-of-the-box frontend for backend services that do not have a frontend on their own.
docker,docker-compose,javascript,nodejs,vue,vuejs,css,html,scss
2024-03-17T09:38:12Z
2024-03-30T13:53:33Z
2024-03-30T13:37:25Z
1
2
16
0
0
2
null
MIT
Vue
LakshayD02/GitHunt_Github_Finder
main
# GitHunt_Github_Finder Githunt, a sleek and intuitive profile finder website built using ReactJS, the powerful GitHub API, and Semantic UI. With Githunt, users can effortlessly search for GitHub profiles by name or username, gaining insight into users' repositories, followers, and contributions. Description : GitHub API: Githunt utilizes the GitHub API to fetch data about GitHub users, including their repositories, followers, and contributions. This API allows Githunt to provide users with real-time and accurate information about GitHub profiles. Semantic UI: Githunt leverages Semantic UI, a modern UI framework, to enhance the website's design and user interface. Semantic UI provides a set of pre-designed components and styles, making it easy to create a visually appealing and responsive website. Deployed Link - https://githunt-lakshay.vercel.app
Githunt, a sleek and intuitive profile finder website built using ReactJS, the powerful GitHub API, and Semantic UI. With Githunt, users can effortlessly search for GitHub profiles by name or username, gaining insight into users' repositories, followers, and contributions.
css,css3,github-finder-app,github-finder-reactjs,githubapi,html,html-css-javascript,html5,javascript,jsx
2024-03-30T13:50:35Z
2024-03-30T15:17:40Z
null
1
0
4
0
0
2
null
null
JavaScript
sharph/nanometer
main
# nanometer 🔴🟢🔵 ![nanometer gif animation preview](nanometer.gif) A micro framework for controlling ILDA show lasers with JavaScript/TypeScript over WebSockets, with a focus on delivering a stream of points. Based on [`@laser-dac`](https://github.com/Volst/laser-dac) which is doing much of the heavy lifting here. ## Setup ```bash npm i ``` ## Example ### Run the server ```bash npx ts-node src/server.ts ``` The server will print the URL of a laser simulator you can visit in your web browser. If you have an [Ether Dream](https://ether-dream.com/) attached you can set the `USE_ETHER_DREAM` environment variable to a truthy value and it will use it in addition to providing you with a simulator. ### Connect a client ```bash npx ts-node src/sin.ts # Math.sin example ``` ### [p5.js](https://p5js.org/) ![nanometer running in p5js screenshot](p5js-screenshot.png) You can connect a p5js sketch to the Nanometer server. See the [included example](https://editor.p5js.org/sharp/sketches/H3moGj3DP) in `examples/p5`.
A micro framework for controlling ILDA show lasers with JavaScript/TypeScript over WebSockets, with a focus on delivering a stream of points.
etherdream,ilda,javascript,typescript
2024-03-29T16:16:08Z
2024-04-01T21:19:20Z
null
1
0
16
0
0
2
null
null
TypeScript
Alef-Basilio/E-commerce---FrontEnd
master
<h2 align="center">Deploy link:</h2> @[Product Online Store](https://alef-basilio.github.io/E-commerce---FrontEnd/) ``` https://alef-basilio.github.io/E-commerce---FrontEnd/ ``` <h1 align="center" style="color: #805ad5; font-weight: bold;">Product Online Store</h1> <p align="center"> Topics: <a href="#tech">Technolgies</a> | <a href="#how">How was made</a> | <a href="#obj">Objective</a> </p> <p align="center"> <b>An e-commerce where the user can browse the home page and see the products.</b> </p> <p align="center"> <p> <img src="./public/assets/images/interface.png" width="100%"> </p> </p> <h2 id="tech" align="center">Technologies</h2> HTML, CSS and JavaScript. <!--### Client: ### Server:--> ### API: Fake Store Api. <h2 id="how" align="center">How was made</h2> I was inspired by common things in the interface of other e-commerces and aimed to standardize the code for easy reading through order patterns, also using naming methods for functions, classes and files. </br> I made a class in the API fetch trying to make it easier to use later, but I didn't follow SOLID's Single Responsibility Principle, although it really made it easier. </br> All elements was responsive since from creation for all different devices. <h2 id="obj" align="center">Objective</h2> Understand how different technologies (JS, Git, etc.) and concepts are combined into the same application.
An e-commerce where the user can browse the home page and see the products.
javascript,js,frontend,fakestoreapi
2024-04-03T19:06:34Z
2024-04-10T19:23:33Z
null
1
0
70
0
0
2
null
null
JavaScript
lauropjdutra/devcoffee
main
<img src="./assets/mockup.png"> ## 📝 Sobre O projeto <b>DevCoffee</b> trata-se de uma landing page de cafeteria que apresenta uma variedade de cafés no cardápio e outras informações. O projeto foi desenvolvido tanto para desktops quanto para dispositivos móveis, contando com um design responsivo que se adapta a qualquer formato de tela. ## 🖥 Tecnologias Este projeto foi desenvolvido com HTML, CSS e JavaScript.
Projeto desenvolvido com HTML, CSS e JavaScript.
css,html,javascript
2024-03-27T01:26:50Z
2024-03-31T23:39:38Z
null
1
0
5
0
0
2
null
null
HTML
babudevandla/Online-Banking
main
# Smart Online-Banking ## Introduction The Bank Management System is a web-based application developed using Spring Boot that aims to streamline various banking operations. This system offers features to manage customer accounts and perform transactions. Spring Boot Online Banking About This is a project for practicing Spring Boot + Thymeleaf. The idea was to build Smart online banking system. It was made using Spring Boot, Spring Security, Thymeleaf, Spring Data JPA, Spring Data R ST, JavaScript, JQuery. Database is MYSQL Workbench. Online Banking Requirements ## About The Banking system consists of two parts: User-Front and Admin-Portal. Front-End is a user-facing system and it includes such modules as User Signup/Login, Account, Bank Transfer, Appointment, Transaction, Creditcards and User Profile. ## Technologies Used - Java 17 - Spring Boot - Spring Security - Spring Data JPA - MYSQL - Maven - Hibernate - Spring Mail - Thymeleaf - HTML ## Contributing Contributions to the Smart Bank Management System project are welcome! If you'd like to contribute: 1. Fork the repository. 2. Create a new branch for your feature. 3. Commit your changes. 4. Push the branch. 5. Open a Pull Request explaining your changes.
Welcome to the Spring Boot Online Banking Application call it as "Smart Bank" Explore user registration, account management, fund transfers, and transactions. Credit card, Loans, Settings, Follow our guide to configure application and unleash the power of this banking operations.
banking-applications,bankingsystem,hibernate-jpa,hibernate-orm,html5,javascript,mysql,mysql-database,spring-boot,spring-security
2024-03-27T10:30:44Z
2024-04-16T05:00:16Z
null
1
0
39
0
1
2
null
null
HTML
vaskovicdejan/Birthday-Wisher
master
# 🎉Birthday Wisher with Countdown!🎉 Made with React with Hooks. ## Getting started You can view a live demo over at https://birthday-wisher.netlify.app/ To get It running locally: - Clone this repo - `npm install` to install all req'd dependencies - `npm start` to start the local server (this project uses create-react-app) ## Usage: Visit [https://birthday-wisher.netlify.app/]() Click on Generate Link or Head to [https://birthday-wisher.netlify.app/generate]() Enter the `name , day , month of birthday` ![ScreenShot of Form](screenshots/generate.png) Click on Generate Link You Can see a Link being generated Copy or Visit the link by Clicking on the Button And There You Go ! 🎉 ![ScreenShot of Form](screenshots/duma.png) ## ScreenShot of Coutdown Timer⏲️ ![ScreenShot of Countdown](screenshots/countdown.png) ## Birthday Wisher🎂 Loads this Page Instead of Coutdown on the Birthday ![ScreenShot of Countdown](screenshots/wishPage.png) It's Fully Responsive and you change styles in the `app.css` Wishing Component Page : `Wish.jsx` Countdown Compenent Page : `Countdown.jsx`
Our ReactJS solution makes birthday wishes a breeze for those who struggle to remember, ensuring every celebration is acknowledged.
birthday,birthday-reminder,css,html,javascript,reactjs
2024-04-18T21:59:19Z
2021-02-27T08:14:43Z
null
1
0
13
0
0
2
null
MIT
JavaScript
Aditya-Ranjan1234/QR_Code_Generator
main
# QR Code Generator with Text Input This is a simple QR Code Generator web application built with Node.js, Express.js, and qr-image library. It allows users to input text, which then generates a corresponding QR code image. ## Features - Generates QR codes from user input text - Simple and easy-to-use web interface - Utilizes Express.js for routing and server setup - Parses incoming request bodies using body-parser middleware - Uses qr-image library to generate QR code images ## Setup ### Prerequisites - Node.js installed on your system ### Installation 1. Clone this repository to your local machine: ```bash git clone https://github.com/Aditya-Ranjan1234/QR_Code_Generator.git ``` 2. Navigate to the project directory: ```bash cd QR_Code_Generator ``` 3. Install dependencies using npm: ```bash npm install ``` ### Usage 1. Start the server: ```bash nodemon index.js ``` 2. Open your web browser and visit [http://localhost:3000](http://localhost:3000) 3. Enter the text you want to convert into a QR code. 4. Click the "Generate QR Code" button. 5. Your QR code image will be displayed on the screen. ## Dependencies - [Express.js](https://expressjs.com/) - Fast, unopinionated, minimalist web framework for Node.js. - [body-parser](https://www.npmjs.com/package/body-parser) - Node.js body parsing middleware to parse incoming request bodies. - [qr-image](https://www.npmjs.com/package/qr-image) - Library to generate QR codes in Node.js. ## License This project is licensed under the GNU General Public License v3.0 - see the [LICENSE](LICENSE) file for details. ## Acknowledgments - Inspired by the need for a simple QR code generator with text input.
QR Code Generator
beginner-project,expressjs,javascript,qrcode-generator
2024-04-10T16:14:06Z
2024-04-18T14:40:21Z
null
1
0
39
0
0
2
null
GPL-3.0
JavaScript
mansidhamne/portfolio_mansi
master
<h2 align="center"> Portfolio Website<br/> <a href="https://portfolio-mansi.vercel.app/" target="_blank">Mansi | Portfolio</a> </h2> <div align="center"> <img alt="Demo" src="https://github.com/mansidhamne/portfolio_mansi/assets/129254413/aae0e47f-5125-4bea-8a4e-1aab143d3fbb" width="700px" /> </div> <br/> <div align="center"> [![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](https://forthebadge.com) &nbsp; </div> <h4 align="center"> • <a href="https://github.com/mansidhamne/portfolio/issues">Report Bug</a> &nbsp; &nbsp; • <a href="https://github.com/mansidhamne/portfolio/issues">Request Feature</a> </h3> ## TL;DR You can fork this repo to modify and make changes of your own. Please give me proper credit by linking back to [mansidhamne](https://github.com/mansidhamne/portfolio) Thanks! ## Built With My personal portfolio <a href="https://portfoliomansi.vercel.app/" target="_blank">Mansi | Portfolio </a> which features some of my github projects as well as my resume and technical skills.<br/> This project was built using these technologies. - React.js - Vite - Tailwind CSS - Node.js - Three.js - Framer - Emailjs - VSCode - Vercel ## Features **🌎 3D components using the fascinating Three.js library** **💡 Maximum accessibility with dark and light mode** **🎨 Styled with TailwindCSS and animations using framer motion** **📱 Fully Responsive** ## Getting Started Clone down this repository by:- `git clone https://github.com/mansidhamne/portfolio_mansi.git` ## 🛠 Installation and Setup Instructions 1. Installation: `npm install` 2. In the project directory, you can run: `npm run dev` Runs the app in the development mode.\ Open [http://localhost:5173](http://localhost:5173) to view it in the browser. The page will reload if you make edits. ## Usage Instructions Open the project folder and Navigate to `/src/components/`. <br/> You will find all the components used and you can edit your information accordingly. ### Show your support Give a ⭐ if you like this website!
My Portfolio Website
framer-motion,javascript,portfolio,portfolio-website,tailwindcss,three-js,uiux,vitejs
2024-04-20T15:24:32Z
2024-04-21T16:58:14Z
null
1
0
13
0
0
2
null
null
JavaScript
GunaPalanivel/Aura-Smart-Cycle
main
# Aura ### Description Aura is a sophisticated web application built with React, aimed at transforming the way people approach cycling. It offers a comprehensive solution for bike rentals, urban commuting, and cycling enthusiasts. By seamlessly integrating AI technology, Aura provides intuitive navigation, optimal performance, and precise control, making every ride safe and enjoyable. # This Is a Hackathan Project ### [Project by Madras Institute of Technology is an engineering institute located in Chromepet, Chennai, India.](https://www.mitindia.edu/en/) ### Statement From MIT Event Name: Samhita'24 happaned on 16-03-2024 to 17-03-2024. TrackED - Smart Cycle Rentals and Tracking System Features Expected - Realtime cycle management - Availability and access - Booking management - Tracking and map integration - Integration of AI preferrable # LinkedIn Post To know More [Click Here](https://www.linkedin.com/posts/guna-palanivel_aura-hackathon-innovation-activity-7176974324774367232-BSgZ?utm_source=share&utm_medium=member_desktop). # Our Team Members (Team Name - Mavericks) 1. [Guna Palanivel](https://www.linkedin.com/in/guna-palanivel/) 2. [Pranav KR](https://www.linkedin.com/in/pranav-k-r/) 3. [Manoj SR](https://www.linkedin.com/in/manoj-sasikumar/) 4. [Sri Ram](https://www.linkedin.com/in/sriram1827/) 5. [Dinesh Raj](https://www.linkedin.com/in/dinesh-raj-r/) # Technologies Used - [HTML](https://developer.mozilla.org/en-US/docs/Web/HTML) - [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS) - [JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript) - [React](https://react.dev/) - [TypeScript](https://www.typescriptlang.org/) - [Material UI](https://mui.com/material-ui/) # Installation It is developed using React and contains various components and dependencies. Below is a guide on how to set up and run the project after cloning it from GitHub. ## Cloning and Running a React Project from GitHub Follow these steps to clone a Aura project from GitHub and run it locally: 1. **Clone the Repository:** - Open your terminal or command prompt. - Use the `git clone` command followed by the repository URL. For example: ``` git clone https://github.com/username/repository-name.git ``` - Run this command `https://github.com/GunaPalanivel/Aura-Smart-Cycle.git` the actual URL of the GitHub `Aura` repository. 2. **Navigate to the Project Directory:** - Once the repository is cloned, navigate to the project directory using the `cd` command. For example: ``` cd aura ``` 3. **Install Dependencies:** - After navigating to the project directory, install the project dependencies using npm or yarn. Run one of the following commands based on your preference we used `npm install`: ``` npm install ``` or ``` yarn install ``` 4. **Run the Project:** - Once the dependencies are installed, you can run the project locally. Use one of the following commands. We used `npm start` because of we built with `npm install`: ``` npm start ``` or ``` yarn start ``` 5. **Access the Application:** - After running the project, open a web browser and navigate to the URL provided in the terminal. By default, the React development server runs on `http://localhost:3000`. 6. **Explore and Modify:** - You can now explore the cloned React project locally. Feel free to modify the code as needed, and the changes will be reflected in the running application. By following these steps, you can easily clone a React project from GitHub and run it on your local machine for development or testing purposes. ## Available Scripts In the project directory, you can run the following scripts: - `npm start`: Runs the app in development mode. - `npm run build`: Builds the app for production to the `build` folder. - `npm test`: Launches the test runner. - `npm run eject`: Removes this tool and copies build dependencies, configuration files, and scripts into the app directory. ## Dependencies Here is a list of dependencies used in the Aura project: - **@emotion/react**: ^11.11.4 - **@emotion/styled**: ^11.11.0 - **@google-pay/button-react**: ^3.0.10 - **@mui/icons-material**: ^5.15.13 - **@mui/lab**: ^5.0.0-alpha.168 - **@mui/material**: ^5.15.13 - **@mui/x-date-pickers**: ^6.19.7 - **@testing-library/jest-dom**: ^5.17.0 - **@testing-library/react**: ^13.4.0 - **@testing-library/user-event**: ^13.5.0 - **@types/jest**: ^27.5.2 - **@types/node**: ^16.18.89 - **@types/react**: ^18.2.66 - **@types/react-dom**: ^18.2.22 - **date-fns**: ^3.5.0 - **google-map-react**: ^2.2.1 - **leaflet**: ^1.9.4 - **leaflet-routing-machine**: ^3.2.12 - **react**: ^18.2.0 - **react-dom**: ^18.2.0 - **react-router-dom**: ^6.22.3 - **react-scripts**: 5.0.1 - **react-simple-chatbot**: ^0.6.1 - **typescript**: ^4.9.5 - **web-vitals**: ^2.1.4 ## Usage Once you have installed the dependencies and configured the project, you can start the development server using the following command: `npm start` This will run the app in development mode and open it in your default web browser. ## Additional Information - The project contains various components such as LandingPage, Checkout, SignIn, SignUp, ContactUs, PassGot (forgot password), LunchScreen, and SimpleMap. - The project utilizes Material-UI components for styling and layout. - The ChatBot component is also integrated into the application for chat functionality. - Make sure to refer to the project's documentation and source code for detailed usage and implementation. # How to Contribute Contributions are welcome! If you want to contribute to this project, follow these steps: 1. Fork the repository 2. Create a new branch: `git checkout -b feature/new-feature` 3. Make your changes and commit them: `git commit -m` 'Add new feature'. 4. Push to the branch: `git push origin feature/new-feature`. 5. Submit a pull request. ## License This project is licensed under the [MIT License](LICENSE) --- **Note:** This documentation provides a high-level overview. We developed over just two days for a hackathon. While the timeline was tight, our main goal is crystal clear: to run a production-level website using professional-grade technology.
Aura is a cutting-edge web application developed using React, designed to revolutionize the cycling experience. Seamlessly integrating AI technology and precision engineering, Aura offers unparalleled adaptability, durability, and user-friendly design.
css,hackathon-project,html,javascript,material-ui,reactjs,typescript
2024-03-17T10:59:18Z
2024-03-24T10:50:07Z
null
2
0
13
0
1
2
null
MIT
JavaScript
kishor82/jsonflat
main
[![NPM Version](https://img.shields.io/npm/v/@kishor82/jsonflat)](https://www.npmjs.com/package/@kishor82/jsonflat) [![Build status](https://img.shields.io/github/actions/workflow/status/kishor82/jsonflat/ci.yml)](https://github.com/kishor82/jsonflat/actions/workflows/ci.yml) [![Coverage Status](https://coveralls.io/repos/github/kishor82/jsonflat/badge.svg)](https://coveralls.io/github/kishor82/jsonflat) --- # jsonflat `jsonflat` is a lightweight Node.js library that flattens nested JSON objects to a single level using customizable delimiters. ## Installation You can install `jsonflat` via npm: ```bash npm install @kishor82/jsonflat ``` ## Usage To flata nested JSON object, import the `flat` function from `jsonflat` and use it as follows: ```javascript const { flat } = require("@kishor82/jsonflat"); const nestedObject = { person: { name: { first: "John", last: "Doe", }, age: 30, address: { city: "New York", state: "NY", }, }, }; const flattenedObject = flat(nestedObject); console.log(flattenedObject); ``` The `flat` function accepts an optional `delimiter` parameter to customize the separator used in the flattened keys: ```javascript const flattenedObject = flat(nestedObject, "."); console.log(flattenedObject); ``` ## API ### `flat(inputObject, delimiter = '.')` Flattens the input JSON object to a single level. - `inputObject` (Object): The nested JSON object to be flattened. - `delimiter` (String): Optional. The delimiter used to separate keys in the flattened output. Default is `'.'`. Returns: A new object with flattened keys. ## Examples ### flatNested JSON Object ```javascript const { flat } = require("@kishor82/jsonflat"); const nestedObject = { person: { name: { first: "John", last: "Doe", }, age: 30, address: { city: "New York", state: "NY", }, }, }; const flattenedObject = flat(nestedObject); console.log(flattenedObject); ``` Output: ```json { "person.name.first": "John", "person.name.last": "Doe", "person.age": 30, "person.address.city": "New York", "person.address.state": "NY" } ``` ## License This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
A lightweight JavaScript library to flatten nested JSON objects into a single-level structure.
javascript,json
2024-04-13T17:32:22Z
2024-05-09T21:53:26Z
2024-05-09T21:53:55Z
1
44
58
6
1
2
null
MIT
JavaScript
0xelsherif/URL-QR-Code-Generator
main
<p align="center"> <a href="https://github.com/0xelsherif/URL-QR-Code-Generator"><img src="https://img.shields.io/github/repo-size/0xelsherif/URL-QR-Code-Generator?style=social&logo=github"></a> <a href="https://github.com/0xelsherif/URL-QR-Code-Generator"><img src="https://img.shields.io/github/stars/0xelsherif/URL-QR-Code-Generator.svg?style=social&label=Star" alt="GitHub Stars"></a> <a href="https://github.com/0xelsherif/URL-QR-Code-Generator"><img src="https://img.shields.io/github/forks/0xelsherif/URL-QR-Code-Generator.svg?style=social&label=Fork" alt="GitHub Forks"></a> <a href="https://github.com/0xelsherif/URL-QR-Code-Generator/discussions"><img src="https://img.shields.io/github/discussions/0xelsherif/URL-QR-Code-Generator?style=social&logo=github" alt="GitHub Discussions"></a> <a href="https://github.com/0xelsherif/URL-QR-Code-Generator/issues"><img src="https://img.shields.io/github/issues/0xelsherif/URL-QR-Code-Generator?style=social&logo=github" alt="GitHub Issues"></a> <a href="https://codepen.io/0xelsherif/full/poBrEPJ" target="_blank"><img src="https://img.shields.io/badge/CodePen-Project-blue?logo=codepen" alt="CodePen Project"></a> <!-- <a href="https://0xelsherif.medium.com/mastering-text-analysis-with-javascript-a-step-by-step-guide-f9914fb5b5f1" target="_blank"><img src="https://img.shields.io/badge/Medium-Publication-green?logo=medium" alt="Medium Publication"></a> --> </p> # URL QR Code Generator This project provides a straightforward way for users to generate QR codes for URLs. By simply entering the desired URL and clicking a button, users can quickly obtain a QR code representation of the URL. The application validates the input URL format and dynamically generates the QR code using JavaScript and the QRCode.js library. ## Usage 1. Enter the URL you want to generate a QR code for in the input field. 2. Click the "Generate QR Code" button. 3. The QR code will be displayed below the input field. ## Features - Validates input URL format. - Generates QR code dynamically based on user input. ## Technologies Used - HTML - CSS - JavaScript - QRCode.js (a library for generating QR codes) ## How to Run ### Option 1: Download ZIP 1. Download the ZIP file from the [GitHub repository](https://github.com/0xelsherif/URL-QR-Code-Generator). 2. Extract the ZIP file to your desired location. 3. Open the extracted folder. 4. Double-click the `index.html` file to open it in a web browser. ### Option 2: Clone the Repository 1. Clone the repository using the following command in your terminal or command prompt: ``` git clone https://github.com/0xelsherif/URL-QR-Code-Generator.git ``` 2. Navigate to the cloned directory: ``` cd URL-QR-Code-Generator ``` 3. Open the `index.html` file in a web browser. ## Allowed Input - Valid URLs starting with 'ftp://', 'http://', or 'https://' - URLs must not contain spaces or special characters. ### Examples - Valid: https://www.example.com - Valid: http://subdomain.example.com/page - Valid: ftp://ftp.example.com - Invalid: www.example.com (missing protocol) - Invalid: http://www example com (contains spaces) - Invalid: https://www.example.com/page with space (contains space) ## Preview ![URL QR Code Generator](preview.png) ## Support and Contributions If you find this project useful or interesting, consider giving it a star ⭐ on GitHub and spreading the word! Your support means a lot to me and helps in maintaining and improving the project. If you'd like to contribute to the project, whether it's fixing bugs, adding new features, or improving documentation, feel free to open a pull request. Contributions of all kinds are welcome! ## Follow Me Follow me on GitHub to stay updated with my latest projects and contributions: [![Follow me on GitHub](https://img.shields.io/github/followers/0xelsherif?label=Follow&style=social)](https://github.com/0xelsherif) <a href="https://twitter.com/intent/follow?screen_name=0xelsherif"><img alt="Follow @0xelsherif on Twitter" src="https://img.shields.io/twitter/follow/0xelsherif"></a> [![Connect with @0xelsherif on LinkedIn](https://img.shields.io/badge/LinkedIn--blue?style=social&logo=linkedin)](https://www.linkedin.com/in/0xelsherif) [![Follow @0xelsherif on Medium](https://img.shields.io/badge/Medium--black?style=social&logo=medium)](https://medium.com/@0xelsherif) [![Follow @0xelsherif on Codepen](https://img.shields.io/badge/Codepen--black?style=social&logo=codepen)](https://codepen.io/0xelsherif) ### Buy Me a Coffee ☕ If you'd like to support the development of this project further or express your appreciation with a small gesture, consider buying me a coffee! Your support helps keep me fueled for more coding sessions. Thank you for your support! [!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/0xelsherif)
This repository contains a simple web application that allows users to generate QR codes for URLs.
javascript,qr,qr-code-generator,qrcode,qrcode-generator,url,urlvalidation,qrcodejs,codesnippets
2024-03-31T01:07:56Z
2024-04-25T06:28:55Z
null
1
0
8
1
1
2
null
null
CSS
unknowguy2001/checkill-game
master
# Checkill-Game Puzzle and fun games ## Demo link: Access my site at https://checkill-game.netlify.app/ ## Table of Content: - About the app - Screenshots - Technologies - Setup ## About the app Checkill-Game is a game inspired by the checker game, but I think I want to improve it by adding skills to make it more fun. I created this project for learning how to create games and for fun. ## Screenshots ![ch-1](https://github.com/unknowguy2001/checkill-game/assets/73591183/f3451157-a553-493d-b084-bd97fd6616d1) ![ch-2](https://github.com/unknowguy2001/checkill-game/assets/73591183/68d62cb9-cf78-4958-8211-0876348e25cb) ## Technologies I used HTML, CSS, Javascript. ## Setup Download or clone this project, and then run it by double-clicking on the .html file or running it in Visual Studio Code with the extension named Live Server.
This project is inspired by a checker game but adds some skill. 🕹️
game,javascript,dom
2024-03-29T14:09:02Z
2024-04-26T15:05:56Z
null
1
0
32
0
0
2
null
null
JavaScript
Alex5ander/tic-tac-toe-multiplayer
main
# Tic Tac Toe Multiplayer Jogo Tic Tac Toe Multiplayer desenvolvido na plataforma Unity utilizando C# e JavaScript. Esse jogo pode ser jogado em navegadores incluindo mobile. Além desse repositório o projeto conta com outro que possui o código que é executado no servidor, você pode acessar e saber mais sobre ele neste link: [Tic Tac Toe Multiplayer Server](https://github.com/Alex5ander/tic-tac-toe-multiplayer-server) ![preview](preview.png) ## Para executar esse projeto você precisa ter instalado em seu computador a Unity 2023.1.19f1 e seguir os seguites passos ### Clone este repositório ``` git clone https://github.com/Alex5ander/tic-tac-toe-multiplayer.git ``` ### Após clonado basta abrir o projeto na plataforma Unity Mas caso queira apenas jogar ele basta clicar em jogar abaixo. [Jogar](https://alex5ander.itch.io/tic-tac-toe-multiplayer)
Tic Tac Toe multiplayer desenvolvido na plataforma Unity utilizando C# e JavaScript.
csharp,game-development,javascript,unity
2024-03-15T02:20:36Z
2024-05-18T21:05:48Z
null
1
0
12
0
0
2
null
null
ShaderLab
natnael-jhon/OOP-JS
master
![Thumbnail](https://i.ytimg.com/vi/GEuS0tfLfEY/maxresdefault.jpg) # OOP with JavaScript 🚀 ## Introduction Welcome to our guide on Object-Oriented Programming (OOP) in JavaScript! ## What is OOP? 🎨 OOP organizes code into objects for better structure and reusability. ## Why JavaScript for OOP? 💡 JavaScript supports OOP for scalable and maintainable code. ## Contents 📝 - **Classes**: Blueprint for objects. - **Objects**: Create and manage. - **Inheritance**: Hierarchies. - **Encapsulation**: Data protection. - **Polymorphism**: Flexible behavior. ## Get Started 🚀 Clone/download and dive into examples. ## Contribute 🤝 Issues and PRs are welcome! ## Resources ℹ️ - [MDN](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/Object-oriented_JS) - [JavaScript.info](https://javascript.info/class) - [W3Schools.com](https://www.w3schools.com/js/js_classes.asp) ## License 📄 MIT License. --- Feel free to customize this for your project! Enjoy coding! 🌟
🚀 Dive into Object-Oriented Programming (OOP) with JavaScript! Learn about classes, objects, inheritance, encapsulation, and polymorphism. Elevate your coding skills and contribute to the JavaScript community! 💻✨
javascript,object-oriented-programming,oop,oop-in-javascript
2024-04-25T15:31:32Z
2024-05-18T20:30:55Z
null
1
1
23
0
1
2
null
null
JavaScript
Dilettante258/Tieba-API-SCF
main
``` npm install npm run dev ``` open <http://localhost:8000> in your browser 这是一个部署在华为[函数工作流 FunctionGraph](https://www.huaweicloud.com/intl/zh-cn/product/functiongraph.html)上的贴吧API 封装实现,使用了[Hono](https://hono.dev/)框架。 SCF意指Serverless Cloud Function 云函数。 API使用参考: [Postman文档](https://documenter.getpostman.com/view/32034983/2sA3BuX9Nc)(施工中) # API ### Forum 有关**吧**的API封装。 目前有: - **getName**: `/forum/getName` - **getThreads**: `/forum/getThreads` #### getThreads 获取特定吧的推送帖子列表。 ### 参数 以下参数越靠前,执行优先度越高。 | 参数名 | 含义 | 示例 | 说明 | | --- | --- | --- | --- | | fname | 吧名 | fname=v | | | batch | 批量获取从{from}页到{to}页的贴子 | batch=from,to | _仅合并threadList_, _userList,_取第一个 Res 对象中的 _forum_ 和 _thread_ 属性,取最后一个 Res 对象中的 _page_ 属属性 | | page | 请求第几页的数据 | page=5 | 不填默认为1,**有batch参数时,此参数将会被忽略** | | rn | 一页所含帖子数量 | rn=30 | 默认30,最大100 | | OnlyGood | 是否只看精品贴 | OnlyGood=1 | | | sort | 请求贴子时的排序方式 | sort=1 | 对于有热门分区的贴吧 0热门排序 1按发布时间 2关注的人 34热门排序 >=5是按回复时间 <br>对于无热门分区的贴吧 0按回复时间(REPLY) 1按发布时间 2关注的人 >=3按回复时间 | | raw | 直接返回反序列化后原始的json内容。 | raw=1(任何字符均可) | | | require | 经过简单预处理后,result包含的数据。 | require=threadList,forum | **有raw参数时,此参数将会被忽略** <br>示例的result中将会只包含 threadList(简略贴子对象列表)、forum(查询的吧的简略信息) <br>默认参数详见说明。 | #### require参数的详细说明 有以下可行的枚举: - `threadList`: 简略贴子对象列表 - `userList`: 当前发帖用户的列表(不含ip信息) - `forum`: 查询的吧的简略信息 - `pidList`: `threadList`中的pid(贴编号)的列表 - `counter`: emoji计数器,贴吧表情计算器 - `plainText`: 可用于分词的纯文本,标题与内容拼接。(如果主楼过长,接口返回的数据仅含一部分) - `timeLine`: 增序排序过后的的贴子列表中发贴时间的时间戳列表
百度贴吧API的封装。该项目是一个基于Node.js的API服务器,使用Protobuf.js处理数据,提供论坛、帖子和用户信息的路由处理,并与前端Web应用交互,以展示数据和处理用户操作。
functions,hono,javascript,serverless,tieba
2024-04-04T10:48:29Z
2024-04-29T10:16:47Z
null
1
0
13
0
0
2
null
Unlicense
JavaScript
TranscribeJs/transcribe.js
main
[![NPM Version](https://img.shields.io/npm/v/@transcribe/transcriber?style=flat&color=green)](https://www.npmjs.com/package/@transcribe/transcriber) # Transcribe.js Transcribe speech to text in the browser. Based on a wasm build of [whisper.cpp](https://github.com/ggerganov/whisper.cpp). - [Docs](https://transcribejs.dev) - [Example File Transcriber](https://examples.transcribejs.dev/examples/index.html) - [Example Stream Transcriber (experimental)](https://examples.transcribejs.dev/examples/stream.html) ## Packages All packages are under [@transcribe](https://www.npmjs.com/search?q=%40transcribe) namespace. | Package | Description | | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | | **@transcribe/shout** | Wasm build based on [whisper.cpp](https://github.com/ggerganov/whisper.cpp). Contains Module file including the wasm binary and a separate webworker file. | | **@transcribe/transcriber** | `FileTranscriber` and `StreamTranscriber` for transcribing media files or streams. | ## Prerequisite ### Webserver Your webserver must serve the files with cross origin headers. `"Cross-Origin-Embedder-Policy": "require-corp"` `"Cross-Origin-Opener-Policy": "same-origin"` ### Model File You need a ggml model file to run Transcribe.js. You can download them on hugging face https://huggingface.co/ggerganov/whisper.cpp/tree/main . You should start with the (quantized) tiny or base models. Larger models propably won't work but you can try it, though. ## Installation ### NPM Install shout wasm and transcriber packages ```bash npm install --save @transcribe/transcriber ``` copy the shout.wasm and webworker files to your project directory ```bash # copy shout wasm cp node_modules/@transcribe/shout/src/shout/shout.wasm.worker.mjs /your/project cp node_modules/@transcribe/shout/src/shout/shout.wasm.js /your/project # copy audio-worklets, only needed if you want to use StreamTranscriber cp -r node_modules/@transcribe/transcriber/src/audio-worklets /your/project ``` ### Manual Installation You can use Transcribe.js without a bundler or package manager. Download the files from this repository, copy the `src/*` directories to your webserver and include the following into your HTML. Make sure to set the correct paths in the import map. ```html <!-- set paths to js files --> <script type="importmap"> { "imports": { "@transcribe/shout": "/src/shout/shout.wasm.js", "@transcribe/transcriber": "/src/index.js" } } </script> <!-- use type="module" for es6 imports --> <script type="module"> import { FileTranscriber } from "@transcribe/transcriber"; ... </script> ``` ## Usage For full code examples and advanced usage please see https://www.transcribejs.dev or check out the [File Transcriber Example](https://examples.transcribejs.dev/examples/index.html). ```js import { FileTranscriber } from "@transcribe/transcriber"; // create new instance const transcriber = new FileTranscriber({ model: "/your/project/ggml-tiny-q5_1.bin", // path to ggml model file workerPath: "/your/project", // directory of shout.wasm.worker.mjs copied before }); // init wasm transcriber worker await transcriber.init(); // transcribe audio/video file const result = await transcriber.transcribe("/your/project/my.mp3"); console.log(result); ``` The `result` is an JSON object containg the text segements and timestamps. ```js { "result": { "language": "en" }, "transcription": [ { "timestamps": { "from": "00:00:00,000", "to": "00:00:11,000" }, "offsets": { "from": 0, "to": 11000 }, "text": " And so my fellow Americans ask not what your country can do for you, ask what you can do for your country.", "tokens": [ { "text": " And", "timestamps": { "from": "00:00:00,320", "to": "00:00:00,350" }, "offsets": { "from": 320, "to": 350 }, "id": 400, "p": 0.726615 // propability, aka. how likely the estimate is true, 0..1, 1 is best }, // ... one token per word ] } ] } ``` ## Development Clone the repository, install dependencies, start the dev server and open `http://localhost:9876/examples/index.html` in your browser. ```bash git clone https://github/transcribejs/transcribe.js cd transcribe npm install npm run dev ``` ### Types The library is not written in typescript. This way no extra build step is needed during development and in production. To still get proper type support type definitions get generated from JSDoc comments. ```bash npm run generate-types ``` ### Wasm build The `whisper.cpp` repository is a git submodule. To get the latest version of `whisper.cpp` go into the directory and pull the latest changes from github. ```bash cd shout.wasm/whisper.cpp git pull origin master ``` The wasm files are build from `shout.wasm/src/whisper.wasm.cpp`. If you want to add new functions from whisper.cpp to the wasm build this is the file to add them. > I'm pretty sure that this will not compile on every machine/architecture, but I'm no expert in C++. If you know how to optimize the build process please let me know or create a pull request. Maybe this should be dockerized.? ```bash # run cmake to build wasm npm run wasm:build # copy emscripten build files to project npm run wasm:copy ``` ### Tests Unit/functional tests for the `Transcriber` functions. ```bash npm run test:unit ``` E2E tests using Playwright. Firefox somehow needs waaaaaay longer during e2e test than in a the "real" browser. ```bash npm run test:e2e ``` or use the Playwright UI for details ```bash npm run test:e2e-ui ``` ## Credits Thank you to the creators and contributors of the following open source libraries that were used in this project: ### Libraries - **whisper.cpp**: A C++ implementation of whisper. [GitHub Repository](https://github.com/ggerganov/whisper.cpp) - **emscripten**: A toolchain for compiling C and C++ code to WebAssembly. [Official Site](https://emscripten.org/) - **water.css**: A minimal CSS framework for styling HTML. [Official Site](https://watercss.kognise.dev/) - **fft.js**: A library for Fast Fourier Transform calculations. [GitHub Repository](https://github.com/indutny/fft.js) - **Moattar, Mohammad & Homayoonpoor, Mahdi. (2010).** A simple but efficient real-time voice activity detection algorithm. [Research Paper](https://www.researchgate.net/publication/255667085_A_simple_but_efficient_real-time_voice_activity_detection_algorithm) - **vitest**: A website for testing voice recognition. [Official Site](https://vitest.dev/) - **Playwright**: A tool for automating browser testing. [Official Site](https://playwright.dev/) ### Audio Test Files - `examples/albert.ogg` <a href="https://commons.wikimedia.org/wiki/File:03_ALBERT_EINSTEIN.ogg">Radio Universidad Nacional de La Plata</a>, <a href="https://creativecommons.org/licenses/by-sa/3.0">CC BY-SA 3.0</a>, via Wikimedia Commons - `examples/jfk.wav`: <a href="https://creativecommons.org/licenses/by-sa/3.0">CC BY-SA 3.0</a>, via Wikimedia Commons
Monorepo for Transcribe.js
speech,speech-recognition,speech-to-text,transcribe,wasm,whisper,javascript
2024-04-30T11:09:47Z
2024-05-15T14:56:26Z
null
1
0
29
0
0
2
null
MIT
JavaScript
RivoLink/opencc
main
## Open Code Compiler <p align="center"> <img src="./screenshot.png"/> </p> ### Install helper ```sh # using make make helper # or manually yarn install --cwd .helper composer install --working-dir .helper ``` ### Generate token ```sh # using make make token # using php php .helper/scripts/token.php # using curl curl -X POST -H "Content-Type: application/json" https://api.rivolink.mg/api/auth \ -d '{ "username": "Anonymous", "password": "a439579cae86060066478decd838bc39" }' | jq -r '.token // ""' > src/private/token.txt ``` ### Build your own version ```sh # using make make build # using php php .helper/scripts/build.php ```
Open CC - Write, compile and explore your code.
compiler,javascript,php,python
2024-03-23T12:17:29Z
2024-05-21T16:35:45Z
2024-05-21T16:35:45Z
2
6
23
0
1
2
null
null
PHP