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
arzucaner/when-women-understand
main
# When Women Understand "When Women Understand" project, designed for the Women Who Code Hackathon Social Good 2023, has won the "Outstanding Social Impact Award" for empowering women to recognize and combat physical and psychological abuse, addressing its hidden nature. ![Logo](https://github.com/arzucaner/when-women-understand/assets/108270415/392a8c03-aebb-4982-907f-d3fa1305f86a) [Hackathon for Social Good 2023 Project Brief.pdf](https://github.com/arzucaner/when-women-understand/files/13062130/Hackathon.for.Social.Good.2023.Project.Brief.pdf) [Prototype](https://www.youtube.com/watch?v=DYoxoSD74qA) [When Women Understand Presentation.pdf](https://github.com/arzucaner/when-women-understand/files/13260709/When.Women.Understand.Presentation.pdf) [Demo](https://www.youtube.com/watch?v=XOcTClDCNPI) ## 🌟Project Description The "When Women Understand" project is a website design initiative aimed at helping women recognize not only physical violence but also psychological abuse, with the goal of empowering them to protect themselves from such forms of violence. This project underscores the often silent and hidden nature of psychological abuse, making it easy for women to recognize. ### 🎯Objectives of the Website 📢Creating Awareness: The website is designed to raise awareness among women about the signs and effects of psychological abuse, emphasizing its prevalence. ℹ️Providing Information: It offers women information on recognizing psychological abuse, explaining its signs and risk factors, and providing educational resources. 🤝Offering Support: The website aims to support victims by providing emotional and practical assistance resources and contact information. 🤲Fostering Social Awareness: By promoting the project and using the website as a platform, the goal is to increase societal awareness about the importance of preventing psychological abuse and fostering a sense of unity in addressing it. ### 🚀Challenge Statement This project aims to contribute to addressing the silent and often hidden crisis of psychological abuse by empowering women to recognize, combat, and raise awareness about this form of violence, which can be elusive and less visible than physical abuse. We challenge you to create a digital platform that equips women with the knowledge, resources, and support to combat psychological abuse effectively. ### 🌍How the Project Solution Contributes The project solution aims to address the prevalent issue of psychological abuse by providing a digital platform that empowers women to recognize, combat, and raise awareness about this often invisible form of violence. ## 🛠️Used Technologies: - Node.js: A backend environment that provides scalability and efficiency, ensuring the smooth operation of the website. - MongoDB: A database management system used for secure data storage and retrieval. Its flexibility and scalability make it suitable for managing user information and content. - Jest (For Testing): A testing framework used to ensure the reliability and performance of the website. Comprehensive testing is crucial to ensure the platform functions as intended, providing a safe and - effective user experience. - JavaScript: A core technology used to enhance interactivity and functionality, enabling the creation of dynamic user interfaces and a smooth user experience. - React: Employed to build the website's front end, offering a component-based structure that simplifies development and maintains consistency in design and functionality. - Bootstrap: Leveraged for its responsive design framework, ensuring a user-friendly and visually appealing website that is accessible across various devices and screen sizes. - Passage by 1Password:(https://passage.1password.com) Passage is a user authentication tool designed to simplify and enhance the authentication process for developers and end-users. It offers an improved user experience with biometric authentication and strong two-factor security, while also simplifying the implementation process for developers. ## 🚀Getting Started To get this project up and running on your local machine, follow these steps: 1. Clone the project repository to your local machine. 2. Install the required dependencies using the package manager of your choice. Note that there are two locations from which to do this: the root directory and in the frontend file. 3. Configure the project according to your needs. 4. Start the project by running the appropriate command. 5. You're ready to start working on the project. If you're not sure about any of these steps, feel free to reach out for assistance. ## 🤝Contributions We welcome and appreciate contributions from the community. If you're interested in contributing to this project, please follow these guidelines: 1. **Fork** the project repository on GitHub. 2. **Clone** your fork to your local machine. 3. Create a new **branch** for your feature or bug fix. 4. Make your changes and ensure that your code is properly formatted. 5. Write **tests** to ensure the code's integrity. 6. Commit your changes with a **clear and descriptive message**. 7. Push your branch to your fork on GitHub. 8. Create a **pull request** to the original repository. Thank you for helping make this project better! ## 🌟🤝Project Team This project was developed by a team of six members. Team members and their contributions are as follows: Team Members: - Arzu Caner (Team Leader) I [GitHub](https://github.com/arzucaner) I [LinkedIn](https://www.linkedin.com/in/arzucaner/) | [YouTube](https://www.youtube.com/channel/UCsK0v6RouRYb5I1Ny8flrOg) - Maryna Kosau (UX Designer) [Portfolio](https://uxfol.io/marynakosau) I [LinkedIn](https://www.linkedin.com/in/maryna-kosau) - Onyinye Chiatula (UI Designer) [LinkedIn](https://www.linkedin.com/in/onyinye-chiatula-64b9931a1/) - Rose Le (Fullstack Engineer) [GitHub](https://github.com/rose-codes) I [LinkedIn](https://www.linkedin.com/in/rhle/) - Rachel Ludwig (Fullstack Developer) [Portfolio](https://raeludwig.github.io/Raes-portfolio/) I [GitHub](https://github.com/Raeludwig) I [LinkedIn](https://www.linkedin.com/in/raeludwig/) - Sara Swingle (Fullstack Developer) [Portfolio](http://www.saraswingle.com/) I [GitHub](https://github.com/swingleSara) I [LinkedIn](https://www.linkedin.com/in/swingle-sara/) We would like to express our gratitude to the entire team for their contributions to our project. ![team](https://github.com/arzucaner/when-women-understand/assets/108270415/9ec19904-640b-42ce-ad81-d6383e79c272) ## 📜License This project is licensed under the MIT License. See the LICENSE file for more information.
The 'When Women Understand' project, designed for the Women Who Code Hackathon Social Good 2023, has won the "Outstanding Social Impact Award" for empowering women to recognize and combat physical and psychological abuse, addressing its hidden nature.
boostrap,javascript,jest-test,mongodb,nodejs,reactjs,css,html,hackathon-project
2023-10-15T16:36:08Z
2024-04-21T15:48:13Z
null
4
35
166
0
3
5
null
null
JavaScript
xdpirate/ghost-translator
main
# ghost-translator 👻 Translate human-speak to ghost-speak and vice versa. # Installation ## Python * Install [Python](https://www.python.org/). * Clone this repository, or just download `ghost-translator.py`. * Mark `ghost-translator.py` as executable with `chmod +x ghost-translator.py` to run it directly, or run it with `python3 ghost-translator.py (parameters)` ## JavaScript The JS implementation is available to [use online through GitHub Pages](https://xdpirate.github.io/ghost-translator/ghost-translator.html). If you want to download and use on your computer: * Clone or download this repository * Open `ghost-translator.html` in your web browser * Use the provided textarea and buttons to encode/decode your spooky messages # Usage (Python) * `ghost-translator.py -d (or --decode) "OoOooo OoO OOooO OoooooO"` - Decode ghost-speak * `ghost-translator.py -e (or --encode) "Hello!"` - Encode ghost-speak Examples: ``` $ ./ghost-translator.py -e "Boo! 👻" OoooOo OOOO OOOO OoooooO Ooooooo OOOOOoOoooooOOoOO $ ./ghost-translator.py -d "OoOooo O Ooooo Ooooo OOooO Ooooooo OoOooo O OOoo OOoo OOOO OoOOO OoO OoO OOOo OoooooO Ooooooo OOOOOooOOOOOoooOO" Happy Halloween! 🎃 ``` # How does it work? It's quite simple, really. To encode human-speak into ghost-speak, first each character of the entered string is converted into its integer Unicode code point. This integer is then XORed with 96 (01100000). This is done to shorten the resulting binary string, as all lower case characters (a-z) have their binary representations start with `011`. This also produces variable-length strings, by stripping out leading zeroes, which I think look nicer than fixed-width, 8 character binary strings. The integer is then converted into a binary string, and the prefix `0b` is stripped. Finally, each character in the binary string is iterated through and converted to `o` or `O`: ones become upper case Os, and zeroes become lower case Os. This process is repeated for every character entered, with a space appended between each ghost word to represent the boundary between each character. To decode ghost-speak back to human-speak, the process is simply done in reverse. The implementation is the same across language versions. # Why do the two implementations give different results? If emoji aren't involved, the two implementations will yield identical results. If emoji are involved, JS and Python will give different results when encoding or decoding. It looks like this is because Python considers the double-byte emoji to be a single character, while JavaScript considers them to be two characters. # Acknowledgements Inspired by [Cow translator](https://github.com/SkwalExe/cow-translator) by SkwalExe 🐮
Translate human-speak to ghost-speak and vice versa
ghost,halloween,javascript,python,spooky,translation,translator,website
2023-10-20T19:07:41Z
2023-10-29T18:34:56Z
null
1
0
21
0
0
5
null
null
HTML
titanilham/Neon-Snake
main
<div align="start"> <img src="https://readme-typing-svg.demolab.com?font=Tilt+Neon&size=27&pause=1000&color=11E900&random=false&width=435&lines=Neon+Snake+Game" alt="Typing SVG"/> </div> ### Languages: * JavaScript <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/6/6a/JavaScript-logo.png/120px-JavaScript-logo.png" width="15" height="15"/> * Html <img src="https://raw.githubusercontent.com/devicons/devicon/1119b9f84c0290e0f0b38982099a2bd027a48bf1/icons/html5/html5-original.svg" width="15" height="15"/> * Css <img src="https://raw.githubusercontent.com/devicons/devicon/1119b9f84c0290e0f0b38982099a2bd027a48bf1/icons/css3/css3-original.svg" width="15" height="15"/> ### Preview: ![](https://github.com/titanilham/Neon-Snake/blob/main/Snake-Neon.gif?raw=true) <a href="https://653d19d0aa0d3436e6ebe516--effortless-kitten-e4233b.netlify.app/">Click to go to the site with the game <img src="https://github.com/titanilham/Neon-Snake/blob/main/click.png?raw=true" width="15"/><a/> ---- <div id="badges"> <a href="https://vk.com/aniime_guy" > <img src="https://img.icons8.com/?size=512&id=13977&format=png"width="40" height="40" title="VK"/> </a> <a href="https://t.me/Ilham06"> <img src="https://img.icons8.com/?size=512&id=63306&format=png"width="40" height="40" title="Telegram"/> </a> <a href="https://www.youtube.com/channel/UC9m1N5x0OXWihGpR50Yk35g"> <img src="https://github.com/titanilham/titanilham/assets/86422270/51f7c427-b7b3-4591-9243-2f2c3465d742" width="40" height="40" title="YouTube"/> </a> <a href="https://discord.com/channels/1019531122239094794/1019531122239094801"> <img src="https://www.freepnglogos.com/uploads/discord-logo-png/discord-logo-logodownload-download-logotipos-1.png" width="40" height="40" title="Discord"/> </a> </div>
Neon Snake Game
css,css3,html,html5,javascript,snake,snake-game
2023-10-28T01:51:02Z
2024-04-01T03:30:48Z
2023-10-31T09:54:59Z
1
0
18
0
0
5
null
MIT
JavaScript
Silent-Watcher/jwt-node
master
# jwt-node a express js authentication system using JWT token ## documentation: comming soon ! 🤗
a express js authentication system using JWT token
authentication,express-authentication,express-jwt,express-jwt-authenticator,javascript,jwt-authentication,nodejs
2023-10-17T18:34:18Z
2023-10-18T16:30:30Z
2023-10-18T16:23:51Z
1
4
25
0
0
5
null
MIT
JavaScript
nbtin/next-ecommerce
master
This is a prototype for a [Next.js](https://nextjs.org/) e-commerce website designed to sell One Piece figures. ## Getting Started :eyes: - Clone the repository. - Switch to the `production` branch and install dependencies. ```bash git checkout production npm install ``` - Create a `.env` and `.env.local` file in the root directory like the example [here](https://github.com/nbtin/next-ecommerce/blob/production/.env.example) and [here](https://github.com/nbtin/next-ecommerce/blob/production/.env.local.example). - Run the development server. ```bash npm run dev ``` - Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. ## Built With :hammer_and_pick: ### 1. Frontend - [Next.js](https://nextjs.org/) - [Tailwind CSS](https://tailwindcss.com/) + [DaisyUI](https://daisyui.com/) + [Framer Motion](https://www.framer.com/motion/) - [Zustand](https://github.com/pmndrs/zustand) (State Management) ### 2. Backend - [Next.js API Routes](https://nextjs.org/docs/api-routes/introduction) - [Prisma](https://www.prisma.io/) (ORM for [PostgreSQL](https://www.postgresql.org/)) - [Stripe Webhooks](https://stripe.com/docs/webhooks) (Payment) ## Deployment :rocket: This project is deployed on [Vercel](https://vercel.com/). Visit [https://next-ecommerce-flame-two.vercel.app/](https://next-ecommerce-flame-two.vercel.app/) to see the live version :fire:. P/s: If you want to test the stripe payment process, just type the card number `4242 4242 4242 4242` and any other information in the payment form :smile:. &rarr; [Learn more](https://stripe.com/docs/testing#cards). ## Final Notes **Thanks for going through this Repository! Have a nice day.** :rose: Do you have any questions? Feel free to contact me via <a href = "mailto: baotin2402@gmail.com">E-mail</a>.
a Next.js e-commerce website
ecommerce,nextjs,onepiece,typescript,javascript,prisma,tailwindcss
2023-10-17T18:51:35Z
2024-01-16T02:01:53Z
null
1
8
57
0
0
5
null
null
TypeScript
Vinyl-Davyl/piggyvest_rebuild
main
# PiggyVest Rebuild 🔐 <p> <img alt="Version" src="https://img.shields.io/badge/version-1.1.0-blue.svg?cacheSeconds=2592000" /> </p> Rebuild of [Piggyvest](https://piggyvest.com/) V1.1.0 Authentication and Landing Interfaces. Built on TypeScript ### ✨ [Live Demo](https://piggyvest-rebuild.vercel.app) ## Support is contagious Leave a ⭐️ If this project got you going! <p> <a href="https://www.buymeacoffee.com/VinylDavyl"> <img align="left" src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" height="50" width="210" alt="buymeacoffee.com/VinylDavyl" /></a> </p> <br /><br /><br /> ## Sneak Peek <img width="944" alt="Screenshot 2023-11-13 184014" src="https://github.com/Vinyl-Davyl/piggyvest_rebuild/assets/68241801/2c83cc31-9951-4126-9c9f-9d60fc7bc154"> <img width="945" alt="Screenshot 2023-11-13 184105" src="https://github.com/Vinyl-Davyl/piggyvest_rebuild/assets/68241801/33d40c4d-1b45-4943-9fd9-73d333c37373"> <img width="948" alt="Screenshot 2023-11-13 184122" src="https://github.com/Vinyl-Davyl/piggyvest_rebuild/assets/68241801/bdcbfd51-3970-41cd-afae-27219a528981"> <img width="940" alt="Screenshot 2023-11-13 184206" src="https://github.com/Vinyl-Davyl/piggyvest_rebuild/assets/68241801/fa90e0f9-0727-4fed-8a9f-430bf5ef5726"> <img width="947" alt="Screenshot 2023-11-13 184225" src="https://github.com/Vinyl-Davyl/piggyvest_rebuild/assets/68241801/cc9219d0-e953-4980-ae00-35c92e0f3348"> 👤 **Vinyl Davyl** <br/> Leave a ⭐️ If this project got you going! - Website: https://vinyldavyl.xyz - Twitter: [@Vinylchi](https://twitter.com/Vinylchi) ### Credit - [Design Rebuild by Habeeb](https://www.behance.net/gallery/161837957/Piggyvest-Landing-Page-Replica)
Rebuild of Piggyvest fintech platform authentication and landing interface. A developmental experiment
figma,figma-to-code,fintech-design,scss,scss-framework,typescript,ui,javascript
2023-11-07T19:21:14Z
2023-11-13T18:54:22Z
null
1
0
26
0
0
5
null
null
TypeScript
masfahru/typescript-orm-benchmark
main
# TypeScript (and JavaScript) ORMs Benchmark Object-Relational Mapping (ORM) is a powerful technique that allows you to interact with databases using the same language you’re using for your application. This project aims to provide an objective assessment of the performance of popular Node.js ORMs. ## List of ORM ### MySQL - [DrizzleORM](./src/mysql/drizzle.ts) - [KnexJS](./src/mysql/knex.ts) - [Kysely](./src/mysql/kysely.ts) - [Mariadb](./src/mysql/mariadb.ts) - [MikroORM](./src/mysql/mikro.ts) - [MySQL2](./src/mysql/mysql2.ts) - [Prisma](./src/mysql/prisma.ts) - [Sequelize](./src/mysql/sequelize.ts) - [TypeORM](./src/mysql/typeorm.ts) ### PostgreSQL - [DrizzleORM](./src/postgres/drizzle.ts) - [KnexJS](./src/postgres/knex.ts) - [Kysely](./src/postgres/kysely.ts) - [MikroORM](./src/postgres/mikro.ts) - [PgTyped](./src/postgres/pg-typed.ts) - [Pg](./src/postgres/pg.ts) - [Postgres.js](./src/postgres/postgres.ts) - [Prisma](./src/postgres/prisma.ts) - [Sequelize](./src/postgres/sequelize.ts) - [TypeORM](./src/postgres/typeorm.ts) ## License This project is licensed under the MIT License. Feel free to explore, contribute, and share your insights!
Benchmark of some TypeScript (and JavaScript) database drivers and ORMs, run on Bun and Node.js
bun,drizzle-orm,knexjs,kysely,mariadb,mikro-orm,mysql2,nodejs,prisma-orm,sequelize-orm
2023-10-26T03:00:15Z
2024-05-23T05:10:48Z
null
1
2
78
0
1
5
null
MIT
TypeScript
raphaelkieling/doctorenv
main
<div align="center"> <img src="image.png" height="100px"> </div> # Doctorenv ![Known Vulnerabilities](https://snyk.io/test/github/raphaelkieling/doctorenv/badge.svg) [![codecov](https://codecov.io/gh/raphaelkieling/doctorenv/graph/badge.svg?token=8FUTQY7PA7)](https://codecov.io/gh/raphaelkieling/doctorenv) [Wiki documentation here](https://github.com/raphaelkieling/doctorenv/wiki) ✅ `Doctorenv` is a checklist tool that helps developers to check if they have everything to contribute in a project. In the end the goal is `Save time`, nothing more! 🚀 ### How to install? ```sh # Without install npx doctorenv-cli # Installing globally using npn npm i -g doctorenv-cli # Installing globally using yarn yarn global add doctorenv-cli ``` > I do not recommend to install locally yet, since you do not have any big reason to do it right now. In the future the idea is to have plugin system, hooks and type checking using `require`, up to you. ### Why? Sometimes you aren't sure if you have everything to contribute in a project. The `Doctorenv` should give you some help on: - Check what is missing in your environment to make it works - Giving you some `Suggestions` on how to fix in case you do not met some requirements - Easy to start using and change - Automatic fixers Example of config: ```js // doctorenv.config.js module.exports = ({ builder }) => { return builder .task('check package manager') .subTask('has npm', ({ bash }) => bash`npm --version`) .subTask('has yarn', ({ bash }) => bash`yarn --version`) .task('has env', ({ checkEnv }) => checkEnv('NODE_ENV')) .setFixableSuggestion( 'Run source ./env.sh', ({ bash }) => bash`source ./env.sh` ) .build() } ``` Run: ```sh # To check the default doctorenv.config.js doctorenv check # To check with a custom config doctorenv check <custom-path-to-config> ``` ![Alt text](image-1.png) ### Changelog You can check the changelog [here](CHANGELOG.md). ### How to contribute? It's simple, just take a look at our [Contributing](CONTRIBUTING.md) guide. ### Contributors <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> <!-- prettier-ignore-start --> <!-- markdownlint-disable --> <table> <tbody> <tr> <td align="center" valign="top" width="14.28%"><a href="https://github.com/dakshsinghrathore"><img src="https://avatars.githubusercontent.com/u/115932772?v=4?s=100" width="100px;" alt="Daksh Singh Rathore"/><br /><sub><b>Daksh Singh Rathore</b></sub></a><br /><a href="#research-dakshsinghrathore" title="Research">🔬</a> <a href="https://github.com/raphaelkieling/doctorenv/commits?author=dakshsinghrathore" title="Documentation">📖</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/harshvyas-22"><img src="https://avatars.githubusercontent.com/u/118657807?v=4?s=100" width="100px;" alt="harshvyas-22"/><br /><sub><b>harshvyas-22</b></sub></a><br /><a href="#design-harshvyas-22" title="Design">🎨</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/raphaelkieling"><img src="https://avatars.githubusercontent.com/u/16259523?v=4?s=100" width="100px;" alt="Raphael Kieling"/><br /><sub><b>Raphael Kieling</b></sub></a><br /><a href="https://github.com/raphaelkieling/doctorenv/commits?author=raphaelkieling" title="Code">💻</a></td> </tr> </tbody> </table> <!-- markdownlint-restore --> <!-- prettier-ignore-end --> <!-- ALL-CONTRIBUTORS-LIST:END --> ### Development ```sh # testing npm run test npm run test:watch # run a specific example in dev mode npm run dev check examples/NAME_HERE.config.js ``` ### Publishing ```sh npm run publish ``` <small> Temporary Icon from: <a href="https://www.flaticon.com/free-icons/pharmacist" title="Pharmacist icons">Pharmacist icons created by Freepik - Flaticon</a> </small>
Checklist tool that helps developers identify environment issues
checklist,doctor,environment,issue,javascript,tool,cli,hacktoberfest
2023-10-16T00:32:31Z
2023-10-22T22:48:37Z
null
4
7
56
5
2
5
null
MIT
JavaScript
prutya/tutorial-multi-select-dropdown
main
# 05_react-multi-select-dropdown
A guide on implementing an uncontrolled Multi-Select Dropdown component with React and Tailwind CSS. The component is going to remain functional even when JavaScript is disabled on the client.
javascript,nextjs,react,tailwindcss
2023-10-17T17:38:36Z
2023-10-17T10:23:53Z
null
1
0
11
0
0
5
null
null
JavaScript
donnier3/musholla_ci4
main
# CodeIgniter 4 Application Starter ## What is CodeIgniter? CodeIgniter is a PHP full-stack web framework that is light, fast, flexible and secure. More information can be found at the [official site](http://codeigniter.com). This repository holds a composer-installable app starter. It has been built from the [development repository](https://github.com/codeigniter4/CodeIgniter4). More information about the plans for version 4 can be found in [the announcement](http://forum.codeigniter.com/thread-62615.html) on the forums. The user guide corresponding to this version of the framework can be found [here](https://codeigniter4.github.io/userguide/). ## Installation & updates `composer create-project codeigniter4/appstarter` then `composer update` whenever there is a new release of the framework. When updating, check the release notes to see if there are any changes you might need to apply to your `app` folder. The affected files can be copied or merged from `vendor/codeigniter4/framework/app`. ## Setup Copy `env` to `.env` and tailor for your app, specifically the baseURL and any database settings. ## Important Change with index.php `index.php` is no longer in the root of the project! It has been moved inside the *public* folder, for better security and separation of components. This means that you should configure your web server to "point" to your project's *public* folder, and not to the project root. A better practice would be to configure a virtual host to point there. A poor practice would be to point your web server to the project root and expect to enter *public/...*, as the rest of your logic and the framework are exposed. **Please** read the user guide for a better explanation of how CI4 works! ## Repository Management We use Github issues, in our main repository, to track **BUGS** and to track approved **DEVELOPMENT** work packages. We use our [forum](http://forum.codeigniter.com) to provide SUPPORT and to discuss FEATURE REQUESTS. This repository is a "distribution" one, built by our release preparation script. Problems with it can be raised on our forum, or as issues in the main repository. ## Server Requirements PHP version 7.3 or higher is required, with the following extensions installed: - [intl](http://php.net/manual/en/intl.requirements.php) - [libcurl](http://php.net/manual/en/curl.requirements.php) if you plan to use the HTTP\CURLRequest library Additionally, make sure that the following extensions are enabled in your PHP: - json (enabled by default - don't turn it off) - [mbstring](http://php.net/manual/en/mbstring.installation.php) - [mysqlnd](http://php.net/manual/en/mysqlnd.install.php) - xml (enabled by default - don't turn it off)
Website Musholla/Masjid menggunakan Codeigniter 4 dan Ajax
ajax,bootstrap,codeigniter,mosque,css,html,javascript
2023-11-03T06:25:26Z
2023-11-03T07:04:57Z
null
1
0
3
0
4
4
null
MIT
PHP
gisdev1203/db_management
master
# DBER | Database design tool based on entity relation diagram [中文](README-CN.md) ## Website and Demo https://dber.tech ![Demo Gif](./dber.gif) ## Features 1. Design data structures Visually 2. Create relationships with drag and drop 3. Export SQL scripts from the graph ## Tech stack SVG Next.js(React) DBML ArcoDesign Dexie(indexDB) ## Getting Started First, Clone the repository or download the source code. Install the dependences. ```bash npm install # or yarn install ``` Run the development server: ```bash npm run dev # or yarn dev ``` Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. Run in the production mode: ```bash npm run build && npm run start ``` Export static pages: ```bash npm run gen ``` ## Build & Startup with docker Build docker image with command: ``` docker build -t dber . ``` Then run it with docker or docker compose: ``` docker run -p 3000:3000 dber ``` OR ```bash docker-compose up -d ``` Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. ## Inspired by [dbdiagram](https://dbdiagram.io/) [antv x6](https://x6.antv.vision/)
db query management form builder query builder
builder,db,docker,form,javascript,mysql,next,postgis,postgresql,query
2023-10-12T01:30:13Z
2023-08-09T13:18:33Z
null
3
0
125
0
1
4
null
MIT
JavaScript
ViktorSvertoka/goit-advancedjs-hw-04
main
# Критерії приймання - Створено репозиторій `goit-advancedjs-hw-04`. - Домашня робота містить два посилання: на вихідні файли і робочу сторінку на `GitHub Pages`. - В консолі відсутні помилки і попередження під час відкриття живої сторінки завдання. - Проект зібраний за допомогою [vanilla-app-template](https://github.com/goitacademy/vanilla-app-template). - Для HTTP-запитів використана бібліотека [axios](https://axios-http.com/). - Використовується синтаксис `async/await`. - Для повідомлень використана бібліотека [ iziToast](https://izitoast.marcelodolza.com/). - Код відформатований за допомогою `Prettier`. #### Формат оцінювання: - Оцінка від 0 до 100 #### Формат здачi: - Два посилання: на вихідні файли і робочу сторінку на `GitHub Pages` Прикрiплений файл репозиторію у форматi zip # Завдання. Пошук зображень Створи фронтенд частину застосунку пошуку і перегляду зображень за ключовим словом. Додай оформлення елементів інтерфейсу. Подивись демо-відео роботи застосунку. https://user-images.githubusercontent.com/17479434/125040406-49a6f600-e0a0-11eb-975d-e7d8eaf2af6b.mp4 ## Форма пошуку Форма спочатку міститья в HTML документі. Користувач буде вводити рядок для пошуку у текстове поле, а по сабміту форми необхідно виконувати HTTP-запит. ```html <form class="search-form" id="search-form"> <input type="text" name="searchQuery" autocomplete="off" placeholder="Search images..." /> <button type="submit">Search</button> </form> ``` ## HTTP-запити Для бекенду використовуй публічний API сервісу [Pixabay](https://pixabay.com/api/docs/). Зареєструйся, отримай свій унікальний ключ доступу і ознайомся з документацією. Список параметрів рядка запиту, які тобі обов'язково необхідно вказати: - `key` - твій унікальний ключ доступу до API. - `q` - термін для пошуку. Те, що буде вводити користувач. - `image_type` - тип зображення. На потрібні тільки фотографії, тому постав значення `photo`. - `orientation` - орієнтація фотографії. Постав значення `horizontal`. - `safesearch` - фільтр за віком. Постав значення `true`. У відповіді буде масив зображень, що задовольнили критерії параметрів запиту. Кожне зображення описується об'єктом, з якого тобі цікаві тільки наступні властивості: - `webformatURL` - посилання на маленьке зображення для списку карток. - `largeImageURL` - посилання на велике зображення. - `tags` - рядок з описом зображення. Підійде для атрибуту `alt`. - `likes` - кількість лайків. - `views` - кількість переглядів. - `comments` - кількість коментарів. - `downloads` - кількість завантажень. Якщо бекенд повертає порожній масив, значить нічого підходящого не було знайдено. У такому разі показуй повідомлення з текстом `"Sorry, there are no images matching your search query. Please try again."`. Для повідомлень використовуй бібліотеку [notiflix](https://github.com/notiflix/Notiflix#readme). ## Галерея і картка зображення Елемент `div.gallery` спочатку міститься в HTML документі, і в нього необхідно рендерити розмітку карток зображень. Під час пошуку за новим ключовим словом необхідно повністю очищати вміст галереї, щоб не змішувати результати. ```html <div class="gallery"> <!-- Картки зображень --> </div> ``` Шаблон розмітки картки одного зображення для галереї. ```html <div class="photo-card"> <img src="" alt="" loading="lazy" /> <div class="info"> <p class="info-item"> <b>Likes</b> </p> <p class="info-item"> <b>Views</b> </p> <p class="info-item"> <b>Comments</b> </p> <p class="info-item"> <b>Downloads</b> </p> </div> </div> ``` ## Пагінація Pixabay API підтримує пагінацію і надає параметри `page` і `per_page`. Зроби так, щоб в кожній відповіді приходило 40 об'єктів (за замовчуванням 20). - Початкове значення параметра `page` повинно бути `1`. - З кожним наступним запитом, його необхідно збільшити на `1`. - У разі пошуку за новим ключовим словом, значення `page` потрібно повернути до початкового, оскільки буде пагінація по новій колекції зображень. HTML документ вже містить розмітку кнопки, по кліку на яку, необхідно виконувати запит за наступною групою зображень і додавати розмітку до вже існуючих елементів галереї. ```html <button type="button" class="load-more">Load more</button> ``` - В початковому стані кнопка повинна бути прихована. - Після першого запиту кнопка з'являється в інтерфейсі під галереєю. - При повторному сабміті форми кнопка спочатку ховається, а після запиту знову відображається. У відповіді бекенд повертає властивість `totalHits` - загальна кількість зображень, які відповідають критерію пошуку (для безкоштовного акаунту). Якщо користувач дійшов до кінця колекції, ховай кнопку і виводь повідомлення з текстом `"We're sorry, but you've reached the end of search results."`. ## Додатково > ⚠️ Наступний функціонал не обов'язковий для здавання завдання, але буде > хорошою додатковою практикою. ### Повідомлення Після першого запиту з кожним новим пошуком отримувати повідомлення, в якому буде написано, скільки всього знайшли зображень (властивість `totalHits`). Текст повідомлення - `"Hooray! We found totalHits images."` ### Бібліотека `SimpleLightbox` Додати відображення великої версії зображення з бібліотекою [SimpleLightbox](https://simplelightbox.com/) для повноцінної галереї. - У розмітці необхідно буде обгорнути кожну картку зображення у посилання, як зазначено в документації. - Бібліотека містить матод `refresh()`, який обов'язково потрібно викликати щоразу після додавання нової групи карток зображень. Для того щоб підключити CSS код бібліотеки в проект, необхідно додати ще один імпорт, крім того, що описаний в документації. ```js // Описаний в документації import SimpleLightbox from 'simplelightbox'; // Додатковий імпорт стилів import 'simplelightbox/dist/simple-lightbox.min.css'; ``` ### Прокручування сторінки Зробити плавне прокручування сторінки після запиту і відтворення кожної наступної групи зображень. Ось тобі код-підказка, але розберися у ньому самостійно. ```js const { height: cardHeight } = document .querySelector('.gallery') .firstElementChild.getBoundingClientRect(); window.scrollBy({ top: cardHeight * 2, behavior: 'smooth', }); ``` ### Нескінченний скрол Замість кнопки «Load more», можна зробити нескінченне завантаження зображень під час прокручування сторінки. Ми надаємо тобі повну свободу дій в реалізації, можеш використовувати будь-які бібліотеки. ![Screen](./assets/screencapture.png)
Homework for the course JavaScript📒 ---CRUD operations and Async / Await syntax---
goit,goit-js-hw-11,html5,javascript,scss,goit-advancedjs-hw-04,readme,vite
2023-11-07T23:17:56Z
2023-11-10T20:38:10Z
null
1
0
11
0
0
4
null
null
JavaScript
loucyx/lou.codes
main
<img id="logo" alt="@lou.codes/ansi" src="https://lou.codes/logo.svg" height="72" /> 📚 [Lou's Code][lou.codes] libraries monorepo ## About Lou Cyx I'm Lou, a web developer, hobbyist DJ and casual gamer based in Chicago, Illinois. I love to write open source libraries embracing bleeding-edge web technologies to create high-quality and long-lasting solutions. ## Repository Overview This monorepo serves as the central hub for my collection of libraries and projects. By consolidating my resources here, I aim to streamline development, and maintain a cohesive ecosystem of tools and components. ## Libraries in this monorepo - [🧙 functional-expression][functional_expression] - Functional Regular expression builder - [🖇️ react-pair][react_pair] - Util to help with the paired hook pattern in React. - [🖇️ preact-pair][preact_pair] - Util to help with the paired hook pattern in Preact. - [🪟 window-open-promise][window-open-promise] - Promised `globalThis.open()`. - [📟 @lou.codes/ansi][ansi] - Functional CLI ANSI formatter. - [⚙️ @lou.codes/configs][configs] - Project configurations. - [🔢 @lou.codes/constants][constants] - Shared constants. - [🚧 @lou.codes/create-package][create-package] - Project creation script. - [⏲️ @lou.codes/cron][cron] - Cron Quartz and Cron UNIX expression parser. - [↔️ @lou.codes/diff][diff] - Deep diffing utility. - [🔁 @lou.codes/iterables][iterables] - Iterable and AsyncIterable utils. - [🧮 @lou.codes/math][math] - Precise basic math operations. - [📣 @lou.codes/notify][notify] - Minimalistic Pub/Sub implementation. - [👁️‍🗨️ @lou.codes/parsers][parsers] - Parsers without nonsense. - [🧐 @lou.codes/predicates][predicates] - Predicate util functions - [❓ @lou.codes/prompts][prompts] - CLI interactive prompts. - [✅ @lou.codes/test][test] - Legible deep-equality tests. - [🏷️ @lou.codes/types][types] - Shared types. - [⚒️ @lou.codes/utils][utils] - Functional utils. <!-- Links --> [ansi]: https://lou.codes/libraries/lou_codes_ansi/ [configs]: https://lou.codes/libraries/lou_codes_configs/ [constants]: https://lou.codes/libraries/lou_codes_constants/ [create-package]: https://lou.codes/libraries/lou_codes_create_package/ [cron]: https://lou.codes/libraries/lou_codes_cron/ [diff]: https://lou.codes/libraries/lou_codes_diff/ [functional_expression]: https://lou.codes/libraries/functional_expression/ [iterables]: https://lou.codes/libraries/lou_codes_iterables/ [lou.codes]: https://lou.codes [math]: https://lou.codes/libraries/lou_codes_math/ [notify]: https://lou.codes/libraries/lou_codes_notify/ [parsers]: https://lou.codes/libraries/lou_codes_parsers/ [preact_pair]: https://lou.codes/libraries/preact_pair/ [predicates]: https://lou.codes/libraries/lou_codes_predicates/ [prompts]: https://lou.codes/libraries/lou_codes_prompts/ [react_pair]: https://lou.codes/libraries/react_pair/ [test]: https://lou.codes/libraries/lou_codes_test/ [types]: https://lou.codes/libraries/lou_codes_types/ [utils]: https://lou.codes/libraries/lou_codes_utils/ [window-open-promise]: https://lou.codes/libraries/window_open_promise/
📚 Lou's libraries monorepo.
fp,functional,javascript,libraries,monorepo,preact,pure,react,typescript,utils
2023-10-26T19:19:21Z
2024-05-23T02:30:38Z
null
1
0
261
0
0
4
null
null
TypeScript
jhamadhav/donation-app
main
# Donation App | Blockchain Bootcamp <p align="center"> <img src="./demo/banner.png" alt="image here" width="600px"> <br> A blockchain based donation app, to make and track donations. </p> ## Pre-requisite: - Install `NodeJS` in your machine: https://nodejs.org/en/download - Install `VScode` in your machine: https://code.visualstudio.com/download ## Installing a cryptocurrency wallet: To utilize the benefits of blockchain first of all we need a `cryptocurrency wallet`, there are many available in the market such as `MetaMask`, `Coinbase`, `BitPay`, etc. For this project we will install one of the most popular among them i.e. `MetaMask` The steps are as follows: 1. Search for `MetaMask` in the [chrome webstore](https://chrome.google.com/webstore/category/extensions?hl=en) <p align="center"> <img src="./demo/metamask-1.jpg" alt="image here" width="600px"> </p> 2. Install `MetaMask`: <p align="center"> <img src="./demo/metamask-2.jpg" alt="image here" width="600px"> </p> 3. Create a new wallet: <p align="center"> <img src="./demo/metamask-3.jpg" alt="image here" width="600px"> </p> 4. Here we have our crypto wallet: 🥳 <p align="center"> <img src="./demo/metamask-4.jpg" alt="image here" width="600px"> </p> But as you may notice, we have no `funds` here 😔, and buying `Ethereum` could be quite expensive, so what can do we do ? Let's install a local blockchain where we can test all our stuff. ## Installing Ganache: 1. Visit [Truffle Suite](https://trufflesuite.com/ganache/) to download `Ganache` <p align="center"> <img src="./demo/ganache-1.jpg" alt="image here" width="600px"> </p> 2. Create a new Workspace: <p align="center"> <img src="./demo/ganache-2.jpg" alt="image here" width="600px"> </p> 3. Here we have it, our own local blockchain: 🥳 <p align="center"> <img src="./demo/ganache-3.jpg" alt="image here" width="600px"> </p> So as of now we have our `Crypto wallet` set up done, and our `Local Blockchain` setup done; but how do we connect these two ? ## Connecting Ganache account to MetaMask Wallet: 1. Click on the `MetaMask` extension and click `add new network`: <p align="center"> <img src="./demo/metamask-ganache-1.jpg" alt="image here" width="600px"> </p> 2. Add the following details, like this: <p align="center"> <img src="./demo/metamask-ganache-2.jpg" alt="image here" width="600px"> </p> 3. And we are done with connecting our local blockchain to metamask wallet: <p align="center"> <img src="./demo/metamask-ganache-3.jpg" alt="image here" width="600px"> </p> 4. Let's add an account from our chain to the metamask, so we can have the funds available, Copy the private key from here. <p align="center"> <img src="./demo/metamask-ganache-4.jpg" alt="image here" width="600px"> </p> 5. Click `Import Account` in `MetaMask` extension: <p align="center"> <img src="./demo/metamask-ganache-5.jpg" alt="image here" width="600px"> </p> 6. 🥳 and we have our funds in our wallet (locally only though) <p align="center"> <img src="./demo/metamask-ganache-6.jpg" alt="image here" width="600px"> </p> With this we are ready to start developing our application. ## Donation App: Frontend For our application frontend we will be using `HTML`, `SCSS/CSS`, and `JavaScript`. This is to make the application simple to build and easier for everyone to follow along. You can create the frontend on your own or you can do the following. 1. Create `index.html`, and copy all the contents from the `index.html` available in the repository. 2. Create `/styles` folder and copy all the content from there. 3. Create `/scripts` folder and create `main.js` in that. Content in `main.js` for now should be the following: ```js window.onload = async () => { hideLoader(); }; const showLoader = () => { document.getElementById("loader-container").style.display = "flex"; }; const hideLoader = () => { document.getElementById("loader-container").style.display = "none"; }; ``` 4. Now if you will open the `index.html` in browser we will have our frontend ready. 🥳 ## Solidity contract: Donation App backend logic Now that our Frontend is ready let's make our blockchain contract to execute our application logics. - Create `contact` folder with file `1_DonationContract.sol`. - Copy `truffle-config.js` file as well, this will help us deploy the contract to our ganache local blockchain. We need 3 essentials logics, and there code is as follows: 1. Creating a donation ```solidity function create(string memory id, string memory time, uint256 amount) public { Donation memory a; a.id = id; a.time = time; a.amount = amount; a.userAddress = msg.sender; donations[id] = a; allDonations.push(id); } ``` 2. Fetching a donation by ID ```solidity function getDonation(string memory id) public view returns (Donation memory) { return donations[id]; } ``` 3. Fetching all donations ```solidity function getAllDonations() public view returns(string[] memory){ return allDonations; } ``` Finally the contract will look like this: ```solidity // SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.8.0 <0.9.0; contract DonationContract { struct Donation { string id; address userAddress; string time; uint256 amount; } mapping(string => Donation) public donations; string[] allDonations; function create( string memory id, string memory time, uint256 amount ) public { Donation memory a; a.id = id; a.time = time; a.amount = amount; a.userAddress = msg.sender; donations[id] = a; allDonations.push(id); } // function to view appication function getDonation(string memory id) public view returns (Donation memory) { return donations[id]; } function getAllDonations() public view returns(string[] memory){ return allDonations; } } ``` we can test our contract on [Remix - Ethereum IDE](https://remix.ethereum.org/#lang=en&optimize=false&runs=200&evmVersion=null). ## Deploying to Ganache: - Copy the `migrations` folder to your root folder 1. Open your `VSCODE` terminal and run the following: - `npm init` - `npx truffle build` This will compile the contract that we have created and make this file `DonationContract.json`, this contains the details of our contract that are needed to deploy it to the block chain. 2. Run `npx truffle deploy` This will deploy our contract to the chain. 3. Move to `Ganache`, navigate to `Contracts`, and you can see the address of the contract block: <p align="center"> <img src="./demo/contract-address.jpg" alt="image here" width="600px"> </p> Copy this address this will come in handy. Now that we have our `Frontend` and `Backend` ready, let's connect them. ## Integrating `Frontend` and `Backend`: 1. From `scripts` folder, copy `contractConfig.js` and `contractProxy.js` 2. In the config file, we have the `abi` that we got from `truffle compile` in the file `DonationContract.json`, and we have the contract's first block address that you have noted before: `contractConfig.js`: ```js // contract creation block address details // first block address const contractAddress = "Address that you copied"; // first block abi const abi = [...] // copy from `DonationContract.json` ``` 3. Now that we have means to connect to our `blockchain`, let's create functions to do so. 4. We essentially need these 4 functions: 1. Connect() ```js async connect() { this.provider = new ethers.providers.Web3Provider(window.ethereum); await this.provider.send("eth_requestAccounts", []); this.signer = this.provider.getSigner(); this.contract = new ethers.Contract(contractAddress, abi, this.signer); this.isConnected = this.provider && this.signer && this.contract; await this.getAccount(); } ``` 2. createDonation() ```js async createDonation(amount) { if (!this.isConnected) { console.log("Connect Your Account to Continue!"); return []; } let d = new Date(); let data = { id: uuid(), time: d.toJSON().toString(), amount, }; const tx = await this.contract.functions.create( data.id, data.time, data.amount ); const receipt = await tx.wait(); // console.log(receipt); } ``` 3. getDonationByID() ```js async getDonationByID(id) { if (!this.isConnected) { console.log("Connect Your Account to Continue!"); return []; } const tx = await this.contract.functions.getDonation(id); return tx[0]; } ``` 4. getAllDonationsID() ```js async getAllDonationsID() { if (!this.isConnected) { console.log("Connect Your Account to Continue!"); return []; } const tx = await this.contract.functions.getAllDonations(); return tx[0]; } ``` 5. Finally our `proxy` code will look like this: ```js class ContractProxy { provider = null; contract = null; signer = null; isConnected = false; account = { address: "", balance: "" }; async connect() {...} async createDonation(amount) {...} async getDonationByID(id) {...} async getAllDonationsID() {...} } ``` Now that we are done with creating the proxy, copy all the code from `main.js`, this essentially have functions to interact with the Frontend and access the functions that we have created in proxy. ## Testing our application: 1. Enter `amount` that you want to donate, and click `donate`: <p align="center"> <img src="./demo/local-test-1.jpg" alt="image here" width="600px"> </p> 2. Pay `gas` to make the transaction happen: <p align="center"> <img src="./demo/local-test-2.jpg" alt="image here" width="600px"> </p> 3. You can see `All Donations made`: <p align="center"> <img src="./demo/local-test-3.jpg" alt="image here" width="600px"> </p> 4. You can see `All Your Donations`: <p align="center"> <img src="./demo/local-test-4.jpg" alt="image here" width="600px"> </p> With this we can made our very first `Decentralized Application (Dapp)` 🥳 But this is only locally 😔, how can I show this to my friends ? So let's learn how we can deploy it to a testnet and share it with our friends. ## Connecting to Polygon Mumbai Testnet: 1. Similar to how we added `Ganache` local network to our `MetaMask`, we need to add `Polygon Mumbai Testnet` to our `MetaMask` wallet as well. 2. Add the following details: <p align="center"> <img src="./demo/test-net-1.jpg" alt="image here" width="600px"> </p> 3. We will get the `RPC` link from [Alchemy](https://www.alchemy.com/), create `app` here. <p align="center"> <img src="./demo/test-net-2.jpg" alt="image here" width="600px"> </p> 4. Add application details <p align="center"> <img src="./demo/test-net-3.jpg" alt="image here" width="600px"> </p> 5. Copy the `api key`, this will be our `RPC` link <p align="center"> <img src="./demo/test-net-4.jpg" alt="image here" width="600px"> </p> 6. Paste this to the network settings, and we are done: <p align="center"> <img src="./demo/test-net-5.jpg" alt="image here" width="600px"> </p> 7. Now you might notice, we run run into a similar problem, we have no funds 😔,so we will use the [Faucet](https://mumbaifaucet.com/) to get few `Matic` (currency used in polygon). Just enter your account address and you will receive `1 Matic`, this will be enough do host and do our testings. <p align="center"> <img src="./demo/faucet.jpg" alt="image here" width="600px"> </p> Now that we are done with setup of our `Test Net Chain`, let's deploy our contract there. ## Deployment: 1. Open [`Remix - Ethereum IDE`](https://remix.ethereum.org/), paste your contract there and compile it. - After that select `Injected Provider - MetaMask` as environment and deploy. - Copy the `Contract address`, and paste to the `contractConfig.js` that we have. <p align="center"> <img src="./demo/deployment.jpg" alt="image here" width="600px"> </p> 2. With this we have connected out `Frontend` to our `Test Net Backend`. With this we are done 🥳🥳 ## Conclusion: We have now acquired the knowledge to develop a fundamental blockchain-based application, conducted testing on our local blockchain network, and successfully hosted it on the Polygon Mumbai testnet. I trust you enjoyed the process as much as I did. If you have any questions or concerns, please don't hesitate to reach out to me. ## My Socials: - Mail: contact@jhamadhav.com - Linkedin: [@jhamadhav](https://www.linkedin.com/in/jhamadhav) - Twitter: [@jhamadhav28](https://twitter.com/jhamadhav28) - Website: [jhamadhav.com](https://jhamadhav.com/)
A blockchain based donation app, to make and track donation across the board.
blockchain,ethereum,ganache,html,javascript,scss,solidity
2023-10-14T15:56:57Z
2023-10-15T05:22:32Z
null
1
0
18
0
2
4
null
null
JavaScript
ViktorSvertoka/goit-advancedjs-hw-02
main
# Критерії приймання - Створено репозиторій `goit-advancedjs-hw-02`. - Домашня робота містить два посилання для кожного проекту: на вихідні файли і робочу сторінку на `GitHub Pages`. - В консолі відсутні помилки і попередження під час відкриття живої сторінки завдання. - Проект зібраний за допомогою [vanilla-app-template](https://github.com/goitacademy/vanilla-app-template). - Код відформатований за допомогою `Prettier`. #### Формат оцінювання: - Оцінка від 0 до 100 #### Формат здачi: - Два посилання: на вихідні файли і робочу сторінку на `GitHub Pages` - Прикрiплений файл репозиторію у форматi zip ## Стартові файли [Завантажуй стартові файли](https://minhaskamal.github.io/DownGit/#/home?url=https:%2F%2Fgithub.com%2Fgoitacademy%2Fjavascript-homework%2Ftree%2Fmain%2Fv2%2F09%2Fsrc) з готовою розміткою, стилями та підключеними файлами скриптів для кожного завдання. Скопіюй їх собі в проєкт, повністю замінивши папку src у [vanilla-app-template](https://github.com/goitacademy/vanilla-app-template). ## Завдання 1. Перемикач кольорів Виконуй це завдання у файлах `01-color-switcher.html` і `01-color-switcher.js`. Подивися демо-відео роботи перемикача. https://user-images.githubusercontent.com/17479434/127716753-fabd276f-6a7d-411b-bfa2-01c818f4ea66.mp4 HTML містить кнопки «Start» і «Stop». ```html <button type="button" data-start>Start</button> <button type="button" data-stop>Stop</button> ``` Напиши скрипт, який після натискання кнопки «Start», раз на секунду змінює колір фону `<body>` на випадкове значення, використовуючи інлайн стиль. Натисканням на кнопку «Stop» зміна кольору фону повинна зупинятися. > ⚠️ Враховуй, що на кнопку «Start» можна натиснути нескінченну кількість разів. > Зроби так, щоб доки зміна теми запущена, кнопка «Start» була неактивною > (disabled). Для генерування випадкового кольору використовуй функцію `getRandomHexColor`. ```js function getRandomHexColor() { return `#${Math.floor(Math.random() * 16777215).toString(16)}`; } ``` ## Завдання 2. Таймер зворотного відліку Виконуй це завдання у файлах `02-timer.html` і `02-timer.js`. Напиши скрипт таймера, який здійснює зворотний відлік до певної дати. Такий таймер може використовуватися у блогах та інтернет-магазинах, сторінках реєстрації подій, під час технічного обслуговування тощо. Подивися демо-відео роботи таймера. https://user-images.githubusercontent.com/17479434/127672390-2a51efe1-06fb-41dd-86dd-8542393d3043.mp4 ### Елементи інтефрейсу HTML містить готову розмітку таймера, поля вибору кінцевої дати і кнопку, по кліку на яку, таймер повинен запускатися. Додай мінімальне оформлення елементів інтерфейсу. ```html <input type="text" id="datetime-picker" /> <button type="button" data-start>Start</button> <div class="timer"> <div class="field"> <span class="value" data-days>00</span> <span class="label">Days</span> </div> <div class="field"> <span class="value" data-hours>00</span> <span class="label">Hours</span> </div> <div class="field"> <span class="value" data-minutes>00</span> <span class="label">Minutes</span> </div> <div class="field"> <span class="value" data-seconds>00</span> <span class="label">Seconds</span> </div> </div> ``` ### Бібліотека `flatpickr` Використовуй бібліотеку [flatpickr](https://flatpickr.js.org/) для того, щоб дозволити користувачеві кросбраузерно вибрати кінцеву дату і час в одному елементі інтерфейсу. Для того щоб підключити CSS код бібліотеки в проект, необхідно додати ще один імпорт, крім того, що описаний в документації. ```js // Описаний в документації import flatpickr from 'flatpickr'; // Додатковий імпорт стилів import 'flatpickr/dist/flatpickr.min.css'; ``` Бібліотека очікує, що її ініціалізують на елементі `input[type="text"]`, тому ми додали до HTML документу поле `input#datetime-picker`. ```html <input type="text" id="datetime-picker" /> ``` Другим аргументом функції `flatpickr(selector, options)` можна передати необов'язковий об'єкт параметрів. Ми підготували для тебе об'єкт, який потрібен для виконання завдання. Розберися, за що відповідає кожна властивість в [документації «Options»](https://flatpickr.js.org/options/), і використовуй його у своєму коді. ```js const options = { enableTime: true, time_24hr: true, defaultDate: new Date(), minuteIncrement: 1, onClose(selectedDates) { console.log(selectedDates[0]); }, }; ``` ### Вибір дати Метод `onClose()` з об'єкта параметрів викликається щоразу під час закриття елемента інтерфейсу, який створює `flatpickr`. Саме у ньому варто обробляти дату, обрану користувачем. Параметр `selectedDates` - це масив обраних дат, тому ми беремо перший елемент. - Якщо користувач вибрав дату в минулому, покажи `window.alert()` з текстом `"Please choose a date in the future"`. - Якщо користувач вибрав валідну дату (в майбутньому), кнопка «Start» стає активною. - Кнопка «Start» повинна бути неактивною доти, доки користувач не вибрав дату в майбутньому. - Натисканням на кнопку «Start» починається відлік часу до обраної дати з моменту натискання. ### Відлік часу Натисканням на кнопку «Start» скрипт повинен обчислювати раз на секунду, скільки часу залишилось до вказаної дати, і оновлювати інтерфейс таймера, показуючи чотири цифри: дні, години, хвилини і секунди у форматі `xx:xx:xx:xx`. - Кількість днів може складатися з більше, ніж двох цифр. - Таймер повинен зупинятися, коли дійшов до кінцевої дати, тобто `00:00:00:00`. > 💡 Не будемо ускладнювати. Якщо таймер запущений, для того щоб вибрати нову > дату і перезапустити його - необхідно перезавантажити сторінку. Для підрахунку значень використовуй готову функцію `convertMs`, де `ms` - різниця між кінцевою і поточною датою в мілісекундах. ```js function convertMs(ms) { // Number of milliseconds per unit of time const second = 1000; const minute = second * 60; const hour = minute * 60; const day = hour * 24; // Remaining days const days = Math.floor(ms / day); // Remaining hours const hours = Math.floor((ms % day) / hour); // Remaining minutes const minutes = Math.floor(((ms % day) % hour) / minute); // Remaining seconds const seconds = Math.floor((((ms % day) % hour) % minute) / second); return { days, hours, minutes, seconds }; } console.log(convertMs(2000)); // {days: 0, hours: 0, minutes: 0, seconds: 2} console.log(convertMs(140000)); // {days: 0, hours: 0, minutes: 2, seconds: 20} console.log(convertMs(24140000)); // {days: 0, hours: 6 minutes: 42, seconds: 20} ``` ### Форматування часу Функція `convertMs()` повертає об'єкт з розрахованим часом, що залишився до кінцевої дати. Зверни увагу, що вона не форматує результат. Тобто, якщо залишилося 4 хвилини або будь-якої іншої складової часу, то функція поверне `4`, а не `04`. В інтерфейсі таймера необхідно додавати `0`, якщо в числі менше двох символів. Напиши функцію `addLeadingZero(value)`, яка використовує метод `padStart()` і перед рендерингом інтефрейсу форматує значення. ### Бібліотека повідомлень > ⚠️ Наступний функціонал не обов'язковий для здавання завдання, але буде > хорошою додатковою практикою. ДДля відображення повідомлень користувачеві, замість `window.alert()`, використовуй бібліотеку [notiflix](https://github.com/notiflix/Notiflix#readme). ## Завдання 3. Генератор промісів Виконуй це завдання у файлах `03-promises.html` і `03-promises.js`. Подивися демо-відео роботи генератора промісів. https://user-images.githubusercontent.com/17479434/127932183-42232f26-4db2-4614-86bc-6bec54b1d6a4.mp4 HTML містить розмітку форми, в поля якої користувач буде вводити першу затримку в мілісекундах, крок збільшення затримки для кожного промісу після першого і кількість промісів, яку необхідно створити. ```html <form class="form"> <label> First delay (ms) <input type="number" name="delay" required /> </label> <label> Delay step (ms) <input type="number" name="step" required /> </label> <label> Amount <input type="number" name="amount" required /> </label> <button type="submit">Create promises</button> </form> ``` Напиши скрипт, який на момент сабміту форми викликає функцію `createPromise(position, delay)` стільки разів, скільки ввели в поле `amount`. Під час кожного виклику передай їй номер промісу (`position`), що створюється, і затримку, враховуючи першу затримку (`delay`), введену користувачем, і крок (`step`). ```js function createPromise(position, delay) { const shouldResolve = Math.random() > 0.3; if (shouldResolve) { // Fulfill } else { // Reject } } ``` Доповни код функції `createPromise` таким чином, щоб вона повертала **один проміс**, який виконується або відхиляється через `delay` часу. Значенням промісу повинен бути об'єкт, в якому будуть властивості `position` і `delay` зі значеннями однойменних параметрів. Використовуй початковий код функції для вибору того, що потрібно зробити з промісом - виконати або відхилити. ```js createPromise(2, 1500) .then(({ position, delay }) => { console.log(`✅ Fulfilled promise ${position} in ${delay}ms`); }) .catch(({ position, delay }) => { console.log(`❌ Rejected promise ${position} in ${delay}ms`); }); ``` ### Бібліотека повідомлень > ⚠️ Наступний функціонал не обов'язковий для здавання завдання, але буде > хорошою додатковою практикою. Для відображення повідомлень користувачеві, замість `console.log()`, використовуй бібліотеку [iziToast](https://izitoast.marcelodolza.com/). ![Screencaption](./assets/1.png) ![Screencaption](./assets/2.png) ![Screencaption](./assets/3.png) ![Screencaption](./assets/4.png)
Homework for the course JavaScript📒 ---Asynchrony / Timers / Date / Promise ---
async,css3,date,goit,html5,javascript,promise,timers,vite,goit-advancedjs-hw-02
2023-10-30T22:01:43Z
2023-11-02T22:42:51Z
null
1
0
4
0
0
4
null
null
JavaScript
LeoDog896/scannable
main
# scannable [![npm](https://img.shields.io/npm/v/scannable)](https://npmjs.com/package/scannable) [![GitHub](https://img.shields.io/badge/license-MIT-green)](https://github.com/LeoDog896/scannable/blob/master/LICENSE) [![demo](https://img.shields.io/badge/demo-live-brightgreen)](https://leodog896.github.io/scannable/demo) QR code generation for a modern web. > The core of this is from [nayuki's QR code generator](https://github.com/nayuki/QR-Code-generator/)
QR code generation for a modern web
javascript,qr-code,typescript,qr
2023-10-16T12:14:53Z
2024-04-10T23:34:31Z
null
2
2
52
0
2
4
null
MIT
TypeScript
RFS-ADRENO/twitter-x-scraper
main
# twitter-x-scraper scrape from twitter/x and post to facebook page, control via telegram bot ## Installation Line by line: ```bash git clone https://github.com/RFS-ADRENO/twitter-x-scraper.git cd twitter-x-scraper npm install ``` ## Configuration Rename `.env.example` to `.env` and fill in the values. Linux: ```bash mv .env.example .env ``` Windows: ```bash rename .env.example .env ``` ### Telegram Bot Create new telegram bot via [BotFather](https://t.me/BotFather) and get the token. <br/> For more information, see [here](https://core.telegram.org/bots/tutorial). Create new telegram channel and add the bot. <br/> Now fill in the values in `.env` file ```env TELEGRAMBOT_TOKEN="your_token_here" WHITELIST_CHAT_ID="your_channel_id_here" ``` Start the bot ```bash npm start ``` Go to your channel and send `/uid`, the bot will send you your id. <br/> Grab the id and fill in the `.env` file ```env ADMIN_IDS="id1,id2,id3" ``` > As you can see, you can add multiple ids, just separate them with comma. The bot will only accept commands if the channel id is equal to `WHITELIST_CHAT_ID` and the sender id is equal to one of the `ADMIN_IDS`. ### Facebook App First you need to create a facebook app from [here](https://developers.facebook.com/apps/). <br/> Follow the steps below while creating the app: Choose `Other` ![step-1](https://github.com/RFS-ADRENO/twitter-x-scraper/assets/77768272/7c7e0c71-fe50-46ac-a7ea-fb4c7a5dbe5d) Chose `Business` ![step-2](https://github.com/RFS-ADRENO/twitter-x-scraper/assets/77768272/09084a87-7270-4c7f-be68-ce86ef263093) Then fill in the app name and contact email and click `Create App` ![step-3](https://github.com/RFS-ADRENO/twitter-x-scraper/assets/77768272/dd4608c1-292f-4cb9-b53f-fab098f432fb) Now, you need a Privacy Policy URL. <br/> You can create one from [here](https://app.freeprivacypolicy.com/wizard/privacy-policy) for free. <br/> Then navigate to `App settings` > `Basic` and fill in the Privacy Policy URL and click `Save Changes` ![image](https://github.com/RFS-ADRENO/twitter-x-scraper/assets/77768272/fbdea232-c3f8-4076-b932-e54a5de19298) ![image](https://github.com/RFS-ADRENO/twitter-x-scraper/assets/77768272/12c40c02-b51a-47a1-8a6f-a52aebc226a5) <br /> Now toggle the `App Mode` from `Development` to `Live` ![image](https://github.com/RFS-ADRENO/twitter-x-scraper/assets/77768272/6744ef5d-fd62-4333-97ab-b5cc95650cab) ### Facebook Page This bot support posting to multiple facebook pages. <br/> First, create a page from [here](https://www.facebook.com/pages/create) if you haven't already. <br/> Then go to [Graph API Explorer](https://developers.facebook.com/tools/explorer/) and select your app from the dropdown menu. <br/> Then click `Get Token` > `Get Page Access Token` Follow the instructions and select pages that you want to post to. <br/> ![image](https://github.com/RFS-ADRENO/twitter-x-scraper/assets/77768272/64dcf716-7aa9-4ade-ba5e-db763722d31a) ![image](https://github.com/RFS-ADRENO/twitter-x-scraper/assets/77768272/93108cef-c5b7-4bab-b455-14ff5cd4289c) After you connected pages to your app, click `Get Token` or `User Token`, this time you will see your page names. <br/> Select the page that you want to post, add `pages_manage_posts` permission. <br/> Then click `Generate Access Token` then copy the token. ![image](https://github.com/RFS-ADRENO/twitter-x-scraper/assets/77768272/4842542d-36c3-4150-801a-947e6d2d8a8d) ![image](https://github.com/RFS-ADRENO/twitter-x-scraper/assets/77768272/84d1e462-3731-45bd-bc9e-dff43ea815f8) ![image](https://github.com/RFS-ADRENO/twitter-x-scraper/assets/77768272/cd47218b-9b60-45d2-8a68-f704b9e0f110) ![image](https://github.com/RFS-ADRENO/twitter-x-scraper/assets/77768272/1ace9d85-2e1a-4fb8-a07c-5b356cb6263a) Then copy the token and paste it in `.env` file > Because this bot support posting to multiple pages, you need to follow the naming rule. ```env FBTOKEN_PAGE_ONE = "your_token_here" FBTOKEN_PAGE_TWO = "your_token_here" ``` ### Start the program Now all done, you can start the program ```bash npm start ``` Go to your telegram channel and send `/pages` to see the list of pages that you connected to your app. <br/> ## Commands | Command | Description | | --- | --- | | `/uid` | Get your telegram id | | `/pages` | Get the list of pages that you connected to your app | | `/startTop` | Start scraping from top section | | `/startLatest` | Start scraping from latest section | | `/stop` | Stop scraping | ### Example ![image](https://github.com/RFS-ADRENO/twitter-x-scraper/assets/77768272/1828f148-30df-4be6-927c-cf85072876dc) ![image](https://github.com/RFS-ADRENO/twitter-x-scraper/assets/77768272/cf32b338-2de3-402c-85dd-6e9bc33a5865) `startTop` and `startLatest` commands will add a job to the queue. <br/> The job will be executed when the previous job is finished. <br/> `/startTop pageNumber | hashtag1 hashtag2 ...` <br/> `/startLatest pageNumber | hashtag1 hashtag2 ...` for example: `/startTop 1 | openai gpt` This will scrape from top section of tweets that contains both `openai` and `gpt` hashtags. ## LICENSE This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details
scrape from twitter/x and post to facebook page, control via telegram bot
facebook,facebook-graph-api,javascript,nodejs,puppeteer,scraper,telegram,telegram-bot,twitter
2023-10-24T20:53:57Z
2024-04-29T09:42:24Z
null
1
1
12
0
0
4
null
MIT
JavaScript
marksikaundi/30-Days-of-JavaScript
master
## Instruction for testing - Run the below command `npm install -g mocha` - After that now you can create a test case `mocha hello.test.js`
LeetCode challenge
leetcode,leetcode-javascript,30daychallenge,dsa,javascript
2023-10-14T13:24:32Z
2024-04-21T06:44:49Z
null
1
0
57
0
0
4
null
null
MDX
MarcosMaio/Beautiful-Form-Register
main
# Beautiful Form Register Bem-vindo ao Beautiful Form Register! Esta aplicação web oferece registro de usuários, login e interações personalizadas. Abaixo, você encontrará detalhes sobre suas principais funcionalidades e as tecnologias utilizadas. ![site illustrato](https://tinypic.host/images/2023/11/15/Capture0944eac890a19dc7.png) ![site illustrato](https://tinypic.host/images/2023/11/15/codigo-3.png) ![site illustrato](https://tinypic.host/images/2023/11/15/codigo-4.png) ![site illustrato](https://tinypic.host/images/2023/11/15/codigo-6.png) ![site illustrato](https://tinypic.host/images/2023/11/15/codigo-8.png) ![site illustrato](https://tinypic.host/images/2023/11/15/codigo-9.png) ![site illustrato](https://tinypic.host/images/2023/11/15/codigo-10.png) ![site illustrato](https://tinypic.host/images/2023/11/15/codigo-11.png) ## Funcionalidades 1. **Cadastro e Login:** - Os usuários podem se cadastrar no banco de dados fornecendo informações como nome de usuário, e-mail e senha. - Login seguro com criptografia de senha. 2. **Persistência de Login:** - "Opção "Lembrar-me" para manter o usuário conectado mesmo após recarregar a página. - Logout disponível no cabeçalho para encerrar a sessão. 3. **Cartão Personalizado:** - Após o login, os usuários são recebidos com um cartão personalizado contendo seu nome de usuário. - Mensagem de agradecimento personalizada aos usuários por testarem a aplicação. 4. **Recuperação de Senha:** - Funcionalidade "Esqueci Minha Senha" com envio de e-mail para redefinição. - Link seguro de redefinição com token de validação. 5. **Validações Avançadas:** - Formulários de registro e login com validações rigorosas para senha, e-mail e nome de usuário. - Mensagens de erro e alertas fornecidos ao usuário em caso de entrada inválida. 6. **Contato e Redes Sociais:** - Seção "Sobre Mim" com um cartão de contato e links para redes sociais. - Capacidade de enviar mensagens diretamente via WhatsApp. ## Tecnologias Utilizadas - Next.js - React.js - Typescript - Node.js - PostgreSQL - Prisma - Sytled Components - Zod ## Autor [Marcos Paulo Maio Carneiro De Campos] ## License This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.
Projeto de site proprio - Finalizado
css,html,javascript,nextjs13,nodejs,postgresql,reatctjs,typescript,zod,styled-components
2023-10-23T17:38:52Z
2023-11-16T17:53:47Z
null
1
0
122
0
0
4
null
null
TypeScript
s4chin-verma/ToDo-React
main
# To-Do App ![Screenshot 2023-10-20 025047](https://github.com/s4chin-verma/ToDo-React/assets/101526717/cde8ff81-cc55-44e2-bdd0-d439a492720c) **Summary** This To-Do app is a full-stack application built using React.js, Vite, MDB Bootstrap on the frontend, and Node.js with Express.js on the backend. User authentication is handled using JWT tokens, and data is stored in a MongoDB database. The app provides features for managing to-do lists, user registration and authentication, task creation, editing, and deletion. ## Technology Stack - **Frontend**: React.js, Vite, MDB Bootstrap - **Backend**: Node.js, Express.js, MongoDB - **Authentication**: JWT Tokens ## Screenshots ![Screenshot 2023-10-20 025101](https://github.com/s4chin-verma/ToDo-React/assets/101526717/ddbec349-9864-4379-828a-277e08eb228e) ![Screenshot 2023-10-20 025111](https://github.com/s4chin-verma/ToDo-React/assets/101526717/9e40a59b-73d7-4c73-af9d-dda5f09db763) ## Getting Started **Prerequisites:** - [Node.js](https://nodejs.org/) installed on your system - A package manager like [npm](https://www.npmjs.com/) - A MongoDB database set up **Installation:** 1. Clone the repository: ```bash git clone https://github.com/s4chin-verma/ToDo-React.git 2. Open the project folder in your code editor. 3. Environment Variables Before running the frontend or backend, make sure to set up your environment variables. Create a `.env` file in the respective directories and define the following variables: - `PORT`: Set the server port, e.g., `PORT = 4000` - `MONGO_URL`: Specify your MongoDB connection URL, e.g., `MONGO_URL = mongodb://localhost:27017/mydatabase` - `JWT_SECRET`: Set your JSON Web Token secret, e.g., `JWT_SECRET = mysecretkey` 5. Open the terminal of your code editor. 6. Start the frontend development server: ```bash cd to-do npm install npm run dev This will launch the frontend application on http://localhost:5173. 5. Start the backend server: ```bash cd server npm install npx nodemon index.js ## Contributing **Contributions to this project are welcome! If you'd like to contribute, please follow these steps:** 1. Fork the project. 2. Create a new branch for your feature or bug fix. 3. Make your changes and commit them. 4. Push your changes to your fork. 5. Create a pull request to this repository. ## Contact If you have any questions or feedback, feel free to reach out to me: ## Contact You can reach me on the following social media platforms: - [Instagram](https://www.instagram.com/s4chin_verma/) - [LinkedIn](https://www.linkedin.com/in/sachin-verma-2951bb209/) - [GitHub](https://github.com/s4chin-verma) Feel free to connect with me or follow for updates! ## Happy Development 👍😺🖤
🚀 Welcome to the sleek Todo List App ✅ Frontend powered by 🌐 React.js! 💻 Experience efficient task management. Seamlessly integrated with a secure Node.js ♨️ backend using JWT 🔁 authentication for a safe and productive ⏫ workflow. ✨
css,html5,javascript,jwt-authentication,mdbootstrap,mongodb,nodejs,react
2023-10-19T19:24:46Z
2024-03-04T19:59:18Z
null
1
0
15
0
0
4
null
null
JavaScript
miftahganzz/Anime-in-Website
main
# Anime'in Website <p align="center"> <img src="https://raw.githubusercontent.com/miftahganzz/Anime-in-Website/main/assets/img/preview.png" alt="Film Search Screen Shot"> </p> <p align="center"> <a href="https://miftah.me/Anime-in-Website" target="_blank">Visit Now 🚀</a> </p> ## Introduction Anime'in is a website that enables users to quickly and easily search for and download anime content. This project is built using Bootstrap for responsive design and the REST API from [https://api.yanzbotz.my.id](https://api.yanzbotz.my.id) to access anime data. ## Features - **Anime Search:** Search for anime based on title, genre, year, and more. - **Anime Details:** View comprehensive details about anime, including synopsis, thumbnail, and other information. - **Anime Download:** Download episodes or batches of anime you like. - **Responsive Design:** Responsive site layout for both mobile and desktop devices. ## Tech & Tools <p align="left"> <a href="https://getbootstrap.com" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/bootstrap/bootstrap-plain-wordmark.svg" alt="bootstrap" width="40" height="40"/> </a> <a href="https://www.w3schools.com/css/" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/css3/css3-original-wordmark.svg" alt="css3" width="40" height="40"/> </a> <a href="https://expressjs.com" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/html5/html5-original-wordmark.svg" alt="html5" width="40" height="40"/> </a> <a href="https://www.java.com" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/javascript/javascript-original.svg" alt="javascript" width="40" height="40"/> </a> <a href="https://www.mongodb.com/" target="_blank" rel="noreferrer"> </a> </p> ## Contribution If you wish to contribute to this project, you can fork this repository, make changes, and submit a pull request. We always appreciate contributions from the community. ## License This project is licensed under the [MIT License](LICENSE). # Thanks to <a href="https://github.com/miftahganzz"><img src="https://github.com/miftahganzz.png?size=100" width="100" height="100"></a> | [![YanzBotz](https://github.com/YanzBotz.png?size=100)](https://github.com/YanzBotz) ---|--- [Miftah GanzZ](https://github.com/miftahganzz) | [Yanz Botz](https://github.com/YanzBotz) Developer | Constributor |
Anime'in Wesbite Build With FrameWork BootStrap, And Rest API https://api.yanzbotz.my.id, Don't Forget To Stars ⭐
anime,anime-in,bootstrap,css,html,javascript,miftahganzz,rest-api,source-code
2023-11-05T09:11:59Z
2023-11-08T16:39:16Z
null
2
1
4
0
0
4
null
MIT
JavaScript
PaperTurtle/handpickd
main
<h1 align="center">Handpickd - Artisanal Marketplace for Handmade Goods</h1> <div align="center"> <img src="https://github.com/PaperTurtle/handpickd/assets/68080844/3a49f36e-d924-4e05-9e01-654bb12c588e" width=192 height=192 alt="logo" /> </div> <div align="center"> <img src="https://img.shields.io/badge/project_status-complete-31c452?style=for-the-badge" alt="Project Status" /> </div> <div align="center"> <img src="https://img.shields.io/badge/-Laravel-FF2D20?style=for-the-badge&logoColor=white&logo=laravel" alt="Laravel" /> <img src="https://img.shields.io/badge/-Alpine.js-8BC0D0?style=for-the-badge&logoColor=white&logo=alpine.js" alt="AlpineJS" /> <img src="https://img.shields.io/badge/-MySQL-4479A1?style=for-the-badge&logoColor=white&logo=mysql" alt="MySQL" /> </div> Handpickd is a community-driven platform that celebrates creativity and craftsmanship. Our marketplace provides a space for artisans to showcase their handmade goods and for enthusiasts to discover unique, handcrafted items. Built as a school project using Laravel, Alpine.js, and MySQL, Handpickd is a testament to the power of community and craftsmanship. https://github.com/PaperTurtle/handpickd/assets/68080844/cb575548-7741-4315-a2ca-f03c0af15de1 ## 📖 Table of Contents - [📖 Table of Contents](#-table-of-contents) - [🌟 Project Overview](#-project-overview) - [🔧 Requirements](#-requirements) - [⚙️ Installation Instructions](#️-installation-instructions) - [NodeJS](#nodejs) - [XAMPP](#xampp) - [Composer](#composer) - [Laravel](#laravel) - [Change PHP.ini](#change-phpini) - [📜 Page Breakdown](#-page-breakdown) - [✨ Features \& Functionality](#-features--functionality) - [🧰 Built with](#-built-with) - [🖥️ Frontend](#️-frontend) - [🗄️ Backend](#️-backend) - [🧪 Testing](#-testing) - [🚀 Getting Started](#-getting-started) - [🐛 Known Issues](#-known-issues) - [📜 Authors](#-authors) ## 🌟 Project Overview Handpickd offers an alternative to mass-produced goods by highlighting unique, handcrafted items. It's a digital homage to the tradition of artisanry, designed to connect makers with those who appreciate the value of bespoke creations. ## 🔧 Requirements Handpickd requires the following tools to run: - [NodeJS](https://nodejs.org/en): A JavaScript runtime environment that executes JavaScript code outside of a browser. - [XAMPP](https://www.apachefriends.org/download.html): A free and open-source cross-platform web server solution stack package, mainly used for local development. It also comes preinstalled with MySQL and PHP, which are required for Handpickd. - [Composer](https://getcomposer.org/): A tool for dependency management in PHP, allowing you to declare the libraries your project depends on. - [Laravel](https://laravel.com/): Version 10, a robust PHP framework for web application development. Which will be installed via Composer However, because the installation of Laravel and composer can be error-prone when installed via Powershell, it is highly recommended to install it via [Git Bash](https://gitforwindows.org/) instead. ## ⚙️ Installation Instructions ### NodeJS First, install NodeJS from the link above. Once installed, open up a terminal and run the following command to verify that it has been installed correctly: ```shell node -v ``` If the command returns a version number, then NodeJS has been installed correctly. ### XAMPP Next, install XAMPP from the link above. Once installed, open up the XAMPP Control Panel and start the Apache and MySQL services. Once started, click on the "Admin" button for MySQL. This will open up a new tab in your browser. Click on the "New" button on the left-hand side and create a new database called "handpickd_db". Once created, click on the "Import" button on the top navigation bar. Click on the "Choose File" button and navigate to the `handpickd_db.sql` file in the root folder of this project. Once selected, click on the "Go" button on the bottom right-hand side. This will import the database into your local MySQL server. Below you will find pictures detailing the steps above. ![XAMMP Install 1](https://github.com/PaperTurtle/handpickd/assets/68080844/0ec2cade-07ec-4e6e-9b0a-140447fa5383) ![XAMPP Install 2](https://github.com/PaperTurtle/handpickd/assets/68080844/74c9092a-97a6-4fd9-a577-44a64e56ab9a) > Note: The installation of Composer and Laravel will be done via Git Bash, so make sure to install it before proceeding. Errors may occur if you try to install it via Powershell. ### Composer Next, install Composer from the link above. Once installed, open up a terminal and run the following command to verify that it has been installed correctly: ```shell composer -v ``` If the command returns a version number, then Composer has been installed correctly. ### Laravel Next, install Laravel via Composer. Open up a terminal and run the following command: ```shell composer global require laravel/installer ``` ### Change PHP.ini Lastly, open up the `php.ini` file in the `C:\xampp\php` directory or open the XAMPP Control Panel and click on the Config Button in the Apache Section. Once opened, use STRG + F to search for `extension=gd`. Once found, remove the semicolon in front of it. It should look like this: ```shell ;extension=gd ``` To ```shell extension=gd ``` > **This is very important, as it will allow the application to send emails to users when they register, reset their password, or purchase a product.** ## 📜 Page Breakdown - **Homepage**: Introduces the platform and features a search bar for finding products, along with a showcase of featured items and categories. - **Login/Registration**: Allows new users to join the community and existing members to access their accounts. - **Products**: Enables registered artisans to list new items, complete with detailed descriptions and images. - **Browser Products**: Allows users to browse products by category, price range and best reviews. - **Search Products**: Enables users to search for products by keyword. - **Product Details**: Provides in-depth information about each product, including images, pricing and reviews. It also allows a user to post/update their review and add the product to their cart. - **Cart**: Enables users to view and manage the items they intend to purchase. - **Checkout**: Allows users to complete their purchase and receive a confirmation email. - **Dashboard**: Provides a personalized overview of the artisan's pending and completed orders. - **FAQ**: Provides answers to frequently asked questions about the platform. - **Profile**: Offers insights into the artisans' backgrounds, their product range, and customer reviews. - **Add Product**: Allows artisans to add new products to the marketplace. - **Edit Profile**: Allows users to update their profile information and add new products. - **Edit Product**: Enables artisans to update their product information and images. - **Delete Profile**: Enables users to remove their profile from the marketplace. - **Delete Product**: Allows artisans to remove their products from the marketplace. - **Check Orders**: Allows users to view their past orders and their status. ## ✨ Features & Functionality - **Responsive Design**: Ensures a consistent user experience across various devices. - **User Authentication**: Differentiates between artisan and buyer accounts for a personalized experience. - **Database Integration**: Maintains a secure record of products, user profiles, and transactions. - **Search and Filter System**: Helps users find products that match their interests. - **Shopping Cart & Checkout**: Allows users to reserve items they intend to purchase. - **User Reviews and Ratings**: Provides feedback on products and artisans, fostering a trustworthy community. - **Product Posting**: Allows Artisans to create new products and post them to the marketplace. ## 🧰 Built with ### 🖥️ Frontend - **[Tailwind CSS](https://tailwindcss.com/)**: Tailwind is a utility-first CSS framework that provides a comprehensive set of styling options. It's highly customizable and easy to use. - **[Alpine.js](https://alpinejs.dev/)**: A lightweight JavaScript framework for building interactive components. It's easy to learn and integrates seamlessly with Tailwind. - **[Heroicons](https://heroicons.com/)**: A set of free SVG icons from the makers of Tailwind CSS that are easy to customize and use in any project. They're designed to pair well with Tailwind. ### 🗄️ Backend - **[Laravel](https://laravel.com/)**: A PHP framework for building web applications. It's fast, secure, and easy to use. It also provides a robust set of tools for managing database migrations and seeding. Laravel is the foundation of Handpickd. It's used to create the backend API and handle routing. - **[MySQL](https://www.mysql.com/)**: A relational database management system that's fast, reliable, and easy to use. It's used to store data for Users, Products, and Transactions. - **[Laravel Breeze](https://laravel.com/docs/10.x/starter-kits#laravel-breeze)**: A lightweight authentication scaffolding for Laravel. It's used to create the authentication system for Handpickd. It provides a simple, minimalistic UI for user registration and login. It also includes password reset functionality. - **[Gmail](https://mail.google.com/)**: A free email service provided by Google. It's used to send emails to users when they register, reset their password, or purchase a product. ### 🧪 Testing - **[Pest](https://pestphp.com/)**: Pest is a testing framework for PHP. It's simple, elegant, and a pleasure to use. It's used to test the Models and Controllers. ## 🚀 Getting Started To run Handpickd locally, follow these instructions: First, open up XAMPP and start both the Apache and the MySQL server. Next, navigate to the root folder of the project and open up a terminal. Run the following commands: ```shell # Clone the repository git clone https://github.com/PaperTurtle/handpickd.git # Navigate to the repository cd handpickd # Install dependencies npm install composer install # Set up the environment cp .env.example .env php artisan key:generate # Create a symbolic link to the storage folder (for images) php artisan storage:link # Serve the application php artisan serve // (Terminal 1) npm run dev // (Terminal 2) ``` Once the application is running, you can access it at [http://127.0.0.1:8000](http://127.0.0.1:8000). ## 🐛 Known Issues When you run the application, an error may occur stating that an sql driver does not exist. To fix this, download these two files: `php_pdo_sqlsrv_82_ts_x64` and `php_sqlsrv_82_ts_x64` from the [Microsoft SQL Drivers](https://learn.microsoft.com/en-us/sql/connect/php/download-drivers-php-sql-server?view=sql-server-ver16). Place them in the following directory: `C:\xampp\php\ext`. Once placed, open up the `php.ini` file in the `C:\xampp\php` directory or open the XAMPP Control Panel and click on the Config Button in the Apache Section and add the following line to the bottom of the file: ```shell extension=php_pdo_sqlsrv_82_ts_x64 extension=php_sqlsrv_82_ts_x64 ``` Once added, save the file and restart the Apache and MySQL services in the XAMPP Control Panel. Once restarted, the application should run without any issues. ## 📜 Authors | Author | Role | Project Responsibilities | | ------------------- | ------------------ | ------------------------------------------------------------------------------ | | Seweryn Czabanowski | Software Developer | Product Listings, Products Details, Products CRUD, Dashboard, Checkout Success | | Loran Heinzel | Software Developer | Login Page, Register Page, Footer, Welcome Page | | Tobias Neubert | Software Developer | Checkout Index, Process Pages, Profile Page, FAQ Page |
Handpickd is a community-focused platform built with Laravel, Alpine.js and Tailwind designed to showcase and promote handcrafted goods. [School Project]
alpinejs,laravel,tailwindcss,ajax,javascript,laravelbreeze,sharp,vite,mysql,laravel-framework
2023-11-03T15:03:32Z
2023-12-21T16:52:08Z
null
5
16
642
1
2
4
null
null
Blade
ayush-that/msc-project
master
## WebST [BETA] WebST is web-based terminal interface that replicates the experience of the st terminal found on my Arch Linux PC. It supports over 50 unique commands. ![Screenshot_20231024_123500](https://github.com/ayush-that/mscproject/assets/110257939/7c1c3076-4ec8-4962-aafe-2983bc70bd0b) #### Made Using: ![Arch](https://img.shields.io/badge/Arch%20Linux-1793D1?logo=arch-linux&logoColor=fff&style=for-the-badge) ![Neovim](https://img.shields.io/badge/NeoVim-%2357A143.svg?&style=for-the-badge&logo=neovim&logoColor=white) ![HTML5](https://img.shields.io/badge/html5-%23E34F26.svg?style=for-the-badge&logo=html5&logoColor=white) ![CSS3](https://img.shields.io/badge/css3-%231572B6.svg?style=for-the-badge&logo=css3&logoColor=white) ![JavaScript](https://img.shields.io/badge/javascript-%23323330.svg?style=for-the-badge&logo=javascript&logoColor=%23F7DF1E) ![TypeScript](https://img.shields.io/badge/typescript-%23007ACC.svg?style=for-the-badge&logo=typescript&logoColor=white) ![Shell Script](https://img.shields.io/badge/shell_script-%23121011.svg?style=for-the-badge&logo=gnu-bash&logoColor=white) ![Docker](https://img.shields.io/badge/docker-%230db7ed.svg?style=for-the-badge&logo=docker&logoColor=white) ![Vercel](https://img.shields.io/badge/vercel-%23000000.svg?style=for-the-badge&logo=vercel&logoColor=white) ![Next JS](https://img.shields.io/badge/Next-black?style=for-the-badge&logo=next.js&logoColor=white) #### Running Locally ```bash git clone https://github.com/ayush-that/mscproject.git cd mscproject yarn dev ```
💲 WebST - Terminal on the web.
css,html,javascript,nextjs,project,terminal,typescript,vercel
2023-10-13T17:01:19Z
2024-01-14T12:08:45Z
null
1
0
12
0
0
4
null
MIT
TypeScript
Numonu/ilovejs
master
# ILoveJS **ILoveJS** es una guía práctica diseñada para aprender JavaScript. ## Requisitos Previos - Node.js y NPM instalados. ## Instalación Sigue estos pasos para instalar y ejecutar la plataforma en tu sistema: 1. Clona este repositorio: ```bash git clone https://github.com/numonu/ilovejs.git ``` 2. Instala las dependencias: ```bash npm i ``` 3. Ejecuta el servidor de Desarrollo: ```bash npm run dev ``` ## Contribucion - Lea la [guía de contribución](/contributing/general.md) para modificar y/o corregir contenido de la página - Lea la [guía de redacción](/contributing/articles.md) para crear , modificar y/o corregir artículos
ILoveJS es una guía práctica diseñada para aprender JavaScript.
guide,javascript,free
2023-10-15T20:50:45Z
2023-11-14T18:03:31Z
null
1
0
239
0
0
4
null
MIT
Astro
aanddy36/AstroXplorer
main
# AstroXplorer ## Description This completely functional tour website is about **AstroXplorer**, a fake company that provides interplanetary tours. Here you will find all the sections and functionalities that a tour provider company should have: - Tours catalog (w/ filtering, sorting, and pagination) - Authentication - Favorite tours (user required) - Pricing - Reviews (w/ sorting) - About us (FAQ, Services, Who We Are). This is a frontend project (**React, TypeScript, Tailwind**), nevertheless the backend was also added using **Supabase** and **PostgreSQL**. The reviews, photos, FAQ and tours info were created using ChatGPT, Dalle-3 and Adobe Firefly. I invite you to explore the entire website, and if you like it, please leave me a Star in GitHub <3. ## Technologies used: - React - React Router - Redux Toolkit - JavaScript - TypeScript - TailwindCSS - React Hook Form - Framer Motion - Supabase - PostgreSQL. - Leaflet + MapTiler - ChatGPT-4 - Adobe Firefly
A completely functional tour website with fictional interplanetary tours. Done with React, TypeScript, Tailwind, Supabase and PostgreSQL. The database info was done with ChatGPT-4 , StableDifussionXL and Adobe Firefly.
javascript,postgresql,react,reacthookform,typescript,supab
2023-10-20T16:57:09Z
2023-11-18T00:02:49Z
null
1
5
41
0
0
4
null
null
TypeScript
mohitsupolia/Mobile-Contact-Master
main
# Mobile-Contact-Master Web Application <img width="1107" alt="mobile-contact-master-home" src="https://github.com/mohitsupolia/Mobile-Contact-Master/assets/104218088/8c232ad0-4773-42cd-b0fd-9c74604cf03d"> ## Description Create, manage, and secure your contacts with the Mobile Contact Master web application. This CRUD-based system allows users to effortlessly add, update, and delete contacts. The application ensures data security, providing a protected environment for storing and handling sensitive contact information. User-friendly and efficient, it simplifies contact management while prioritizing the privacy and integrity of your data. ## Key Features 1. Secure CRUD Operations: Enable users to Create, Read, Update, and Delete contacts securely, ensuring data integrity. 2. User Authentication and Authorization: Implement a robust authentication system and role-based access control to safeguard user accounts and sensitive contact information. 3. Data Encryption: Apply encryption techniques to protect sensitive contact details during storage and transmission. 4. Responsive Design: Provide a responsive and user-friendly interface accessible across various devices for seamless contact management. 5. Search and Filter Functionality: Allow users to easily find and organize contacts through efficient search and filter options. ## Installation Step 1: Firstly we install an `STS(Spring Tool Suite) IDE`. Step 2: Open the STS IDE, We Create the `Spring Starter Project`. Step 3: Write the Dependencies in `Pom.XML` File. Step 4: Write the Database Connection in `application.properties`. Step 5: Create the entity file in `src/main/java`. Step 6: Create the Service file in `src/main/java`. Step 7: Create the Controller in `src/main/java`. Step 8: Start the Server. Step 9: Open the Browser and navigate to http://localhost:8080 ## Usage 1. Safely add sensitive contact information with robust security measures to protect user data. ![add page](https://github.com/mohitsupolia/Mobile-Contact-Master/assets/104218088/4c64eb5a-a59b-44bd-9e5e-0b02df2e974a) 2. Easily update contact details as needed, ensuring that the stored information is always current. 3. Effortlessly delete contacts that are no longer relevant or needed, maintaining a clean and organized contact list 4. Easily view contacts show in picture. ![add contact](https://github.com/mohitsupolia/Mobile-Contact-Master/assets/104218088/1953ab4c-266d-452a-a46f-82428c6cdc82) 5. Change passwords securely to enhance account security and ensure authorized access to the contact information. 6. Easily view the user own profile. ![user page](https://github.com/mohitsupolia/Mobile-Contact-Master/assets/104218088/0cc2cf1f-db2a-43c1-a997-24f0bf9d93c8) ## Acknowledgment We extend our gratitude to the following communities and technologies that contributed to the development of our project: . The Spring Boot community for providing a robust framework for backend development. . HTML and Thymeleaf for crafting dynamic and interactive user interfaces. . Bootstrap for enhancing the visual aesthetics and responsiveness of our application. . JavaScript for enabling client-side interactivity and enriching the user experience.
The Mobile Contact Master Web Application is a CRUD-based project developed using Spring Boot, HTML, CSS, JavaScript, MYSQL, ThymeLeaf, Spring Security, Spring JPA. It enables users to manage their mobile contacts efficiently.
bootstrap5,css,html5,java,javascript,mysql-database,spring-jpa,spring-mvc,spring-security,springboot
2023-10-23T09:49:21Z
2024-04-30T13:14:01Z
null
1
0
9
0
0
4
null
null
HTML
devmnl/darklightcalculator
main
# darklightcalculator "Calculadora com modo dark select em HTML, CSS e JavaScript" Esta calculadora é uma aplicação web simples construída com tecnologias da web padrão, incluindo HTML, CSS e JavaScript. Ela oferece funcionalidades básicas de cálculo, permitindo que os usuários realizem operações de adição, subtração, multiplicação e divisão, bem como a capacidade de limpar a tela e exibir o resultado. Além disso, a calculadora é responsiva e pode ser usada tanto com o mouse quanto com o teclado. É um projeto ótimo para iniciantes que desejam praticar suas habilidades de desenvolvimento web e aprender mais sobre como criar uma interface de usuário interativa. Experimente você mesmo e faça suas próprias melhorias!
Calculadora com modo dark select em HTML, CSS e JavaScript
javascript,matematica
2023-10-14T23:24:37Z
2023-12-29T14:30:43Z
null
1
0
14
0
2
4
null
null
CSS
is-a-dev/reviewmate
master
# ReviewMate [![Docker Image CI](https://github.com/VaibhavSys/ReviewMate/actions/workflows/docker-image.yml/badge.svg?branch=master)](https://github.com/VaibhavSys/ReviewMate/actions/workflows/docker-image.yml) ![GitHub](https://img.shields.io/github/license/VaibhavSys/ReviewMate) ![GitHub package.json version (branch)](https://img.shields.io/github/package-json/v/VaibhavSys/ReviewMate/master) > A GitHub App built with [Probot](https://github.com/probot/probot) to assist in the review process of [is-a-dev](https://github.com/is-a-dev/register) ## Setup ```sh # Install dependencies npm install # Run the bot npm start ``` ## Docker ```sh # 1. Build container docker build -t ReviewMate . # 2. Start container docker run -e APP_ID=<app-id> -e PRIVATE_KEY=<pem-value> -e IMGBB_KEY=<imgbb-key> -e SCREENSHOTLAYER_KEY=<screenshotlayer-key> -e WEBHOOK_SECRET=<webhook-secret> ReviewMate ``` ## Contributing If you have suggestions for how ReviewMate could be improved, or want to report a bug, open an issue! We'd love all and any contributions. For more, check out the [Contributing Guide](CONTRIBUTING.md). ## License [MIT](LICENSE) © 2023 Vaibhav Dhiman
A GitHub App built with Probot to assist in the review process of is-a-dev
is-a-dev,javascript,probot,reviewmate
2023-10-29T11:24:42Z
2024-02-08T07:48:11Z
2024-01-16T10:38:39Z
7
22
64
1
1
4
null
MIT
JavaScript
Innocentsax/alx-backend
main
# alx-backend ![](https://d31ezp3r8jwmks.cloudfront.net/z72iogxov1an3lhfqau0vctadt0u) ## Projects - [Pagination](./0x00-pagination) Elevate your Backend skills in Python and Node.js. Join us for a coding journey like no other. 🚀 #ALX-Backend Specialisation.
Elevate your Backend skills in Python and Node.js. Join us for a coding journey like no other. 🚀 #ALX-Backend Specialisation
caching,i18n,javascript,nodejs,pagination,queue
2023-10-19T19:38:00Z
2023-12-27T19:11:59Z
null
1
0
23
0
0
4
null
BSL-1.0
Python
zckyachmd/anonim-telegram-chatbot
main
# Anonim Telegram Chatbot The Anonim Telegram Chatbot operates within the Telegram platform, facilitating anonymous connections between users without the need for sharing personal information. Users can engage in random and confidential interactions while maintaining their privacy, enabling seamless connections with others without revealing their identity. ## Requirements - [Telegram BOT API](https://core.telegram.org/bots/api) - [Node.js](https://nodejs.org/en/) - [Prisma](https://www.prisma.io/) - [Docker](https://www.docker.com/) ## Installation You can run the application using Docker. Follow the steps below to get started: 1. Clone this repository to your local directory: ```bash git clone https://github.com/zckyachmd/anonim-telegram-chatbot ``` 2. Navigate to the repository directory: ```bash cd anonim-telegram-chatbot ``` 3. Create a .env file and fill it with the required configurations: ```bash cp .env.example .env ``` 4. Configure your .env file with your database credentials and other settings. 5. Build the Docker image (if using Dockerfile): ```bash docker build -t anonim-telegram-chatbot . ``` 6. Run the container (if using Dockerfile): ```bash docker run -d --name anonim-telegram-chatbot anonim-telegram-chatbot ``` ## Contribution Contributions are welcome! Feel free to submit pull requests or open issues for any bugs or feature requests. ## License Copyright © 2024 oleh [Zacky Achmad](https://github.com/zckyachmd). This software is licensed under the [MIT License](LICENSE.md).
Anonim Telegram Chatbot. To connect with anyone in the world randomly!
bot,chatbot,nodejs,postgresql,telegram,javascript,anonim-chat,docker,docker-file,prisma-orm
2023-10-15T11:32:53Z
2024-05-01T13:49:38Z
null
1
0
16
0
0
4
null
MIT
JavaScript
dbushell/velocirouter
main
# 🦕 VelociRouter A minimal async `Request` → `Response` router powered by [URL Pattern API](https://urlpattern.spec.whatwg.org/) magic ✨ [Documentation](https://ssr.rocks/docs/velocirouter/) ## Usage Add dependency from JSR: [@ssr/velocirouter](https://jsr.io/@ssr/velocirouter) ```javascript const router = new Router(); router.use(({request}) => { console.log(`[${request.method}] ${request.url}`); }); ``` Native JavaScript URL Pattern matching for routes. ```javascript router.get({pathname: '/api/hello/:name'}, ({match}) => { const {name} = match.pathname.groups; return new Response(`Hello ${name}!`); }); ``` `Request` & `Response` are forwarded through all matching routes in order. ```javascript router.all('/api/*', ({response}) => { if (response) { response.headers.set('x-api-version', '1'); } return response; }); ``` ## Documentation [VelociRouter Documentation](https://ssr.rocks/docs/velocirouter/) ## Notes Only Deno and Chromium based browsers have [URL Pattern API support](https://developer.mozilla.org/en-US/docs/Web/API/URLPattern) right now. Other runtimes like Bun and Node require a [polyfill](https://github.com/kenchris/urlpattern-polyfill). Inspired by [Polka](https://github.com/lukeed/polka) and [Hono](https://github.com/honojs). * * * [MIT License](/LICENSE) | Copyright © 2024 [David Bushell](https://dbushell.com)
A minimal async Request → Response router powered by URL Pattern API magic ✨
async,deno,javascript,router,typescript
2023-10-27T03:55:52Z
2024-04-06T12:28:59Z
null
1
0
37
0
0
4
null
MIT
TypeScript
BoddepallyVenkatesh06/Canva-Clone
main
# Canva Clone Canva Clone is a project that aims to create a fun and educational environment for building design and graphic editing applications. It utilizes a set of educational tools to help users understand and enhance their skills in graphic design in an engaging way. ## Table of Contents - [Features](#features) - [Demo](#demo) - [Getting Started](#getting-started) - [Usage](#usage) - [Contributing](#contributing) - [License](#license) ## Features - Interactive chatbot development and NLP learning - Conversation simulation and testing - Gamified learning experience - Fun and engaging for users of all levels ## Demo You can see a live demo of ChatGPT Clone in action [here](https://canva-venky-kumar.netlify.app/). ## Getting Started To get started with ChatGPT Clone, follow these steps: 1. Clone the repository: ```sh git clone https://github.com/BoddepallyVenkatesh06/canva-clone.git ``` 2. Install the necessary dependencies: ```sh cd canva-clone npm install ``` 3. Start the application: ```sh npm start ``` 4. Open your web browser and navigate to `http://localhost:3000` to access Canva Clone. ## Usage Canva Clone is an interactive platform designed to help users create and edit designs and enhance their graphic design skills. Through engaging activities and educational tools, it offers an immersive and fun experience for learning about graphic design and editing. ## Contributing We welcome contributions to Canva Clone! If you'd like to contribute, please follow these steps: Fork the repository on GitHub. Create a new branch with a descriptive name for your feature or improvement. Make your changes and test thoroughly. Submit a pull request with a clear title and description of your changes. We'll review your contribution and merge it if it aligns with the project's goals. ## License This project is licensed under the MIT License.
Canva Clone is an interactive platform designed to help users create and edit designs and enhance their graphic design skills.
css3,html5,javascript,jsx,mongodb,moongose,nodejs,react
2023-10-13T15:23:38Z
2023-10-13T15:47:10Z
null
1
0
3
0
0
4
null
MIT
HTML
argon-rbx/argon-legacy
main
<div align='center'> <img alt='Argon Logo' src='https://raw.githubusercontent.com/argon-rbx/argon-legacy/main/VSC%20Extension/assets/LogoName.png'> </div> <div align='center'> <img alt='Hours Used' src='https://img.shields.io/endpoint?url=https%3A%2F%2Fargonstatsapi.web.app%2FhoursUsed'> <img alt='Lines Synced' src='https://img.shields.io/endpoint?url=https%3A%2F%2Fargonstatsapi.web.app%2FlinesSynced'> <img alt='Files Synced' src='https://img.shields.io/endpoint?url=https%3A%2F%2Fargonstatsapi.web.app%2FfilesSynced'> </div> <div align='center'> <img alt='Projects Ported' src='https://img.shields.io/endpoint?url=https%3A%2F%2Fargonstatsapi.web.app%2FprojectsPorted'> <img alt='Sessions Started' src='https://img.shields.io/endpoint?url=https%3A%2F%2Fargonstatsapi.web.app%2FsessionsStarted'> </div> # About Argon is a simple two-way sync plugin for Roblox and extension for Visual Studio Code allowing developers not only sync code with ease, but any other instance as well with no need to re-generate project. It also provides tons of tools and quality of life improvements. Argon is an alternative for Rojo not its replacement! # Links * Roblox [plugin](https://create.roblox.com/marketplace/asset/11263738833/) * Visual Studio Code [extension](https://marketplace.visualstudio.com/items?itemName=Dervex.argon) * DevForum [topic](https://devforum.roblox.com/t/2021776) # Features * Two-way sync * Property sync for all instances in your game * Support for renaming, changing directory and classes * Instance syncing with various filtering options * Integrated selection snippet, file executor * Porting in both sides with just one button * Option to start playtest directly from VSC * Option to launch Studio directly from VSC * Customizable, expandable and flexible * Working open in editor option * Integrated file icon theme * Very simple in use * Fast setup # Wiki ## [Home](https://github.com/argon-rbx/argon-legacy/wiki) * **Getting Started** * [Installation](https://github.com/argon-rbx/argon-legacy/wiki/Installation) * [Roblox plugin explained](https://github.com/argon-rbx/argon-legacy/wiki/Roblox-Plugin-Explained) * [VSC extension explained](https://github.com/argon-rbx/argon-legacy/wiki/VSC-Extension-Explained) * [Setting up the project](https://github.com/argon-rbx/argon-legacy/wiki/Setting-Up-The-Project) * **Usage** * [Managing instances](https://github.com/argon-rbx/argon-legacy/wiki/Managing-Instances) * [Syncing code](https://github.com/argon-rbx/argon-legacy/wiki/Syncing-Code) * [Porting projects](https://github.com/argon-rbx/argon-legacy/wiki/Porting-Projects) * [Filtering options](https://github.com/argon-rbx/argon-legacy/wiki/Filtering-Options) # Demo [![Demo Video](https://raw.githubusercontent.com/argon-rbx/argon-legacy/main/VSC%20Extension/assets/Demo.png)](https://youtu.be/yvnleYgYaO0) # Changelog ### All changes are documented in this [CHANGELOG.md](https://github.com/argon-rbx/argon-legacy/blob/main/VSC%20Extension/CHANGELOG.md) file
Argon - VS Code extension and Roblox plugin allowing easy two-way sync of code and instances in real time
extension,javascript,lua,plugin,roblox,sync,vscode,vscode-extension
2023-10-30T14:48:35Z
2024-02-04T15:01:40Z
2024-02-04T15:01:40Z
1
0
3
1
0
4
null
Apache-2.0
JavaScript
MarkfuGod/Commissaire
main
# Commissaire ## Usage 1. Make sure you have installed [**node.js**](https://nodejs.org/en) on your environment 2. Install dependency: On project root, run ```shell npm install ``` 3. Run the server 1. You can use *node* to run the server ```shell node server.js ``` 2. Or you can use *nodemon* which supports **hot reload** ```shell nodemon server.js ``` ## Dev resources - Tiled map editor: https://www.mapeditor.org/ - Warrior Art by Luiz Melo: https://luizmelo.itch.io/medieval-kin... - Background Art by Trixie: https://trixelized.itch.io/starstring... *If the website went down, you could go to the root website `itch.io` to browse more free contents*
A rouguelike game dev using javascript
gamedev,javascript,web
2023-11-03T03:52:59Z
2023-12-24T14:19:31Z
2023-12-24T14:19:31Z
3
18
75
0
2
4
null
MIT
JavaScript
ViktorSvertoka/goit-advancedjs-hw-01
main
# Критерії приймання - Створено репозиторій `goit-advancedjs-hw-01`. - Домашня робота містить два посилання: на вихідні файли і робочу сторінку на `GitHub Pages`. - В консолі відсутні помилки і попередження під час відкриття живої сторінки завдання. - Проект зібраний за допомогою [vanilla-app-template](https://github.com/goitacademy/vanilla-app-template). - Код відформатований за допомогою `Prettier`. #### Формат оцінювання: - Оцінка від 0 до 100 #### Формат здачi: - Два посилання: на вихідні файли і робочу сторінку на `GitHub Pages` - Прикрiплений файл репозиторію у форматi zip ## Стартові файли [Завантажуй стартові файли](https://minhaskamal.github.io/DownGit/#/home?url=https:%2F%2Fgithub.com%2Fgoitacademy%2Fjavascript-homework%2Ftree%2Fmain%2Fv2%2F08%2Fsrc) з готовою розміткою, стилями та підключеними файлами скриптів для кожного завдання. Скопіюй їх собі в проєкт, повністю замінивши папку `src` у [vanilla-app-template](https://github.com/goitacademy/vanilla-app-template). ## Завдання 1. Бібліотека `SimpleLightbox` Виконуй це завдання у файлах `01-gallery.html` і `01-gallery.js`. Розбий його на декілька підзавдань: 1. Додай бібліотеку [SimpleLightbox](https://simplelightbox.com/) як залежність проекту, використовуючи `npm` (посилання на CDN з твоєї минулої роботи більше не потрібне). 2. Використовуй свій JavaScript код з станної домашньої роботи на курсi JavaScript Fundamentals: From Basics to Advanced Concepts, але виконай рефакторинг з урахуванням того, що бібліотека була встановлена через `npm` (синтаксис import/export). Для того щоб підключити CSS код бібліотеки в проект, необхідно додати ще один імпорт, крім того, що описаний в документації. ```js // Описаний в документації import SimpleLightbox from 'simplelightbox'; // Додатковий імпорт стилів import 'simplelightbox/dist/simple-lightbox.min.css'; ``` ## Завдання 2. Відеоплеєр HTML містить `<iframe>` з відео для Vimeo плеєра. Напиши скрипт, який буде зберігати поточний час відтворення відео у локальне сховище і, після перезавантаження сторінки, продовжувати відтворювати відео з цього часу. ```html <iframe id="vimeo-player" src="https://player.vimeo.com/video/236203659" width="640" height="360" frameborder="0" allowfullscreen allow="autoplay; encrypted-media" ></iframe> ``` Виконуй це завдання у файлах `02-video.html` і `02-video.js`. Розбий його на декілька підзавдань: 1. Ознайомся з [документацією](https://github.com/vimeo/player.js/#vimeo-player-api) бібліотеки Vimeo плеєра. 2. Додай бібліотеку як залежність проекту через `npm`. 3. Ініціалізуй плеєр у файлі скрипта як це описано в секції [pre-existing player](https://github.com/vimeo/player.js/#pre-existing-player), але враховуй, що у тебе плеєр доданий як npm пакет, а не через CDN. 4. Вивчи документацію методу [on()](https://github.com/vimeo/player.js/#onevent-string-callback-function-void) і почни відстежувати подію [timeupdate](https://github.com/vimeo/player.js/#events) - оновлення часу відтворення. 5. Зберігай час відтворення у локальне сховище. Нехай ключем для сховища буде рядок `"videoplayer-current-time"`. 6. Під час перезавантаження сторінки скористайся методом [setCurrentTime()](https://github.com/vimeo/player.js/#setcurrenttimeseconds-number-promisenumber-rangeerrorerror) з метою відновлення відтворення зі збереженої позиції. 7. Додай до проекту бібілотеку [lodash.throttle](https://www.npmjs.com/package/lodash.throttle) і зроби так, щоб час відтворення оновлювався у сховищі не частіше, ніж раз на секунду. ## Завдання 3. Форма зворотного зв'язку HTML містить розмітку форми. Напиши скрипт, який буде зберігати значення полів у локальне сховище, коли користувач щось друкує. ```html <form class="feedback-form" autocomplete="off"> <label> Email <input type="email" name="email" autofocus /> </label> <label> Message <textarea name="message" rows="8"></textarea> </label> <button type="submit">Submit</button> </form> ``` Виконуй це завдання у файлах `03-feedback.html` і `03-feedback.js`. Розбий його на декілька підзавдань: 1. Відстежуй на формі подію `input`, і щоразу записуй у локальне сховище об'єкт з полями `email` і `message`, у яких зберігай поточні значення полів форми. Нехай ключем для сховища буде рядок `"feedback-form-state"`. 2. Під час завантаження сторінки перевіряй стан сховища, і якщо там є збережені дані, заповнюй ними поля форми. В іншому випадку поля повинні бути порожніми. 3. Під час сабміту форми очищуй сховище і поля форми, а також виводь у консоль об'єкт з полями `email`, `message` та їхніми поточними значеннями. 4. Зроби так, щоб сховище оновлювалось не частіше, ніж раз на 500 мілісекунд. Для цього додай до проекту і використовуй бібліотеку [lodash.throttle](https://www.npmjs.com/package/lodash.throttle). ![Screencapture](./assets/1.png) ![Screencapture](./assets/2.png) ![Screencapture](./assets/3.png) ![Screencapture](./assets/4.png)
Homework for the course JavaScript📒 ---NPM / Vite / JSON / Web storage---
css3,goit,html5,javascript,json,npm,vite,webstorage,goit-advancedjs-hw-01,goit-js-hw-08
2023-10-29T15:23:28Z
2023-10-29T21:49:44Z
null
1
0
12
0
0
4
null
null
CSS
hrbrmstr/2023-10-27-wpe-quarto-ojs-dashboard
batman
# GN Country Explorer Dashboard This goes with the [2023-10-27 edition of hrbrmstr's Daily Drop](https://dailyfinds.hrbrmstr.dev/p/drop-362-2023-10-27-weekend-project). ![page 1](image.png) ![page 2](image-1.png) ![page 3](image-2.png)
Companion repo to the 2023-10-27 edition of the Daily Drop
javascript,observable-plot,observablehq,quarto,quarto-dashboard
2023-10-27T13:27:06Z
2023-10-27T13:26:25Z
null
1
0
3
0
0
4
null
MIT
null
choiruladamm/next-server-actions
master
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). ## Getting Started First, run the development server: ```bash npm run dev # or yarn dev # or pnpm dev # or bun dev ``` Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. ## Learn More To learn more about Next.js, take a look at the following resources: - [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. - [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! ## Deploy on Vercel The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
💡 Test Features Next.js Server Actions
javascript,nextjs,serveractions,shadcn-ui,tailwindcss,typescript
2023-10-25T13:13:45Z
2023-10-27T06:29:46Z
null
1
0
11
0
0
4
null
null
TypeScript
ViktorSvertoka/goit-typescript-hw-04
main
# Завдання 1 У вас є компонент React, який використовує useRef та IntersectionObserver для визначення, коли користувач переглядає кінець вмісту. Ваше завдання полягає в наступному: Встановіть правильні типи пропсів для цього компонента. У ньому є дві властивості: children і onContentEndVisible. children - це будь-який валідний React вузол, а onContentEndVisible - це функція без аргументів, що повертає void. Встановіть правильний тип useRef. Посилання endContentRef використовується для div, який міститься в кінці вмісту. Встановіть правильний тип для options (клас також може бути типом для options). ```ts import React, { useEffect, useRef } from "react"; // Опишіть Props export function Observer({ children, onContentEndVisible }: Props) { // Вкажіть правильний тип для useRef зверніть увагу, в який DOM елемент ми його передаємо const endContentRef = useRef(null); useEffect(() => { // Вкажіть правильний тип для options, підказка, клас також можна вказувати як тип const options = { rootMargin: "0px", threshold: 1.0, root: null, }; const observer = new IntersectionObserver((entries) => { entries.forEach((entry) => { if (entry.intersectionRatio > 0) { onContentEndVisible(); observer.disconnect(); } }); }, options); if (endContentRef.current) { observer.observe(endContentRef.current); } return () => { observer.disconnect(); }; }, [onContentEndVisible]); return ( <div> {children} <div ref={endContentRef} /> </div> ); } ``` # Завдання 2 Ваше завдання – додати типи для наступних елементів коду: RequestStep: Це рядковий літерал. State: Цей тип являє собою об'єкт з двома властивостями isRequestInProgress і RequestStep Action: Це тип, що представляє можливі дії, які можуть бути відправлені до редюсера. Дивіться код і опишіть для нього правильні типи. ```ts import React, { useReducer } from "react"; const initialState: State = { isRequestInProgress: false, requestStep: "idle", }; function requestReducer(state: State, action: Action): State { switch (action.type) { case "START_REQUEST": return { ...state, isRequestInProgress: true, requestStep: "start" }; case "PENDING_REQUEST": return { ...state, isRequestInProgress: true, requestStep: "pending" }; case "FINISH_REQUEST": return { ...state, isRequestInProgress: false, requestStep: "finished" }; case "RESET_REQUEST": return { ...state, isRequestInProgress: false, requestStep: "idle" }; default: return state; } } export function RequestComponent() { const [requestState, requestDispatch] = useReducer( requestReducer, initialState ); const startRequest = () => { requestDispatch({ type: "START_REQUEST" }); // Імітуємо запит до сервера setTimeout(() => { requestDispatch({ type: "PENDING_REQUEST" }); // Імітуємо отримання відповіді від сервера setTimeout(() => { requestDispatch({ type: "FINISH_REQUEST" }); }, 2000); }, 2000); }; const resetRequest = () => { requestDispatch({ type: "RESET_REQUEST" }); }; return ( <div> <button onClick={startRequest}>Почати запит</button> <button onClick={resetRequest}>Скинути запит</button> <p>Стан запиту: {requestState.requestStep}</p> </div> ); } export default RequestComponent; ``` # Завдання 3 Ви створюєте компонент форми у React. Ви маєте поле введення, в якому ви хочете відстежити зміни. Для цього ви використовуєте обробник подій onChange. Ваше завдання – правильно типізувати подію, яка передається у цю функцію. ```ts import React, { useState } from "react"; export function FormComponent() { const [value, setValue] = useState(""); const handleChange = (event) => { setValue(event.target.value); }; return <input type="text" value={value} onChange={handleChange} />; } ``` # Завдання 4 Ви вирішили застосувати до меню контекст і тепер вам потрібно його типізувати. Описати тип SelectedMenu: Це має бути об'єкт, який містить id з типом MenuIds Описати тип MenuSelected: Цей тип є об'єктом, що містить selectedMenu Описати тип MenuAction: Цей тип являє собою об'єкт з методом onSelectedMenu, який приймає об'єкт типу SelectedMenu як аргумент повертає void. Описати тип PropsProvider: Опишіть правильний тип для дітей Описати тип PropsMenu: Опишіть тип для menus, він має бути від типу Menu
Homework for the course TypeScript📘
goit,html5,javascript,typescript,goit-typescript-hw-04
2023-10-22T21:09:19Z
2023-11-08T23:43:44Z
null
1
0
5
0
0
4
null
null
TypeScript
Alexandrbig1/header-navigation-menu
main
# **Hero-header** Navigation Menu <img align="right" src="https://media.giphy.com/media/du3J3cXyzhj75IOgvA/giphy.gif" width="100"/> Welcome to Header Navigation Menu! We're excited to have you contribute to our open-source project during Hacktoberfest. Hacktoberfest is a month-long celebration of open source, and your contributions can make a significant impact on our project. Here's how you can get involved: 1. **Fork the Repository:** Click the "Fork" button on the top-right corner of this repository's page to create your own copy. 2. **Clone your Fork:** Clone the forked repository to your local machine using Git. 3. **Create a New Branch:** Create a new branch for your contribution. 4. **Make Your Contribution:** Make your desired changes or add new features. 5. **Commit Your Changes:** Commit your changes and provide a clear and concise commit message. 6. **Push to Your Fork:** Push your changes to your fork on GitHub. 7. **Submit a Pull Request:** Open a pull request (PR) from your fork to this repository. Provide a detailed description of your changes in the PR. 8. **Review and Merge:** Your PR will be reviewed, and if everything looks good, it will be merged into the project. ## What to Contribute You can contribute in various ways, such as fixing bugs, adding new features, improving documentation, and more. ## Join the Community Join our community and collaborate with developers from around the world. Your contributions help make this project better, and we appreciate your support during Hacktoberfest. ## Thank you for contributing to Header Navigation Menu! 🚀 ## Languages and Tools: <div align="center"> <a href="https://en.wikipedia.org/wiki/HTML5" target="_blank"><img style="margin: 10px" src="https://profilinator.rishav.dev/skills-assets/html5-original-wordmark.svg" alt="HTML5" height="50" /></a> <a href="https://www.w3schools.com/css/" target="_blank"><img style="margin: 10px" src="https://profilinator.rishav.dev/skills-assets/css3-original-wordmark.svg" alt="CSS3" height="50" /></a> <a href="https://www.javascript.com/" target="_blank"><img style="margin: 10px" src="https://profilinator.rishav.dev/skills-assets/javascript-original.svg" alt="JavaScript" height="50" /></a> <a href="https://git-scm.com/" target="_blank" rel="noreferrer"> <img src="https://www.vectorlogo.zone/logos/git-scm/git-scm-icon.svg" alt="git" width="40" height="40"/></a> </div> ## Connect with me: <div align="center"> <a href="https://linkedin.com/in/alex-smagin29" target="_blank"> <img src=https://img.shields.io/badge/linkedin-%231E77B5.svg?&style=for-the-badge&logo=linkedin&logoColor=white alt=linkedin style="margin-bottom: 5px;" /> </a> <a href="https://github.com/alexandrbig1" target="_blank"> <img src=https://img.shields.io/badge/github-%2324292e.svg?&style=for-the-badge&logo=github&logoColor=white alt=github style="margin-bottom: 5px;" /> </a> <a href="https://stackoverflow.com/users/alex-smagin" target="_blank"> <img src=https://img.shields.io/badge/stackoverflow-%23F28032.svg?&style=for-the-badge&logo=stackoverflow&logoColor=white alt=stackoverflow style="margin-bottom: 5px;" /> </a> <a href="https://dribbble.com/Alexandrbig1" target="_blank"> <img src=https://img.shields.io/badge/dribbble-%23E45285.svg?&style=for-the-badge&logo=dribbble&logoColor=white alt=dribbble style="margin-bottom: 5px;" /> </a> <a href="https://www.behance.net/a1126" target="_blank"> <img src=https://img.shields.io/badge/behance-%23191919.svg?&style=for-the-badge&logo=behance&logoColor=white alt=behance style="margin-bottom: 5px;" /> </a> </div>
header hero nav menu(HTML/CSS/JS)
computerscience,css3,frontend,hacktoberfest,hacktoberfest2023,html-css,html-css-javascript,html5,javascript,js
2023-10-23T04:28:36Z
2023-11-01T16:49:40Z
null
10
12
32
0
9
4
null
null
CSS
Instawork/zustand-rhf-sync
master
zustand-rhf-sync --- Syncs zustand's store state with the form state in [react-hook-forms](react-hook-form.com). This allows form updates to immediately reflect in your store and allows the components that subscribe to your store to update based on form updates. Convenient if you want to use your store functions or selectors with form data. ## Install ```bash npm install -save zustand-rhf-sync ``` Or with yarn ```bash yarn add zustand-rhf-sync ``` ## Usage ```typescript import { useFormWithStore } from "zustand-rhf-sync"; // use it just like useForm // where default value is automatically populated from your store const { register } = useFormWithStore( useBoundStore, (formData) => useBoundStore.setState({ form: formData }), (state) => state.formData, useFormOptions ) ```
Syncs zustand's store state with the form state in react-hook-forms
react,react-hook-form,zustand,javascript
2023-10-24T04:10:00Z
2024-02-05T10:05:52Z
null
2
2
19
0
0
4
null
null
TypeScript
KianAnd19/chrome-extension
main
# Pomodoro Timer Chrome Extension ## Description This Chrome extension is a simple, easy-to-use Pomodoro Timer to help boost your productivity by breaking down your work into intervals, traditionally 25 minutes in length, separated by short breaks. ## Features - **Pomodoro Timer**: Set 25-minute work intervals to stay focused and productive. - **Simple Toggle**: Start and pause the timer with a single click. - **Reset Functionality**: Reset the timer back to 25 minutes anytime. - **Notifications**: Get notified when a Pomodoro interval ends. ## Installation To install this extension in Chrome, follow these steps: 1. Download the extension files from this repository. 2. Open Chrome and navigate to `chrome://extensions/`. 3. Enable "Developer mode" at the top right corner. 4. Click on the "Load unpacked" button. 5. Select the directory where you downloaded the extension files. ## Usage To use the extension, simply click on the extension icon in the Chrome toolbar. In the popup that appears, you will find the timer, start/pause toggle button, and reset button. To start the timer, click the "Start" button. To pause the timer, click the "Pause" button that appears while the timer is running. To reset the timer back to 25 minutes, click the "Reset" button. ## Development This extension was developed using HTML, CSS, and JavaScript. No additional frameworks or libraries were used. ### Structure - `popup.html` - The HTML file for the popup UI. - `styles.css` - The CSS file containing styles for the popup. - `popup.js` - The JavaScript file handling the timer functionality. ## Contributing Contributions to the Pomodoro Timer Chrome Extension are welcome. Please feel free to fork the repository, make changes, and open a pull request to submit your improvements. ## License This Chrome extension is open-sourced software licensed under the MIT license.
Simple Chrome Extension for a Pomodoro Timer for studying
chrome-extension,javascript,css,html
2023-11-06T20:26:13Z
2023-11-07T09:13:02Z
null
1
0
7
0
0
4
null
null
JavaScript
PEC-CSS/acm-fun
master
# ACM FUN - React.js Project ACM FUN is an exciting initiative by PECACM, aimed at engaging beginners in the world of development and open source contributions. 😄 Live URL:- https://acm-fun.vercel.app/ ## Table of Contents - [Description](#acm-fun---reactjs-project) - [Features](#features) - [Tech Used](#tech-used) - [How to start](#how-to-start) - [Contributing](#contributing) ## Features - A fun and interactive web application built using React.js. - Engage with open source contributions in a beginner-friendly environment. - Collaborate with a community of like-minded individuals. ## Tech Used React is a JavaScript library for building fast and interactive UIs. Vercel is a cloud platform for deploying and scaling React applications. ## How to start 1. Clone the repository ``` git clone https://github.com/PEC-CSS/acm-fun.git ``` 2. Change the working directory ``` cd acm-fun ``` 3. Install dependencies ``` npm install ``` 4. Run the app ``` npm start ``` 5. Open your web browser and navigate to http://localhost:3000 to view the app. The page will automatically reload when you make changes, and any lint errors will be displayed in the console. 6. To build for production use the command: ``` npm run build ``` This command bundles React in production mode and optimizes the build for the best performance. The build is minified, and the filenames include hashes. Once the build process is complete, your app is ready to be deployed. # Contributing - To contribute to ACM FUN, refer to [Contributing Guidlines](./Contributing.md) # Contributors <a href="https://github.com/PEC-CSS/acm-fun/graphs/contributors"> <img src="https://contrib.rocks/image?repo=PEC-CSS/acm-fun" /> </a> <br> We welcome your contributions and hope you enjoy your journey with ACM FUN!
Life is too short so have some fun
fun,hacktoberfest,javascript,reactjs
2023-10-17T20:08:38Z
2024-01-19T22:52:44Z
null
27
40
69
14
30
4
null
null
JavaScript
prajnaprabhu3/markit
main
![markit](/public/markit.png) ### Markit A a minimal web-based markdown editor. Perfect for writing blogs, articles, and project documentation, it offers a clean interface and essential features, making markdown editing simple and efficient." ### Todos - [ ] handle adding images - [ ] few preview not working right - [ ] headings - [ ] save as png - [ ] responsive fixes ### Run the website locally ``` git clone https://github.com/Prajnaprabhu3/markit.git ``` ### Setting up the project ```bash cd markit # Install dependencies pnpm install ``` ### Starting server ```bash pnpm dev ```
A minimal web based markdown editor
nextjs,javascript,markdown-editor,pdf,web-editor
2023-10-27T10:04:59Z
2024-02-07T22:57:32Z
null
1
1
7
0
1
4
null
MIT
JavaScript
pedrodabahia/Espaco_Fit
main
# Academia Espaço Fit ## :memo: Descrição **Olá**, Seja Bem-vindo(a) ao site da **Academia Espaço Fit** , este site é um site de treino, ou seja, não sera posto no ar pois tem como principal objetivo o treino de ferramentas de desenvolvimento **front-end**. O site foi projetado com informações verdadeiras e feitas com a permissão dos proprietarios do estabelecimento, foi desenvolvido ultilizado os 3 pilares de desenvolvimento web **o HTML, CSS e o Javascript** ## :books: Funcionalidades Como é umm site de treino, apliquei nele funcionalidades que fazem um diferencial no site, que são o carrosel, aplicado na seção que conta a historia da academia, os boto~es com experiencia de profundidade, e o formulario de contato, que marca uma aula experimental na academia. **OBS: O formulario nâo esta 100% funcional pois não esta direcionado a nenhum banco de dados, ou seja, não é mandado nenhuma informação posta nele para a academia. Mas o mesmo esta funcionando se for posto para teste de design.** ## :link: Links [Click aqui para ver o Site](https://pedrodabahia.github.io/Espaco_Fit/) ## :framed_picture: Screenshots <p float="left"> <img src="./screen/screenshot.png"> <img height="160" src="./screen/screenshot_mobile.png"> <img height="160" width="275" src="./screen/screenshot_notebook.png"> </p> ## :wrench: Tecnologias Ultilizadas Foram Ultilizades teconologias base de desenvolvimento front-end, são elas: + HTML5 + CSS3 + Javascript + Jquery ## :soon: Implementação futura Sobre implementações futuras? Pretendo implementar no site o banco de dados, para que fique 100% funcional, e tambem tecnologias como react e eletron, para que tem um diferencial :wink: ## :dart: Status do Projeto :orange_circle: **Em andamento**
null
css,html,javascript,jquery
2023-10-20T15:55:23Z
2024-02-29T04:30:04Z
null
1
0
156
0
0
4
null
null
CSS
pasha-log/coalition-frontend-challenge
main
# Coalition Technologies Job Application Front-End Skill Test <img src='./images/CT_SkillTest_v3.png' alt=''> ## [LIVE DEMO](https://pasha-log.github.io/coalition-frontend-challenge/) ## Description: This submission represents my skills test for the front-end position at [Coalition Technologies](https://coalitiontechnologies.com/). The objective of this assessment is to evaluate my capability to transform an Adobe Photoshop file into a static, single-page web application. The primary goal is to convert the provided PSD into a responsive single-page website. This entails ensuring that the carousel seamlessly adapts to various screen sizes, and on mobile devices, the tabs should gracefully transition into an accordion layout for improved usability. Notably, I've introduced internal links on the page, 'History' and 'Team,' providing users with convenient navigation to their respective sections. Furthermore, I've taken the initiative to incorporate a parallax scrolling effect into the landing hero image for the desktop view. ## Tools Used: * [jQuery](https://www.typescriptlang.org/docs/) * [Flickity](https://reactjs.org/) * [Adobe Photoshop](https://www.adobe.com/products/photoshop.html) * [Bootstrap](https://getbootstrap.com/)
A skill test submission for a Coalition Technologies front-end developer job application.
bootstrap5,css3,flickity,html-css-javascript,html5,javascript,jquery,responsive-web-design
2023-10-14T21:41:26Z
2023-10-17T04:10:21Z
null
1
0
11
0
4
4
null
null
HTML
miljkovicjovan/minimalist-task-tracker
develop
<div align="center"> <img width="245" height="72" src="https://github.com/miljkovicjovan/minimalist-task-tracker/assets/77690201/768bb45e-0488-48d2-8ce0-9f1bee620aff"/> [![All Contributors](https://img.shields.io/github/all-contributors/miljkovicjovan/minimalist-task-tracker?color=ee8449&style=flat-square)](#contributors) [![Star on GitHub](https://img.shields.io/github/stars/miljkovicjovan/minimalist-task-tracker.svg?style=social)](https://github.com/miljkovicjovan/minimalist-task-tracker/stargazers) [Official Website](https://minimalist-task-tracker.netlify.app) ## 🖊️ Minimalist Task Tracker 📣 Simple way to create, track and delete tasks 📣 Seemless storage on any device </div> <div align="center"><h1>🧾 Prerequisites</h1></div> Before starting out, you'll need to install the following on your computer. <div style="text-align: center;"> <a href="https://nodejs.org/en/download/"> <img src="https://img.shields.io/badge/node.js-6DA55F?style=for-the-badge&logo=node.js&logoColor=white" alt="NodeJS" /> </a> <a href="https://www.npmjs.com/"> <img src="https://img.shields.io/badge/NPM-%23000000.svg?style=for-the-badge&logo=npm&logoColor=white" alt="NPM" /> </a> <a href="https://git-scm.com/book/en/v2/Getting-Started-Installing-Git"> <img src="https://img.shields.io/badge/GIT-E44C30?style=for-the-badge&logo=git&logoColor=white" alt="NPM" /> </a> </div> <div align="center"><h1> Installation 🛠️</h1></div> 🖊️MTT has been tested on macos (Chrome, Firefox, Safari, Brave). 1. Clone the project ```bash git clone git@github.com:miljkovicjovan/minimalist-task-tracker.git ``` 2. Navigate to the project directory ```bash cd your-project ``` 3. Install dependecies ```bash npm install ``` 4. Start the development server ```bash npm start ``` This will start the development server, and your project will be available at `http://localhost:3000` 5. Open the app in your browser <div align="center"><h1>💈 Want to Contribute?</h1></div> 6. After you are done with installation, go ahead and create a new branch and move to the branch ```sh git checkout -b <branch-name> ``` 7. After you have added your changes, follow the following command chain Check the changed files ```sh git status -s ``` 8. Add all the files to the staging area ```sh git add . ``` 9. Commit your changes (add decent message ) ```sh git commit -m "<EXPLAIN-YOUR_CHANGES>" ``` 10. Push your changes ```sh git push origin <branch-name> ``` 11. Open a Pull Request - Make a pull request! (compare your branch with the owner main branch) --- <a name="contributors"></a> <h3 align="center"> Don't forget to give a ⭐ to this repo !! <div align="center"><h1>❤️ Thanks to all the contributors ❤️</h1></div> <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> <!-- prettier-ignore-start --> <!-- markdownlint-disable --> <table> <tbody> <tr> <td align="center" valign="top" width="14.28%"><a href="https://github.com/Sky-De"><img src="https://avatars.githubusercontent.com/u/79264045?v=4?s=100" width="100px;" alt="sky_de_1991"/><br /><sub><b>sky_de_1991</b></sub></a><br /><a href="https://github.com/miljkovicjovan/minimalist-task-tracker/commits?author=Sky-De" title="Code">💻</a> <a href="https://github.com/miljkovicjovan/minimalist-task-tracker/issues?q=author%3ASky-De" title="Bug reports">🐛</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/txlan1710"><img src="https://avatars.githubusercontent.com/u/128203119?v=4?s=100" width="100px;" alt="txlan1710"/><br /><sub><b>txlan1710</b></sub></a><br /><a href="https://github.com/miljkovicjovan/minimalist-task-tracker/commits?author=txlan1710" title="Documentation">📖</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/tkthib2015012"><img src="https://avatars.githubusercontent.com/u/146736127?v=4?s=100" width="100px;" alt="tkthib2015012"/><br /><sub><b>tkthib2015012</b></sub></a><br /><a href="https://github.com/miljkovicjovan/minimalist-task-tracker/commits?author=tkthib2015012" title="Code">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/LittleCuong"><img src="https://avatars.githubusercontent.com/u/91473760?v=4?s=100" width="100px;" alt="Nguyen Phu Cuong"/><br /><sub><b>Nguyen Phu Cuong</b></sub></a><br /><a href="https://github.com/miljkovicjovan/minimalist-task-tracker/commits?author=LittleCuong" title="Code">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/anhlee66"><img src="https://avatars.githubusercontent.com/u/125440141?v=4?s=100" width="100px;" alt="anhlee66"/><br /><sub><b>anhlee66</b></sub></a><br /><a href="https://github.com/miljkovicjovan/minimalist-task-tracker/issues?q=author%3Aanhlee66" title="Bug reports">🐛</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/bidzy1617"><img src="https://avatars.githubusercontent.com/u/105366189?v=4?s=100" width="100px;" alt="bidzy1617"/><br /><sub><b>bidzy1617</b></sub></a><br /><a href="https://github.com/miljkovicjovan/minimalist-task-tracker/issues?q=author%3Abidzy1617" title="Bug reports">🐛</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/IrfanSalim"><img src="https://avatars.githubusercontent.com/u/109443065?v=4?s=100" width="100px;" alt="Md Irfan Salim"/><br /><sub><b>Md Irfan Salim</b></sub></a><br /><a href="https://github.com/miljkovicjovan/minimalist-task-tracker/commits?author=IrfanSalim" title="Code">💻</a></td> </tr> <tr> <td align="center" valign="top" width="14.28%"><a href="https://bio.link/divya"><img src="https://avatars.githubusercontent.com/u/56636487?v=4?s=100" width="100px;" alt="Divya Kelaskar"/><br /><sub><b>Divya Kelaskar</b></sub></a><br /><a href="https://github.com/miljkovicjovan/minimalist-task-tracker/commits?author=divyakelaskar" title="Code">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/bhavik001"><img src="https://avatars.githubusercontent.com/u/95668553?v=4?s=100" width="100px;" alt="bhavik001"/><br /><sub><b>bhavik001</b></sub></a><br /><a href="https://github.com/miljkovicjovan/minimalist-task-tracker/commits?author=bhavik001" title="Code">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="https://neuronize.dev"><img src="https://avatars.githubusercontent.com/u/46224156?v=4?s=100" width="100px;" alt="Sahil"/><br /><sub><b>Sahil</b></sub></a><br /><a href="https://github.com/miljkovicjovan/minimalist-task-tracker/commits?author=dotslashbit" title="Code">💻</a></td> </tr> </tbody> </table> <!-- markdownlint-restore --> <!-- prettier-ignore-end --> <!-- ALL-CONTRIBUTORS-LIST:END --> ## Contact [Miljković Jovan](https://github.com/miljkovicjovan) #
Minimalist task tracker using Local Storage
javascript,task-manager,task-tracker-app,bootstrap5,react,react-bootstrap,react-bootstrap-components,react-router-dom
2023-10-21T14:51:10Z
2023-12-26T18:58:19Z
null
11
49
105
4
22
4
null
null
JavaScript
ddVital/terminal-portfolio
main
# terminal-portfolio A terminal based portfolio
A command-line portfolio website with an amazing web experience. Toggle effortlessly between the command line and stunning visuals. Explore curated projects showcasing technical expertise and creativity.
cmd,javascript,portfolio,reactjs,scss,uiux
2023-10-27T00:27:48Z
2023-11-02T22:56:26Z
null
1
0
2
0
3
4
null
MIT
JavaScript
huiJeck/hot-list
master
## 项目设置 ```sh npm install ``` ### 在开发环境中启动和热更新 ```sh npm run dev ``` ### 编译用于生产环境 ```sh npm run build ``` ### 说明 这是个人为了方便查看各平台实时热榜新闻而开发,支持pc端和移动端、指在达到10分钟了解所有热点时事资讯,过滤掉无效资讯。 ### 预览 地址:https://zh888.gitee.io/this-app/ ### 截图 #### 百度top榜 ![image](https://github.com/huiJeck/hot-list/assets/22268904/b6e63a5d-27d3-466d-a888-d596611fed0a) #### 抖音top榜 ![image](https://github.com/huiJeck/hot-list/assets/22268904/da7a44a2-48a8-4de4-94bd-ab079c602b54) #### 豆瓣电影top榜 ![image](https://github.com/huiJeck/hot-list/assets/22268904/90a2508d-0819-4eb0-82df-7c55f2e801ae) #### 星座运势查询 ![image](https://github.com/huiJeck/hot-list/assets/22268904/0dfdea8a-35a2-4381-811c-7879433930e3)
高效查看热榜新闻,汇总百度、抖音、微博、知乎、豆瓣、科技、电影等实时top榜单;也支持查询星座运势哦~
javascript,vite,vue
2023-10-24T08:48:27Z
2023-10-24T09:32:15Z
null
1
0
17
1
0
3
null
null
HTML
sofiane-abou-abderrahim/javascript-typescript-introduction
main
null
I built this little TypeScript demo as an introduction to TypeScript and its basics, types and main features, such as core types, object, array, function types and other advanced types, generic types, classes, interfaces. I also configured the TypeScript Compiler so that I can compile all the files to JavaScript files in one go.
javascript,typescript,array,boolean,class,core-types,enum,function,interface,literal
2023-11-01T20:59:48Z
2023-11-02T19:13:30Z
null
1
0
40
0
0
3
null
null
TypeScript
alisharify7/Food-Ordering-App
main
# اتوماسیون تغذیه کارمندان ### سیستم اتوماسیون تغذیه یا سلف سرویس در واقع یک نوع از سیستم جامع تحویل غذا است که پرسنل و دانشجویان می توانند به منظور سفارش و صرف غذا در سازمان های دولتی و خصوصی و همچنین دانشگاه ها از این سیستم استفاده کنند. <img alt="GitHub repo size" src="https://img.shields.io/github/repo-size/alisharify7/Food-Ordering-App"> <img alt="GitHub contributors" src="https://img.shields.io/github/contributors/alisharify7/Food-Ordering-App"> <img alt="" src="docs/database.png"> Tech Stack: python3 jinja2 sms_ir-python requests Khayyam celery Flask Flask-Captcha2 Flask-Sqlalchemy Flask-Session Flask-Wtf Flask-Migrate Flask-RQ Flask-Mail Redis Mysql PyMySQL Html Css Bootstrap 5.2 Bootstrap Icon 1.10 Javascript Chart js Moment js SweetAlert2 js Jquery js PersianDatePicker js ### Persian Version of readme <a href="./docs/HELP-FA.md">Click</a> ## virtual environment: Python3 -m venv venv or python -m vevn venv ## activate: source ./venv/bin/active or .\venv\Scripts\activate.bat ## Install dependencies: pip install -r requirements.txt ## Configurations and Settings: - before starting the app, you should do some steps - first create your own config file with below command: ### Linux - Mac cp .env.sample .env ### Windows copy .env.sample .env - then open the .env file and fill in all the required fields - the required files include the database configuration, admin configuration, and SecretKey - after these steps you have to run below commands for SMS_IR config file ### Linux - Mac cp FoodyConfig/StaticConfig/SMS_IR_Config.py.sample FoodyConfig/StaticConfig/SMS_IR_Config.py ### Windows copy FoodyConfig/StaticConfig/SMS_IR_Config.py.sample FoodyConfig/StaticConfig/SMS_IR_Config.py - and then open FoodyConfig/StaticConfig/SMS_IR_Config.py and replace your template id (FROM SMS_IR) with fake one in file - then init and migrate db with below commands: # remember at this point you should create a database (utf8mb4_persian_ci) # and also put the database name in .env file before running the below commands flask db init flask db migrate flask db upgrade - to change the sections, simply open FoodyConfig/StaticConfig/Sections.py and replace all Sections with your own Company Sections (this required a little bit knowledge of Python Dict ) - one last command is init settings: flask create init_setting - this command update database with setting file - simply run the following command : flask run [--port int:portNumber] [--debug] [ --reload ] [-- with-threads OR --without-threads] or python app.py ## create superuser account: for creating admin Account go to root of project and run below commands : flask create superuser [--help] ## Admin Panel For the admin panel URL, there is a key in the .env file called ADMIN_LOGIN_TOKEN. You should remember that token because you have to pass that token to a special endpoint every time you want to log in to the admin panel. ### Admin Login URL: - www.domain.tld/auth/admin/login/<token> - 127.0.0.1:8000/auth/admin/login/<token> ### Default Token: The default token is 123654. So, the admin URL login with the default token is: - www.domain.tld/auth/admin/login/123654 - 127.0.0.1:8000/auth/admin/login/123654 ## Nginx Config: When the application is running with Debug=True (APP-DEBUG property in the .env file), the application itself serves static files locally. However, when the debug mode is set to False, the application no longer serves static files, and Nginx serves them for you. Therefore, if the app's debug mode is set to False, you need to create a reverse proxy and add some configuration to your web server so that the app can render static files correctly. ## liara deploy: this web application configure for deploying to liara.ir if you want to use another pass Service provider make sure, to change nginx config ## liara Disk: this app required a disk Volume to save images food for this app configure to point to a disk called #Media so don't forget to create a Disk for this (recommended size: 1G) ## CLI Commands : ### - create cli: flask create init_setting [--help] this command is super important because this command insert all sections,days in database when ever you add new item to sections you have to run this command flask create superuser [--help] Use this command for adding new admin to database flask create fakeuser [--help] adding Fake users to app [for development purpose] ### - status cli: flask status users [--help] this command show you information about users in app (all users, active users, ...) flask status admins [--help] this command show you information abut admins in app (all admins, active admins, ...) flask status orders [--help] this command show you information abot orders (all orders, today orders, ...) ### Admin Panel <img src="./docs/demo/admin-login.png"> <img src="./docs/demo/admin-index.png"> <img src="./docs/demo/admin-index1.png"> <img src="./docs/demo/admin-all-users.png"> <img src="./docs/demo/admin-all-users-dropup.png"> <img src="./docs/demo/admin-all-foods.png"> <img src="./docs/demo/admin-add-food.png"> <img src="./docs/demo/ADMIN-TODAY-ORDER.png"> <img src="./docs/demo/admin-section.png"> <img src="./docs/demo/admin-sms-today-send.png"> <img src="./docs/demo/admin-send-sms-all.png"> <img src="./docs/demo/admin-sms-send.png"> <img src="./docs/demo/admin-setting.png"> ### User Panel <img src="./docs/demo/user-login.png"> <img src="./docs/demo/change-password.png"> <img src="./docs/demo/user-login-info.png"> <img src="./docs/demo/user-help-pdf.png"> <img src="./docs/demo/user-index.png"> <img src="./docs/demo/menu.png"> <img src="./docs/demo/order-food.png"> <img src="./docs/demo/order.png"> <img src="./docs/demo/history.png"> <img src="./docs/demo/history-cancel.png"> <img src="./docs/demo/cancel-order.png"> <img src="./docs/demo/history-index.png"> <img src="./docs/demo/history-index-options.png"> <img src="./docs/demo/user-panel.png"> # Responsive <img src="./docs/demo/user-index-reponsive.png"> <img src="./docs/demo/order-responsive.png"> <img src="./docs/demo/order-responsive-1.png">
a simple yet powerful Food Ordering web Application for Employees (free and open sources)
bootstrap,flask,flask-application,flask-captcha2,flask-migrate,flask-session,flask-sqlalchemy,flask-web,flask-wtf,mysql
2023-10-25T17:09:58Z
2023-12-13T11:06:10Z
2023-12-13T09:15:40Z
1
0
23
0
2
3
null
GPL-3.0
Python
Animesh-2/Myntra_clone
main
# Myntra - (Clone) Myntra is an e-commerce website where people can buy from wide range of products and has an interactive UI. A Collaborative project built by a team of 5 executed in 4 days. ![Logo](https://mumbaimirror.indiatimes.com/photo/80601325.cms) ## Demo 🎥 - Video Link:- [User Manual](https://youtu.be/b2xNnRaI3_M) - Deployed Link:- [Enjoy the Experience](https://calm-malasada-c0860b.netlify.app) ## Tech Stack 💻 - HTML5 - CSS3 - JAVASCRIPT **No External Libraries has been used.** ## Features ✨ - Authentication process undercover with Local Storage. - Pagination for each category with working mega dropdown. - Dynamic Products, Wishlist page using locally created json data. - All the product description, prices, discounts, are updated in real time. ## Responsibilities 💪 - Landing page UI consisting of megadrown navbar, carasouel, animated image cards and authentications i.e.; Login & Register - Paginations for each sub-sections - Implementation of local storage on authentications - Address, payment, checkout done with using local storage concepts and raw css (No external libraries has been implemented for the same to have a effect !!) ## Snap Shots 📷 **Home Page** ![Logo](https://images2.imgbox.com/c0/b8/9A3OPB3n_o.jpg) **Mega DropDown** ![Logo](https://images2.imgbox.com/fc/50/uwwSDxEF_o.jpg) **Products Page** ![Logo](https://images2.imgbox.com/b1/79/Ajcc0vIR_o.jpg) **Products Details Page** ![Logo](https://images2.imgbox.com/5c/5a/ALM6fjk4_o.jpg) **WishList Page** ![Logo](https://images2.imgbox.com/a3/f8/mt96qGyy_o.jpg) **Cart Page** ![Logo](https://images2.imgbox.com/5c/84/veOWEFoY_o.jpg) **Address Page** ![Logo](<Screenshot (94).png>) **Payment Page** ![Logo](<Screenshot (96).png>) ## Contributors 😇 - 👤 [Rupan Das](https://www.github.com/Rupan510) - 👤 [Divyam Rauthan](https://www.github.com/DivYam062) - 👤 [Aman Garg](https://www.github.com/AG7464) - 👤 [Pankaj Khatri](https://www.github.com/MrPK4699) - 👤 [Animesh Singh](https://www.github.com/Animesh-2)
Explore a vast array of trendsetting collections curated to keep you ahead in the fashion game. From chic apparel to the latest accessories, we've got your style needs covered.
css3,html5,javascript
2023-10-18T06:12:01Z
2023-12-21T17:56:17Z
null
5
8
67
0
0
3
null
null
JavaScript
eswar17v/Portfolio
main
# Portfolio A Portfolio website made up of HTML, CSS ttelling about my accomplishments using Internship Task 1 Portfolio Website.
Personal portfolio
bharat-intern,css,html,internship-task,intership,javascript,portfolio,portfolio-website,project,task1
2023-11-02T01:23:47Z
2023-11-02T01:28:56Z
null
1
0
3
0
1
3
null
null
CSS
liz3/bun-ui
master
# BUN UI This is a library which is a javascript glfw binding and a tool for rendering graphs, plots and pie charts in javascript using [bun](https://bun.sh) or [node](https://nodejs.org/en)(because bun fired me pretty disgustingly) ## Explanation This uses bun or nodes FFI api to create GLFW windows using a RGBA shader which can render buffers from a cpu, it further provides a api for various interactions with the window and functions to render plots and the likes. ## Installation Add this as a git based dependency. ### Node By default it only build the bun c library, to make it work for node cd into `node_modules/bun-ui` and run `npm run build-node`, which will build the required module, from there you can use the api normally. ### Building Manually You need CMake and a compiler which can compile C11. Then building is pretty easy. ``` > mkdir build > cd build > cmake .. > make ``` ## API ### Graph ```js import {graph} from "bun-ui"; // graph = (name:string, graphs: [[]number], markers: ?[][n:number, name: string], options: ?{width: number, height: number}): {canvas:Canvas, w: number, h: number} const {canvas, w, h} = graph("Title", [[0.4, 0.2, 0.5, 0.1]], [[0, "0"], [1, "100"]]); ``` ### Plot Colors is rgb 0-255 ```js import {plot} from "bun-ui"; // plot = (name:string, bars: [number|[number, string]], markers: ?[][n:number, name: string], color: [number, number, number], options: ?{width: number, height: number}): {canvas:Canvas, w: number, h: number} const {canvas, w, h} = plot("Title", [0.4, 0.2, 0.5, [0.1, "10%"]], [[0, "0"], [1, "100"]]); ``` ### Pie Note that the addition of the values needs to end at 1 ```js import {pie} from "bun-ui"; // pie = (name:string, parts: [number|[number, string]], options: ?{width: number, height: number}): {canvas:Canvas, w: number, h: number} const {canvas, w, h} = pie("Title", [[0.4, "40%"], [0.6, "60%"]]); ``` ### Automap Normalizes a range of values for plots ```js import {autoMap, plot} from "bun-ui"; // autoMap = (values: []number): [[]numbers, [[number, string]]] const values = [3456,6345,2345,5756]; const [normalized, markers] = autoMap(values); const {canvas, w, h } = plot("Plot", normalized, markers); ``` ### toWindow Display a window based on a render, the promise resolves when the window is closed ```js import {toWindow, plot} from "bun-ui"; // toWindow = (title:string, in: {canvas: Canvas, w: number, h: number}): Promise<void> const p = plot("Plot Title", [0.4, 0.2, 0.5, [0.1, "10%"]], [[0, "0"], [1, "100"]]); await toWindow("Window Title", p); ``` ### toPNG Export a render to a PNG and save it to the filesystem. ```js import {toPNG, plot} from "bun-ui"; // toPNG = (path:string, in: {canvas: Canvas}, background: ?string = "rgb(200, 200, 200)"): Promise<void> const p = plot("Plot Title", [0.4, 0.2, 0.5, [0.1, "10%"]], [[0, "0"], [1, "100"]]); await toPNG("foo/bar/out.png", p); ``` ### toJPEG Export a render to a JPEG and save it to the filesystem. ```js import {toJPEG, plot} from "bun-ui"; // toJPEG = (path:string, in: {canvas: Canvas}, quality: ?Number = 0.95): Promise<void> const p = plot("Plot Title", [0.4, 0.2, 0.5, [0.1, "10%"]], [[0, "0"], [1, "100"]]); await toJPEG("foo/bar/out.png", p); ``` ### iterativeWindow Display a window based on a render and a index, this is a "easy way" to update a exiting buffer of a window based on an index ```js import {iterativeWindow, plot} from "bun-ui"; // iterativeCallback = (index: number): {buffer: Buffer, w: number, h: number, index: ?number, type: ?"rgb"|"rgba"|"bgra"} // iterativeWindow = (windowTitle:string, w: number, h: number, callback: iterativeCallback, initial_index: ?number = 1): Promise<void> await iterativeWindow( "Window title", 400, 400, (givenIndex) => { const { canvas, w, h } = plot( "Plot Title", [1 / givenIndex], [ [0, "0"], [1, "100"], ], [0, 50, 200], { width: 400, height: 400, }, ); return { buffer: canvas.toBuffer("raw"), w, h }; }, 1, ); ``` ### easyWindowWithBounds Easy wrapper for creating a single buffer window, `toWindow` uses this under the hood. ```js import {easyWindowWithBounds} from "bun-ui"; // easyWindowWithBounds: (name:string, buffer:Buffer, buffer_w: number, buffer_h: number, window_w: number, window_h: number, type: ?"rgb"|"rgba"|"bgra" = "rgba") const { canvas, w, h } = o; return easyWindowWithBounds( name, canvas.toBuffer("raw"), w, h, w, h, "bgra", ); ``` ### Window Window is the underlying class on which all apis build upon, it gives you very low level control. ```js import Window, {plot} from "bun-ui"; /* class Window { constructor(windowTitle:string, windowWidth: number, windowHeight: number); setCloseCallback((): void): void; close(): void; setClearColor(red: number, green: number, blue: number): void; updateBuffer(buffer: Buffer, bufferWidth: number, bufferHeight: number, type: ?"rgb"|"rgba"|"bgra" = "rgba"): void; setKeyCallback(({key: number, scancode: number, action: number, mods: number}):void):void; setTextCallback((codepoint: number):void):void; setMousePositionCallback((x: number, y:number):void):void setMouseButtonCallback((button: number, action: number, mods: number):void):void setFocusCallback((window_focused:boolean):void):void setSizeCallback((width: number, height: number, xScale: number, yScale: number):void):void updateTitle(title:string):void; getClipboard():string; setClipboard(content: string): void; dangerouslyAwaitEvents():void // this will call into glfw blocking the main thread since the ui is executed on the main js thread. dangerouslyAwaitEventsTimeout(seconds: number):void // this will call into glfw blocking the main thread since the ui is executed on the main js thread. create():void; } */ const window = new Window("Window title", 600, 400); window.create(); window.setClearColor(200, 200, 200); const { canvas, w, h } = plot( "Plot Title", [1 / givenIndex], [ [0, "0"], [1, "100"], ], [0, 50, 200], { width: 400, height: 400, }, ); window.updateBuffer(canvas.toBuffer("raw"), w, h, "bgra"); window.setTextCallback(codepoint => { console.log(codepoint); }); // do something else window.close(); ``` # License This is free software under GPL 2.0
GLFW binding layer for node.js and bun and plotting library
datascience,glfw-bindings,glfw3,javascript,js,nodejs
2023-10-18T02:33:06Z
2024-02-20T17:58:04Z
null
1
0
52
0
1
3
null
null
C
NeuralFlux/foodvisorLM
main
# FoodvisorLM 🍎 A webapp to find potentially harmful ingredients in packaged food and find similar products built using AWS OpenSearch, SageMaker, DynamoDB, Cognito, Docker, Flask, and OpenAI API. [Demo](https://www.linkedin.com/posts/anudeep-tubati_ai-machinelearning-cloudcomputing-activity-7158624067665711105-5doF?utm_source=share&utm_medium=member_desktop) ### Sample Data Use this data to test the barcode scanner or the search feature. | Product Code | Image | Name | Description | Ingredients | | --- | --- | --- | --- | --- | | 8904063230126 | ![barcode 8904063230126](/assets/sample_barcodes/8904063230126.jpg) | Haldiram's Navrattan | Spicy snacks mixture of split chickpeas, peanuts, and sundried potato chips | chickpeas flour, vegetable oil (cotton seed, corn, palmolein), puy lentil, peanuts, acidity regulator [citric acid powder (E330)], anticaking agent [silicon dioxide (E551)] | 074570014002 | ![barcode 074570014002](/assets/sample_barcodes/074570014002.jpg) | Haagen-Dazs | chocolate ice cream, chocolate | cream, skim milk, cane sugar, cocoa processed with alkali, egg yolks | 054467050351 | ![barcode 054467050351](/assets/sample_barcodes/054467050351.jpg) | Starbucks | double chocolate hot cocoa mix, double chocolate | cane sugar, cocoa, cocoa (processed with alkali), dark chocolate (sugar, chocolate mass, cocoa butter, soy lecithin), natural vanilla flavor ### Background While I find [Yuka](https://yuka.io/en/) very useful for this, I started this project with two questions: 1) How can the recent advances in NLP help summarize research in health and food science per ingredient? 2) Since the ratings by a human expert may induce bias, is a qualitative stance better than Yuka's rating system? Data is fetched from the [US Department of Agriculture](https://fdc.nal.usda.gov/download-datasets.html) archive. A subset is derived based on popular brands like Haagen-Dazs and Starbucks; look at [products](/assets/products_info.csv) for the list of all supported products. ### Setting up Prerequisite - Set all the environment variables in [env.list](/env.list) ```bash git clone https://github.com/NeuralFlux/foodvisorLM cd foodvisorLM pip install -r requirements.txt cd flask-app/ flask --app app.py --debug run # build Docker image cd .. docker build -t fvsr-lm . docker run --env-file env.list -p 5000:5000 fvsr-lm ``` ### Architecture Diagram ![Architecture diagram of this project comprising various AWS services](/assets/foodvisorLM_arch.png) ### Design Choices #### Web hosting | AWS Service | Pros and Cons | | --- | --- | | Lambda | Scalable but cold-starts are slow | | S3 | Scalable but static pages only | | Amplify | Scalable and JavaScript-based whereas this app uses Flask for lightweight API | | Lightsail | Load balancing, isolated, free tier but no blue/green deployments and auto scaling | | Elastic Beanstalk | Robust solution but insufficient free tier EC2 credits | #### Database Product barcode data is largely structured and contains millions of rows, hence RDS or DynamoDB are well-suited. However, for User History, DynamoDB is better suited due to scalability. ### Future Ideas - [ ] Deploy custom retrieval-augmented generation pipeline for label classification - [ ] Cite relevant articles in RAG - [ ] Recommend healthier alternatives as opposed to similar products only This is a part of my project for Cloud Computing and Big Data at New York University, Fall 2023 taught by Prof. Sambit Sahu. ### References 1. A. Hill, “What AWS service should you use to publish a web site?, ” https://adrianhall.github.io/cloud/2019/01/31/which-aws-service-for-hosting/ 2. OpenAI, “Chat Completion API Documentation, ” https://platform.openai.com/docs/guides/text-generation/chat-completions-api 3. AWS, “AWS Documentation, ” https://docs.aws.amazon.com/index.html 4. Julie, François, Benoı̂t, “Yuka Blog, ” https://yuka.io/en/ 5. OpenSearch, "Neural Search Tutorial, " https://opensearch.org/docs/latest/search-plugins/neural-search-tutorial/ 6. Ricardo Ferreira, "Developing Neural Searches with Custom Models, " https://community.aws/content/2ZVEF1vMg0Jh2IwtbVMEVEMND59/developing-neural-searches-with-custom-models?lang=en
A full-stack webapp to find potentially harmful ingredients in packaged food and find similar products built using AWS OpenSearch, SageMaker, Cognito, Docker, Flask, and OpenAI API
aws,flask,javascript,openai-api,python
2023-11-05T06:03:17Z
2024-02-29T03:20:17Z
null
1
1
52
0
0
3
null
MIT
HTML
pavel-ryzhakov/HardwareGenius
master
<p align="center"> <img src="https://github.com/pavel-ryzhakov/HardwareGenius/blob/master/HardwareGenius-SPA/hw-genius/src/assets/images/logos/logo.png?raw=true" width="500"> </p> <p align="center"> <img src="https://img.shields.io/badge/-Avocadoz-000000?logo=overleaf" alt="License"> <img src="https://img.shields.io/badge/-React 18.0-5b5b5b?logo=react" alt="License"> <img src="https://img.shields.io/badge/-7.0-512BD4?logo=dotnet" alt="License"> <img src="https://img.shields.io/badge/-2022-5C2D91?logo=visualstudio" alt="sa"> <img src="https://img.shields.io/badge/-Sass-5C2D91?logo=sass" alt="sa"> <img src="https://img.shields.io/npm/v/npm.svg?logo=nodedotjs" alt="sa"> </p> ## About 🌐 Web configurator for building a gaming PC with testing. ## Documentation ERD: ```mermaid erDiagram products{ int product_id PK int category_id FK int manufacturer_id FK text model money price text picture } manufacturers{ int manufacturer_id PK text manufacturer_name } categories{ int category_id PK text category_name } attributes{ int attribute_id PK int category_id FK text attribute_name } attribute_values{ int attribute_value_id PK int attribute_id FK int product_id FK type value } user{ UUID user_id PK text user_name text email text first_name text last_name text phone_number date registration_data } adress{ UUID adress_id PK int user_id FK text country text city text street text home int post_index } cart{ UUID cart_id PK int user_id FK timestamp date } cart_items{ UUID cart_item_id PK int cart_id FK int product_id FK int product_count } orders{ UUID order_id PK int user_id FK text pay_select int address_id FK int billing_address_id FK text order_state timestamp order_date money order_price } order_items{ UUID order_item_id PK int order_id FK int product_id FK int country int price_at_purchase } products ||--|{ attribute_values : "" products }|--|| manufacturers : "" categories ||--|{ attributes : "" products }|--|| categories : "" attributes ||--|{ attribute_values : "" cart_items }|--|| products : "" cart_items }|--|| cart : "" cart }|--|| user : "" adress }|--|| user : "" orders }|--|| user : "" orders }|--|| adress : "" cart_items }|--|| orders : "" cart_items }|--|| products : "" ``` ## External resources <details> <summary><b>NPM</b></summary> <p> <ul> <li>ReactiveSearch [npm install @appbaseio/reactivesearch]</li> <li>Font Awesome [npm i --save @fortawesome/fontawesome-svg-core]</li> </ul> </details> <details> <summary><b>NuGet</b></summary> <p> <ul> <li>Entity Framework Core</li> <li>Npgsql.EntityFrameworkCore.PostgreSQL</li> <li>Serilog</li> <li>AutoMapper</li> </ul> </details> ## Developers - [Ryzhakov](https://github.com/pavel-ryzhakov) - [Fenix](https://github.com/Fenix-NET) ## License
🌐 Web configurator for building a gaming PC with testing.
api,dotnet,onion-architecture,csharp,javascript,react,sass
2023-10-20T23:36:16Z
2024-02-29T04:26:54Z
null
1
0
31
0
0
3
null
null
JavaScript
IsuruSankhajith/medicare_front
main
<h1 align="center">Medicare</h1> <p> This repository is a form originally owned by Isuru Sankhajith. . </p> <br> <br> To login website use: `username:` test<br /> `password:` 123<br /> ## Development server Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. ## Code scaffolding Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`. ## Build Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build. ## Running unit tests Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). ## Running end-to-end tests Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
This is a final-year front-end project, and I used to the Angular framework.
angular,html,typescript,javascript,scss
2023-10-23T15:02:04Z
2024-02-18T10:01:27Z
null
1
0
8
0
0
3
null
null
HTML
LeonhardTissen/laibaPortfolio
main
# laibaPortfolio Portfolio website for Laiba Tariq. ### Install dependencies ```sh yarn ``` ### Run development server ```sh yarn dev ``` ### Build production files ```sh yarn build ``` ### Optimize images in works_src -> works ``` python3 optimize.py ```
👩🏾‍💻 Professional portfolio website for Laiba Tariq's freelancing business. An overview of her experiences and a way to contact.
css,css3,ejs-templates,javascript,typescript,webpack
2023-10-22T11:02:37Z
2024-05-10T17:17:36Z
null
2
0
95
0
0
3
null
null
EJS
ThibaultGiraudon/transcendence
master
<div align="center"> <a href="https://github.com/ThibaultGiraudon/transcendence"> <img src="django/static/main/img/loading.gif" alt="Logo" width="150" height="150"> </a> <h3 align="center">Transcendence</h3> Final common core project of 42 school [![HitCount](https://img.shields.io/endpoint?url=https%3A%2F%2Fhits.dwyl.com%2FThib1708%2Ftranscendence.json%3Fcolor%3Dgreen)](https://github.com/ThibaultGiraudon/transcendence/) ![](https://sloc.xyz/github/ThibaultGiraudon/transcendence) [![Last commit](https://img.shields.io/github/last-commit/ThibaultGiraudon/transcendence.svg)](https://github.com/ThibaultGiraudon/transcendence/) </div> ## Summary - [Description](#description) - [Installation](#installation) - [Pong game](#pong-game) - [Practice modes](#practice-modes) - [Ranked modes](#ranked-modes) - [Chat](#chat) - [Ranking](#ranking) - [Friends](#friends) - [Profile](#profile) - [Notifications](#notifications) - [Email support](#email-support) - [How to create the env file](#how-to-create-the-env-file) - [Technical details](#technical-details) - [Credits](#credits) ## Description This project is a website that lets you play the famous game of [Pong](https://en.wikipedia.org/wiki/Pong), with several game modes available. To do this, you'll need to create an account using your own credentials or by linking your **42 account** to the website. All data is persistent and securely stored. It is not possible for developers to recover a user's password in clear text. ## Installation ### Clone the repository Use the following command to clone the repository to your local machine: ```shell git clone https://github.com/ThibaultGiraudon/transcendence.git ``` ### Create the env file See [How to create the env file](#how-to-create-the-env-file) to create this important file and to be abble to continue the installation. ### Launch the server Use the following commands to launch the docker-compose file to up the website: ```shell cd transcendence docker-compose up --build ``` > [!NOTE] > *See [this page](https://docs.docker.com/desktop/) to understand how to install Docker.* ### Open the website Open your favorite internet browser and go to http://localhost:8000 to visit the website in the insecure way. To have an HTTPS connexion, go to https://localhost:8443. ## Pong game ### Practice modes You can train your skills in a practice mode with 3 games among: - **Local** game with a friend on the same computer. - **1 vs AI** where you are against an artificial intelligence. - **Wall game** where you have to throw as many balls as possible against the wall. ### Ranked modes If you're looking for a competitive edge, there are 3 game modes to choose from: - **1 vs 1** against an opponent from all over the world. - **4-way deathmatch** where all players play at the same time on the same grid, with a paddle on each side. - **Tournament** mode, where 2 groups of 2 play simultaneously on their own grid, followed by a final between the 2 winners. ## Chat In addition to the game, you'll find an advanced chat feature. </br> This allows you to have **private conversations** with another user. You can also take part in **group conversations**, with no user limit. If you feel like it, feel free to **create your own chat group** and invite your friends! ## Ranking By playing competitive game modes, you **earn points** that help you climb the world rankings. A tab is dedicated to this ranking, where you can see other players' statistics and more by visiting their profiles. ## Friends You can send a **friend request** to any user of your choice. If they accept, you'll be officially linked. Friends are private and visible only to those concerned. This allows you to see their **live status** to see if they're online, offline or in a game. You can find them more easily in a dedicated tab. ## Profile Each user has a profile. Public information includes your **profile photo** (*a photo is assigned to you by default when your account is created*), your **nickname**, your **statistics** and your **game history**. On your own account, you'll be able to access more options, such as customizing your profile. This includes changing your profile photo and display name. Not forgetting your email address and password (*not accessible to users logged in with 42*). ## Notifications An advanced notification system is available on the website to keep you up to date. A **live animation** will alert you to incoming news, along with a **pending message counter**. Once on the notifications page, you'll be able to see **unread messages**, **new ones received**... All notifications are **clickable** and will redirect you to the desired location, and some contain **action buttons** to facilitate your reaction. ## Email support The project includes an **email support** to inform registered users of actions taken on their accounts and securely track their modifications. This can be disabled if required on the user's profile page. ## How to create the env file To set up the server and website, you'll need a file containing environment variables. This file should be named `.env` and located at the root of the main folder. Here's an implementation model of this famous file: ```python # Django HOST=# Put your local IP here SECRET_KEY= # Django secret key DJANGO_ALLOWED_HOSTS=localhost 127.0.0.1 ${HOST} [::1] OFFICIAL_EMAILS=lpupier@student.42lyon.fr,tgiraudo@student.42lyon.fr,ezanotti@student.42lyon.fr # DataBase identification DATABASE_ENGINE=django.db.backends.postgresql DATABASE_NAME=postgres DATABASE_USER= # Database username DATABASE_PASSWORD= # Database password DATABASE_HOST=postgres DATABASE_PORT=5432 # API identification CLIENT_ID= # 42 client API ID CLIENT_SECRET= # 42 client secret OTHER_CLIENT_SECRET= # 42 next client secret - optionnal # Email gestion EMAIL_HOST_USER= # Email EMAIL_HOST_PASSWORD= # API password ``` Modify the informations with your own credentials and then launch the `docker-compose` of your choice. ## Technical details - **Front End**: HTML <img height=20 src="https://github.com/devicons/devicon/blob/master/icons/html5/html5-original.svg"> / CSS <img height=20 src="https://github.com/devicons/devicon/blob/master/icons/css3/css3-original.svg"> / JavaScript <img height=20 src="https://github.com/devicons/devicon/blob/master/icons/javascript/javascript-original.svg"> - **Back End**: Python <img height=20 src="https://github.com/devicons/devicon/blob/master/icons/python/python-original.svg"> / Django <img height=20 src="https://github.com/devicons/devicon/blob/master/icons/django/django-plain.svg"> - **Database**: PostgreSQL <img height=20 src="https://github.com/devicons/devicon/blob/master/icons/postgresql/postgresql-original.svg"> The entire website has been developed in compliance with the single page application ([SPA](https://en.wikipedia.org/wiki/Single-page_application)) for increased user comfort and speed of use. ## Credits This project was entirely developed by *Leon Pupier*, *Elias Zanotti* and *Thibault Giraudon* for the final comon core project of 42 called **ft_transcendence**.
The final common core project of 42.
42school,css,django,docker,docker-compose,html,javascript,python,transcendence,website
2023-10-24T12:02:50Z
2024-04-21T17:15:58Z
null
3
8
827
0
0
3
null
null
Python
oliversalzburg/js-utils
main
# JS Utils [![npm version](https://badge.fury.io/js/@oliversalzburg%2Fjs-utils.svg)](https://badge.fury.io/js/@oliversalzburg%2Fjs-utils) A collection of random utilities for JS/TS development. - ESM only. - Tree-shaking in mind. Subpath-imports fully supported and recommended. - No runtime dependencies. - All runtime code is licensed under MIT, or fully compatible licenses. ## Release Process ``` npm version patch git push ```
Common utilities for JS/TS projects
javascript,typescript
2023-10-28T14:03:43Z
2024-05-21T21:58:21Z
null
2
144
481
3
2
3
null
MIT
TypeScript
Place4you/Saadat-Ali-Portfolio
master
# Saadat Ali Portfolio ![Saadat Ali Portfolio Screenshot](public/thumbnail.JPG) This repository contains the code for my personal portfolio website built with Next.js and React. ## Live Demo Access the live version of the project: [Netlify Link](https://saadataliportfolio.netlify.app/) This project is also deployed and hosted on Netlify. Click the link above to explore the live version. ## Description My portfolio website serves as a showcase of my projects, skills, and experiences. It is designed to provide an overview of my work and allow visitors to learn more about me and my expertise. ## Technologies Used - **Next.js** - Version 14.0.3 - **React** - Version 18 - **@emailjs/browser** - Version 3.11.0 - **@heroicons/react** - Version 2.0.18 - **emailjs-com** - Version 3.2.0 - **framer-motion** - Version 10.16.4 - **react-animated-numbers** - Version 0.17.1 - **react-dom** - Version 18 - **react-intersection-observer** - Version 9.5.3 - **react-particles** - Version 2.12.2 - **react-scroll** - Version 1.9.0 - **react-toastify** - Version 9.1.3 - **react-type-animation** - Version 3.2.0 - **resend** - Version 2.0.0 - **toastify** - Version 2.0.1 - **tsparticles** - Version 2.12.0 ### Development Dependencies - **autoprefixer** - Version 10 - **cssnano** - Version 6.0.1 - **postcss** - Version 8 - **tailwindcss** - Version 3 ## Features - Interactive design using **Framer Motion** for smooth animations. - Utilizes **React Intersection Observer** for handling scroll-based animations. - **React Particles** library used for creating engaging particle effects. - Incorporates **React Scroll** for smooth scrolling navigation. - Enhanced user experience with **React Toastify** for toast notifications. ## Usage To run this project locally: 1. Clone this repository. 2. Install dependencies using `npm install`. 3. Run the development server with `npm run dev`. 4. Open [http://localhost:3000](http://localhost:3000) to view it in the browser. ## Screenshots _Insert screenshots or GIFs showcasing your website here._ ## License This project is licensed under the MIT License - see the [LICENSE](link_to_license_file) file for details.
My portfolio website serves as a showcase of my projects, skills, and experiences. It is designed to provide an overview of my work and allow visitors to learn more about me and my expertise.
html-css-javascript,javascript,jsx,particles,portfolio,portfolio-website,react,resend-email,tailwindcss
2023-10-20T16:26:02Z
2024-02-29T09:27:38Z
null
2
1
77
0
1
3
null
null
JavaScript
Codinglone/MERN-BookStore
master
# MERN Stack Book Store app ## Steps to install 1. Clone this repo using git clone or gh repo command followed by repo URL 2. Use terminal to navigate to the clone downloaded 3. Use terminal to navigate to backend directory 4. Run npm install 5. Run npm run dev command 6. Navigate to frontend directory 7. Run npm install 8. Run npm run dev 9. Star this repo.
Simple MERN bookstore with all CRUD functionalities using REST APIs
expressjs,javascript,nodejs,reactjs
2023-10-29T04:20:39Z
2023-10-29T04:20:21Z
null
1
0
1
0
0
3
null
null
JavaScript
jaydattpatel/JavaScript
main
# JavaScript JavaScript for beginners with Node.js. <div id="badges"> <img src="https://api.visitorbadge.io/api/visitors?path=jaydattpatel%2FJavaScript&label=Visitors&countColor=%2337d67a" alt="Visitor badge" width="100" height="28"/> </div>
JavaScript Programming Practice Programs.
javascript,javascript-classes,javascript-data-structures,javascript-objects,javascript-variables,jest,jest-test,nodejs,javascript-error-handle,javascript-spread-rest-operator
2023-10-28T10:02:06Z
2024-05-22T05:16:42Z
null
1
0
49
0
0
3
null
null
JavaScript
ShivamGupta92/Retinacare
main
![build-passing](https://img.shields.io/badge/build-passing-brightgreen) ![test-passing](https://img.shields.io/badge/test-passing-brightgreen) <h1> <p align="center"> BigFootIsReal <p align="center"> </h1> <p align="center"> <img src="https://github.com/ShivamGupta92/Retinacare/assets/70855458/87563d52-17f8-48bd-b13c-20440bc34a38?raw=true" alt="Sublime's custom image"/> </p> Website URL: https://retinacare.vercel.app/ # Diabetic Retinopathy Detection (RetinaCare) # Accuracy ```sh Able to achieve a stunning accuracy of 83% With approx 3662 images ``` all thnx our Image preprocessing Algorithm. # About Diabetic Retinopathy Detection, or RetinaCare, is an AI-driven solution aimed at identifying diabetic retinopathy, a critical complication of diabetes, using retinal images. Our project offers a non-invasive, accessible, and efficient tool to assess the severity of this condition. # Problem We Solve Diabetic Retinopathy is a disease with an increasing prevalence and the main cause of blindness among working-age population. The risk of severe vision loss can be significantly reduced by timely diagnosis and treatment. Systematic screening for DR has been identified as a cost-effective way to save health services resources. Automatic retinal image analysis is emerging as an important screening tool for early DR detection, which can reduce the workload associated to manual grading as well as save diagnosis costs and time. Many research efforts in the last years have been devoted to developing automated tools to help in the detection and evaluation of DR lesions. We are interested in automating this predition using deep learning models. **Why Use Our Model:** Our model provides: - Quick, accurate diagnosis of retinopathy. - Early intervention for effective treatment. - Personalized recommendations based on severity. # Data Visualization ![WhatsApp Image 2023-10-21 at 21 50 57_64ca94d2](https://github.com/ShivamGupta92/Retinacare/assets/70855458/dfc81b4a-02fd-4d94-b0c5-986e1bea97d0) # Final segmentation output ![image](https://github.com/ShivamGupta92/Retinacare/assets/70855458/269aec45-49d6-43d5-9e24-487e2555fd14) ![image](https://github.com/ShivamGupta92/Retinacare/assets/70855458/d9b2c22e-ad91-4557-939f-fe89a4298f16) # Model Working ![image](https://github.com/ShivamGupta92/Retinacare/assets/70855458/66cc7fed-6059-49e0-94c1-d8dc805ccc4d) https://github.com/ShivamGupta92/Retinacare/assets/70855458/0ebcc8e0-45cc-4415-9a5b-5d44b820b035 ## How It Addresses Real-World Problems - Non-invasive, accessible eye health assessment. - Timely intervention to reduce vision loss risk. - Aiding both patients and healthcare professionals. ![image](https://github.com/ShivamGupta92/Retinacare/assets/70855458/c100ec3d-aad9-4661-8f9d-a65ea6806fb1) ## Motivation: We're motivated by the desire to improve public health, especially for those with diabetes, and to combat vision loss due to diabetic retinopathy. ## Tech Stack: - Frontend: HTML, CSS, JavaScript - Backend: Python, Flask - Machine Learning: Inception ResNet V2, PyTorch, Scikit-Learn, TensorFlow - Deployment: Docker, Heroku, Vercel ## Write Us If you have any questions or feedback about RetinaCare, reach me out on linkedIn. ## Authors - [Shivam Gupta](https://www.linkedin.com/in/shivam-gupta-453b13217) - Rahul Sharma Please reach out to the authors for questions or contributions.
Diabetic Retinopathy Predictor System, a Flask-based web app, uses machine learning to assess diabetic retinopathy risk. Input your health data and get results within seconds: Ranging from ['Mild', 'Moderate', 'Severe', 'No_DR']
cnn-keras,css,diabetic-retinopathy-detection,flask,html5,inception-resnet-v2,javascript,tensorflow
2023-10-21T14:25:15Z
2024-01-17T18:10:52Z
null
1
0
29
0
1
3
null
MIT
Jupyter Notebook
hadihaider055/FreelanceQuest
main
# Freelancing Platform DBMS Project This repo is for our database management system (DBMS) course project. The project is designed to help freelancers and clients connect and collaborate efficiently. ## Features - User registration and authentication. - Project posting and bidding. - Payment processing. - Messaging between users. ### Project Structure | Codebase | Description | | :-------------------- | :-----------------------: | | [Backend](backend) | Express.js API | | [Frontend](frontend) | Next.js Frontend | ## Running the Project with Docker This project is Dockerized. Follow the steps below to build and run the project using Docker. ### Prerequisites Before proceeding, make sure you have Docker installed on your machine. If not, you can download and install Docker from [https://www.docker.com/get-started](https://www.docker.com/get-started). ### Build the Docker Image Use the following command to build the Docker images (for frontend and backend) locally: ```bash make build ``` ### Run the Docker Container Once the images are built, you can run the Docker containers with the following command: ```bash make run ``` If you prefer not to use Make, you can easily replicate the build and run commands by copying them directly from the Makefile situated in the project's root directory.
Development of a freelancing platform mainly focused on the Database Management as part of our University Course.
expressjs,javascript,next-auth,nextjs,nodejs,postgresql,reactjs,sequelize,typescript
2023-10-19T08:39:57Z
2024-02-02T16:00:58Z
null
3
24
181
10
1
3
null
null
TypeScript
ViktorSvertoka/goit-js-finalproject
main
# Фiнальний проєкт # Критерії приймання фiнального проєкту - Створено репозиторій `goit-js-finalproject`. - Фiнальний проєкт містить два посилання: на вихідні файли і робочу сторінку на `GitHub Pages`. - В консолі відсутні помилки і попередження під час відкриття живої сторінки завдання. - Імена змінних і функцій - зрозумілі та описові. - Код відформатований за допомогою `Prettier`. ## Стартові файли - У [папці src](./src) знайдеш стартові файли з базовою розміткою і готовими стилями. Скопіюй їх собі у проект. Для цього завантаж цей репозиторій як архів або використовуй [сервіс DownGit](https://downgit.github.io/) для завантаження окремої папки з репозиторія. - Файл `gallery-items.js` містить масив `galleryItems`, який містить об'єкти з інформацією про зображення: маленьке (прев`ю), оригінальне (велике) і опис. Ми вже підключили його до кожного з JS-файлів проекту. ## Завдання 1 - галерея зображень Створи галерею з можливістю кліку по її елементах і перегляду повнорозмірного зображення у модальному вікні. Подивися демо відео роботи галереї. https://user-images.githubusercontent.com/17479434/127711719-4e293f5b-fbaa-4851-8671-fc841963d961.mp4 Виконуй це завдання у файлах `01-gallery.html` і `01-gallery.js`. Розбий його на декілька підзавдань: 1. Створення і рендер розмітки на підставі масиву даних `galleryItems` і наданого шаблону елемента галереї. 2. Реалізація делегування на `div.gallery` і отримання `url` великого зображення. 3. Підключення скрипту і стилів бібліотеки модального вікна [basicLightbox](https://basiclightbox.electerious.com/). Використовуй [CDN сервіс jsdelivr](https://www.jsdelivr.com/package/npm/basiclightbox?path=dist) і додай у проект посилання на мініфіковані (`.min`) файли бібліотеки. 4. Відкриття модального вікна по кліку на елементі галереї. Для цього ознайомся з [документацією](https://github.com/electerious/basicLightbox#readme) і [прикладами](https://basiclightbox.electerious.com/). 5. Заміна значення атрибута `src` елемента `<img>` в модальному вікні перед відкриттям. Використовуй готову розмітку модального вікна із зображенням з прикладів бібліотеки [basicLightbox](https://basiclightbox.electerious.com/). ### Розмітка елемента галереї Посилання на оригінальне зображення повинно зберігатися в data-атрибуті `source` на елементі `<img>`, і вказуватися в `href` посилання. Не додавай інші HTML теги або CSS класи, крім тих, що містяться в цьому шаблоні. ```html <div class="gallery__item"> <a class="gallery__link" href="large-image.jpg"> <img class="gallery__image" src="small-image.jpg" data-source="large-image.jpg" alt="Image description" /> </a> </div> ``` Зверни увагу на те, що зображення обгорнуте посиланням, отже по кліку за замовчуванням користувач буде перенаправлений на іншу сторінку. Заборони цю поведінку за замовчуванням. ### Закриття з клавіатури > ⚠️ Наступний функціонал не обов'язковий для здавання завдання, але буде > хорошою додатковою практикою. Додай закриття модального вікна після натискання клавіші `Escape`. Зроби так, щоб прослуховування клавіатури було тільки доти, доки відкрите модальне вікно. Бібліотекаи [basicLightbox](https://basiclightbox.electerious.com/) містить метод для програмного закриття модального вікна. ## Завдання 2 - бібліотека `SimpleLightbox` Зроби таку саму галерею як в першому завданні, але використовуючи бібліотеку [SimpleLightbox](https://simplelightbox.com/), яка візьме на себе обробку кліків по зображеннях, відкриття і закриття модального вікна, а також гортання зображень за допомогою клавіатури. https://user-images.githubusercontent.com/17479434/127714821-4b7527c8-01db-42d3-83f0-8c1578561982.mp4 Необхідно трохи змінити розмітку картки галереї, використовуй цей шаблон. ```html <a class="gallery__item" href="large-image.jpg"> <img class="gallery__image" src="small-image.jpg" alt="Image description" /> </a> ``` Виконуй це завдання у файлах `02-lightbox.html` і `02-lightbox.js`. Розбий його на декілька підзавдань: 1. Створення і рендер розмітки на підставі масиву даних `galleryItems` і наданого шаблону елемента галереї. Використовуй готовий код з першого завдання. 2. Підключення скрипту і стилів бібліотеки, використовуючи [CDN сервіс cdnjs](https://cdnjs.com/libraries/simplelightbox). Необхідно додати посилання на два файли: `simple-lightbox.min.js` і `simple-lightbox.min.css`. 3. Ініціалізація бібліотеки після створення і додання елементів галереї у `div.gallery`. Для цього ознайомся з документацією [SimpleLightbox](https://simplelightbox.com/) - насамперед секції «Usage» і «Markup». 4. Подивися в документації секцію «Options» і додай відображення підписів до зображень з атрибута `alt`. Нехай підпис буде знизу і з'являється через 250 мілісекунд після відкриття зображення.
Homework for the course JavaScript📒 ---Event delegation. Receiving throttle and debounce---
css3,debounce,goit,html5,javascript,throttle,goit-js-finalproject
2023-10-13T20:10:46Z
2023-10-13T23:09:32Z
null
1
0
1
0
0
3
null
null
CSS
ViktorSvertoka/goit-typescript-hw-01
main
# TypeScript - npm install -g typescript - tsc --init - tsc - tsc -w - npm init -y - npm i --save-dev @web/dev-server ` "scripts": { "start": "web-dev-server --node-resolve --open --watch" },` - npm start
Homework for the course TypeScript📘
goit,html5,javascript,typescript,goit-typescript-hw-01
2023-10-14T22:21:15Z
2023-10-15T00:39:06Z
null
1
0
5
0
0
3
null
null
TypeScript
josedjaykv/GoShare_django
Desarrollo
# GoShare - Tu Plataforma Preferida para Compartir Viajes **GoShare** es una innovadora aplicación web diseñada para permitir a los usuarios compartir sus vehículos fácilmente con otras personas. Ya sea que desees llevar a tus amigos o ayudar a un compañero que necesite transporte, **GoShare** es la herramienta perfecta. ## Características Clave - **Ve a la Universidad o Trabajo con Amigos**: Únete a viajes creados por usuarios que se vayan a tu sitio de trabajo o estudio. - **Gana Dinero Ayudando a los Demás**: Cobra por llevar a tus compañeros a sus sitios de trabajo o lugares de conveniencia. - **Crear Viajes**: Crea viajes visibles a los demás usuarios para que se unan a tu viaje. - **Calidad Garantizada**: Mira quiénes son los usuarios con mejor puntuación en la plataforma para que siempre tengas una excelente experiencia. - **Interfaz Intuitiva**: Una interfaz fácil de usar que permite una navegación sin complicaciones. ## Cómo Funciona 1. **Registro e Inicio de Sesión**: Regístrate con tu cuenta de correo electrónico y comienza sesión. Si ya tienes una cuenta, inicia sesión con tus credenciales. 2. **Crea un Vehículo en Tu Cuenta**: Desde tu panel de control, sube la información del vehículo con el cual vas a hacer viajes. 3. **Crea un Viaje**: Crea un viaje con toda la información necesaria para que otros usuarios se puedan unir a él. 4. **Únete a un Viaje**: Si ves un viaje que te interese y se acomode a lo que necesites, podrás unirte y recibir toda la información necesaria. ## Requisitos del Sistema - Python 3.x - Django 3.x - Una base de datos compatible (SQLite, MySQL, PostgreSQL) ## Instalación 1. Clona el repositorio o descarga el código fuente. 2. Instala las dependencias requeridas utilizando `pip`: ``` pip install -r requirements.txt ``` 3. Realiza las migraciones de la base de datos: ``` python manage.py makemigrations python manage.py migrate ``` 4. Inicia el servidor de desarrollo: ``` python manage.py runserver ``` 5. Accede a la aplicación en tu navegador web en `http://localhost:8000`.
Explore y comparta viajes sin problemas con esta plataforma de viajes compartidos basada en Django. Conéctese con otros usuarios, cree y únase a viajes, y disfrute de una experiencia de viaje colaborativa. Con tecnología de Django, ofrece autenticación de usuario, gestión de viajes, funcionalidad de búsqueda y más. ¡Únete al viaje!
django,html,javascript,python
2023-10-17T04:45:55Z
2024-04-30T14:41:13Z
null
4
5
80
0
0
3
null
null
HTML
viktor-ariel/Piano-Game
main
# 🎹 Piano Game 🎹 ## Piano Game 🚀 ## [CLIQUE AQUI](https://viktor-ariel.github.io/Piano-Game/) para jogar agora <img src="img/4.png" atl="imagem-do-jogo-detona-ralph"> ### ℹ️ Sobre o Jogo O jogo simula um piano ### 🛠️ Tecnologia Utilizada 🛠️ Algumas das tecnologias e linguagens que utilizamos incluem: - Javascript - CSS - HTML ### 📞 Contato 💚 Para entrar em contato ou relatar problemas, você pode me encontrar nas seguintes redes sociais ou me enviar um e-mail: - Email: viktorariel777@gmail.com - Linkedin: [Viktor Ariel](https://www.linkedin.com/in/viktor-ariel/) Divirta-se e boa sorte!
Piano Game
css,html,javascript
2023-10-24T01:02:38Z
2023-11-01T00:39:40Z
null
1
0
8
0
0
3
null
null
CSS
thouseef-hamza/Doodle-Frontend
main
# React + Vite This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. Currently, two official plugins are available: - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
A Product for Teachers,Institute and their student. Aim:- Transforming Tution Center into the world of digital
figma,javascript,material-ui,react-router,reactjs,react-toastify,react-context-api,cloudinary
2023-10-15T16:50:37Z
2024-01-08T08:01:38Z
null
1
1
42
0
0
3
null
null
JavaScript
sahilchavhan/assesment
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)
Created a phonebook type website using react, html, css and javascript. Test assessment.
css,html,javascript,react
2023-10-23T09:40:33Z
2023-10-23T09:53:36Z
null
2
0
2
0
2
3
null
null
JavaScript
megoth/rdfjs
main
# RDF + JS = &#10084; This is the Git repository for [rdfjs.dev](https://rdfjs.dev/), which is a website that aims to make it easier for developers to use RDF (aka Linked Data, aka Semantic Web) in combination with JavaScript or TypeScript. The website is not affiliated with the [RDF/JS Community Group](https://rdf.js.org/), although they've graciously allowed me to use their logo for this website. If you want me to add another library or otherwise improve upon the existing content, please let me know by [creating an issue](https://github.com/megoth/rdfjs/issues). This is a project I'm maintaining on my free time, so I cannot promise a quick reply, but I'll try to get back to you. This website is created using [Vite](https://vitejs.dev/), [React](https://react.dev/), [React Router](https://reactrouter.com/), [React Hook Form](https://react-hook-form.com/), and [useLocalStorage](https://github.com/nas5w/use-local-storage). The design is composed using [Bulma](https://bulma.io/), [React Icons](https://react-icons.github.io/react-icons/), and [Prism](https://prismjs.com/). It's written in [TypeScript](https://www.typescriptlang.org/), [TSX](https://react.dev/learn/typescript), [MDX](https://mdxjs.com/), and [CSS Modules](https://github.com/css-modules/css-modules). For authentication in the Solid demos I've made use of [@ldo/solid-react](https://github.com/o-development/ldobjects/tree/main/packages/solid-react). ## Using the website as template for your apps The project is licensed using the [MIT License](https://en.wikipedia.org/wiki/MIT_License), so there are few restrictions wrt reusing the code. If anything, I would like for this to be a good starting point for RDF frontend apps, so let me know if you have any feedback on that. To get everything up and running, clone the repo and install dependencies: ```bash npm install ``` Now you can start development by running `npm run dev`. If you want to build the site, run `npm run build`. You can preview the output by running `npm run preview`. I'm using [Vercel](https://vercel.com/) for continuous integration and I can recommend it for these kinds of projects.
A demo website that displays various ways of handling RDF data with JavaScript
javascript,rdf,react,typescript,vite,linked-data,semantic-web
2023-10-12T13:40:28Z
2024-04-09T10:39:07Z
null
3
3
366
7
2
3
null
MIT
MDX
stdlib-js/array-base-broadcasted-ternary2d
main
<!-- @license Apache-2.0 Copyright (c) 2023 The Stdlib Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <details> <summary> About stdlib... </summary> <p>We believe in a future in which the web is a preferred environment for numerical computation. To help realize this future, we've built stdlib. stdlib is a standard library, with an emphasis on numerical and scientific computation, written in JavaScript (and C) for execution in browsers and in Node.js.</p> <p>The library is fully decomposable, being architected in such a way that you can swap out and mix and match APIs and functionality to cater to your exact preferences and use cases.</p> <p>When you use stdlib, you can be absolutely certain that you are using the most thorough, rigorous, well-written, studied, documented, tested, measured, and high-quality code out there.</p> <p>To join us in bringing numerical computing to the web, get started by checking us out on <a href="https://github.com/stdlib-js/stdlib">GitHub</a>, and please consider <a href="https://opencollective.com/stdlib">financially supporting stdlib</a>. We greatly appreciate your continued support!</p> </details> # bternary2d [![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] --> > Apply a ternary callback to elements in three [broadcasted][@stdlib/array/base/broadcast-array] nested input arrays and assign results to elements in a two-dimensional nested output array. <section class="intro"> </section> <!-- /.intro --> <section class="installation"> ## Installation ```bash npm install @stdlib/array-base-broadcasted-ternary2d ``` Alternatively, - To load the package in a website via a `script` tag without installation and bundlers, use the [ES Module][es-module] available on the [`esm`][esm-url] branch (see [README][esm-readme]). - If you are using Deno, visit the [`deno`][deno-url] branch (see [README][deno-readme] for usage intructions). - For use in Observable, or in browser/node environments, use the [Universal Module Definition (UMD)][umd] build available on the [`umd`][umd-url] branch (see [README][umd-readme]). The [branches.md][branches-url] file summarizes the available branches and displays a diagram illustrating their relationships. To view installation and usage instructions specific to each branch build, be sure to explicitly navigate to the respective README files on each branch, as linked to above. </section> <section class="usage"> ## Usage ```javascript var bternary2d = require( '@stdlib/array-base-broadcasted-ternary2d' ); ``` #### bternary2d( arrays, shapes, fcn ) Applies a ternary callback to elements in three [broadcasted][@stdlib/array/base/broadcast-array] nested input arrays and assigns results to elements in a two-dimensional nested output array. ```javascript var add = require( '@stdlib/math-base-ops-add3' ); var zeros2d = require( '@stdlib/array-base-zeros2d' ); var x = [ [ 1.0, 2.0 ] ]; var y = [ [ 3.0 ], [ 4.0 ] ]; var z = [ [ 5.0 ] ]; var out = zeros2d( [ 2, 2 ] ); var shapes = [ [ 1, 2 ], [ 2, 1 ], [ 1, 1 ], [ 2, 2 ] ]; bternary2d( [ x, y, z, out ], shapes, add ); // out => [ [ 9.0, 10.0 ], [ 10.0, 11.0 ] ] ``` The function accepts the following arguments: - **arrays**: array-like object containing three input nested arrays and one output nested array. - **shapes**: array shapes. - **fcn**: ternary function to apply. </section> <!-- /.usage --> <section class="notes"> ## Notes - The input and output array shapes must be broadcast [compatible][@stdlib/ndarray/base/broadcast-shapes]. </section> <!-- /.notes --> <section class="examples"> ## Examples <!-- eslint no-undef: "error" --> ```javascript var discreteUniform = require( '@stdlib/random-base-discrete-uniform' ).factory; var filled2dBy = require( '@stdlib/array-base-filled2d-by' ); var zeros2d = require( '@stdlib/array-base-zeros2d' ); var add = require( '@stdlib/math-base-ops-add3' ); var bternary2d = require( '@stdlib/array-base-broadcasted-ternary2d' ); var shapes = [ [ 1, 3 ], [ 3, 1 ], [ 1, 1 ], [ 3, 3 ] ]; var x = filled2dBy( shapes[ 0 ], discreteUniform( -100, 100 ) ); console.log( x ); var y = filled2dBy( shapes[ 1 ], discreteUniform( -100, 100 ) ); console.log( y ); var z = filled2dBy( shapes[ 2 ], discreteUniform( -100, 100 ) ); console.log( z ); var out = zeros2d( shapes[ 3 ] ); console.log( out ); bternary2d( [ x, y, z, out ], shapes, add ); console.log( out ); ``` </section> <!-- /.examples --> <!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. --> <section class="related"> </section> <!-- /.related --> <!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. --> <section class="main-repo" > * * * ## Notice This package is part of [stdlib][stdlib], a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more. For more information on the project, filing bug reports and feature requests, and guidance on how to develop [stdlib][stdlib], see the main project [repository][stdlib]. #### Community [![Chat][chat-image]][chat-url] --- ## License See [LICENSE][stdlib-license]. ## Copyright Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors]. </section> <!-- /.stdlib --> <!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. --> <section class="links"> [npm-image]: http://img.shields.io/npm/v/@stdlib/array-base-broadcasted-ternary2d.svg [npm-url]: https://npmjs.org/package/@stdlib/array-base-broadcasted-ternary2d [test-image]: https://github.com/stdlib-js/array-base-broadcasted-ternary2d/actions/workflows/test.yml/badge.svg?branch=main [test-url]: https://github.com/stdlib-js/array-base-broadcasted-ternary2d/actions/workflows/test.yml?query=branch:main [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/array-base-broadcasted-ternary2d/main.svg [coverage-url]: https://codecov.io/github/stdlib-js/array-base-broadcasted-ternary2d?branch=main <!-- [dependencies-image]: https://img.shields.io/david/stdlib-js/array-base-broadcasted-ternary2d.svg [dependencies-url]: https://david-dm.org/stdlib-js/array-base-broadcasted-ternary2d/main --> [chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg [chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im [stdlib]: https://github.com/stdlib-js/stdlib [stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors [umd]: https://github.com/umdjs/umd [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules [deno-url]: https://github.com/stdlib-js/array-base-broadcasted-ternary2d/tree/deno [deno-readme]: https://github.com/stdlib-js/array-base-broadcasted-ternary2d/blob/deno/README.md [umd-url]: https://github.com/stdlib-js/array-base-broadcasted-ternary2d/tree/umd [umd-readme]: https://github.com/stdlib-js/array-base-broadcasted-ternary2d/blob/umd/README.md [esm-url]: https://github.com/stdlib-js/array-base-broadcasted-ternary2d/tree/esm [esm-readme]: https://github.com/stdlib-js/array-base-broadcasted-ternary2d/blob/esm/README.md [branches-url]: https://github.com/stdlib-js/array-base-broadcasted-ternary2d/blob/main/branches.md [stdlib-license]: https://raw.githubusercontent.com/stdlib-js/array-base-broadcasted-ternary2d/main/LICENSE [@stdlib/array/base/broadcast-array]: https://github.com/stdlib-js/array-base-broadcast-array [@stdlib/ndarray/base/broadcast-shapes]: https://github.com/stdlib-js/ndarray-base-broadcast-shapes </section> <!-- /.links -->
Apply a ternary callback to elements in three broadcasted input arrays and assign results to elements in a two-dimensional nested output array.
2d,apply,array,base,broadcast,foreach,javascript,map,matrix,multidimensional
2023-10-31T01:19:51Z
2024-04-12T00:58:17Z
null
5
0
15
0
0
3
null
Apache-2.0
Makefile
mnpsnuwan/react-http-request
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)
Reaching out to the Web (Http Ajax)
http-request,reactjs,router,router-dom,javascript
2023-10-18T18:36:00Z
2023-11-16T00:04:07Z
null
1
0
30
0
0
3
null
null
JavaScript
Adam014/Econiqq
main
# Econiqq Ecnoniqq is your personal passport to the planet's price tags. It's not just a web app; it's a whisperer for your wallet. Real-time data, tailor-made recommendations, and a community of kindred travelers make Econiqq your go-to guide for worldly adventures without the financial fuss. ## Badges [![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/) ## Getting Started First, run the development server: ```bash npm run dev # or yarn dev # or pnpm dev # or bun dev ``` Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. You can start editing the page by modifying `app/page.js`. The page auto-updates as you edit the file. ## Run Locally Clone the project ```bash git clone https://github.com/Adam014/Econiqq.git ``` Go to the project directory ```bash cd Econiqq ``` Install dependencies ```bash npm install ``` Start the server ```bash npm run dev ``` ## Color Reference | Color | Hex | | ----------------- | ------------------------------------------------------------------ | | Background_color | ![#00000](https://via.placeholder.com/10/0000?text=+) #000000 | | Button_color | ![#F13E51](https://via.placeholder.com/10/F13E51?text=+) #F13E51 | | Hover_color | ![#E08C9C](https://via.placeholder.com/10/E08C9C?text=+) #E08C9C | ## Environment Variables To run this project, you will need to add the following environment variables to your .env file NEXT_PUBLIC_RAPIDAPID_KEY = your_RAPIDAPI_key NEXT_PUBLIC_SUPABASE_ANON_KEY = your_SUPABASE_key NEXT_PUBLIC_SUPABASE_APP_URL = your_SUPABASE_url ## API Reference #### Get the Cost to Live of the capital city ```http GET /map/${country}/${capital} ``` ## Summary The `fetchData` function is responsible for fetching data from the Supabase database. It first checks if the data exists in Supabase by querying the `CountryAndCapitalCollection` table. If the data is found, it is returned. If the data is not found, the function calls the `fetchCostOfLiving` function to fetch the data from an external API. The fetched data is then saved to Supabase and returned. ## Example Usage ```javascript const data = await fetchData('USA', 'Washington'); console.log(data); // Output: The fetched data from Supabase or the external API ``` ## Code Analysis ### Inputs - `decodedCountry` (string): The decoded country name. - `decodedCapital` (string): The decoded capital name. ___ ### Flow 1. The function queries the `CountryAndCapitalCollection` table in Supabase to check if the data exists for the given country and capital. 2. If the data is found, it is returned. 3. If the data is not found, the function calls the `fetchCostOfLiving` function to fetch the data from an external API. 4. The fetched data is then saved to Supabase using the `upsert` method. 5. If the data is successfully saved, it is returned. 6. If any errors occur during the process, appropriate error messages are thrown. ___ ### Outputs - The fetched data from Supabase or the external API. ___ It also works, when u type: #### Get the Cost to Live of the city you enter ```http GET /map/${country}/${another_city_you_can_think_of} ``` ## Authors - [@kindast](https://www.github.com/kindast) - Fullstack Developer ## Tech Stack **Client:** Next.js (both Typescript and Javascript for the map), TailwindCSS, Jest **Database:** Supabase ## 🔗 Links [![linkedin](https://img.shields.io/badge/linkedin-0A66C2?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/adam-stádník-271280218/) [![twitter](https://img.shields.io/badge/twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white)](https://twitter.com/kindastcs) ## Contributing Contributions are always welcome! ## Support For support, email adam.stadnik@seznam.cz or contact me via the web! ## Feedback If you have any feedback, please reach out to me at adam.stadnik@seznam.cz
Econiqq is your personal passport to the planet's price tags.
nextjs,tailwindcss,react,typescript,supabase,javascript,jest
2023-11-01T21:07:54Z
2024-05-16T19:06:51Z
null
1
4
286
0
0
3
null
null
TypeScript
Ryuji-Ly/Asir
main
null
Asir 3.0, a discord.js v14 bot with moderation, economy, leveling, logs, minigames etc. This is still in development.
discord-js-v14,discordbot,javascript
2023-10-26T17:39:20Z
2024-05-11T17:37:24Z
null
1
3
78
0
2
3
null
null
JavaScript
RomySaputraSihananda/alquranapi
master
[![Twitter: romy](https://img.shields.io/twitter/follow/RomySihananda)](https://twitter.com/RomySihananda) # Al-Quran Services Rest API Al-Quran Services Rest API with Sping Boot v3.2.0-SNAPSHOT </br> uses Elasticsearch as Storage Database and Swagger UI for Endpoint API documentation. </br> Static File version is available [here](https://github.com/RomySaputraSihananda/alquranapi/tree/v1.0.0), </br> Spring Data JPA version is available [here](https://github.com/RomySaputraSihananda/alquranapi/tree/v1.0.1) # Dependency - org.springdoc:springdoc-openapi-starter-webmvc-ui:**2.2.0** - co.elastic.clients:elasticsearch-java:**8.10.4** - com.fasterxml.jackson.core:jackson-databind:**2.15.2** - org.projectlombok:lombok:**1.18.30** # EndPoints The following is a list of available Request URIs: - **GET** API for get all surat. - http://127.0.0.1:4444/api/v1/alquran - **GET** API for get detail surat. - http://127.0.0.1:4444/api/v1/alquran/{nomorSurat} - **GET** API for get tafsir surat. - http://127.0.0.1:4444/api/v1/alquran/tafsir/{nomorSurat} - **GET** API for search by name surat. - http://127.0.0.1:4444/api/v1/alquran/search/nama/{namaSurat} - **GET** API for search by tempat turun surat. - http://127.0.0.1:4444/api/v1/alquran/search/tempatTurun/{tempatTurun} ## Licence All source code is licensed under the GNU General Public License v3. Please [see](https://www.gnu.org/licenses) the original document for more details.
Simple API endpoints that contain data about letters in the Al-Quran
alquran,elasticsearch,javascript,maven,mysql,rest-api,spring-boot
2023-10-28T13:09:26Z
2023-11-21T16:19:32Z
2023-11-02T09:03:02Z
1
0
52
0
1
3
null
MIT
Java
ravin-d-27/Timer_Website
main
# Timer Website This website is designed to perform timer functionality for the sessions conducted by Toastmaster Clubs. ## Features - It Has 3 sections to perform different timer functionalities - User Login and Signup functionalities. - Start and Stop timer functionality. - Display of elapsed time. - Alert notifications when certain time thresholds are reached. - Storing the elapsed time data for each user and displaying the same. - User can clear their data and they can add new timer values to it. ## Installation 1. Clone the repository: `git clone https://github.com/yourusername/timer_website.git` 2. Navigate into the project directory: `cd timer_website` ## Running this system in your local system <ol> <li> Fork this repository and move inside it <pre><code>git clone https://github.com/ravin-d-27/Timer_Website && Timerweb</code></pre> </li> <li> Next, use this command for migrating changes to the models <pre><code>python manage.py migrate</code></pre> </li> <li> Running the Website on your Local Host To run the website on your local host, use the following command: <pre><code>python manage.py runserver</code></pre> </li> <li> Last Step <p>Click on the url produced and it opens in your default browser</p> </li> </ol> ## Contributing to the Timer Website Project This project is open for contributions from all Toastmasters club members. Here's how you can contribute: 1. Fork the repository to your own GitHub account. 2. Clone the forked repository to your local machine. 3. Make your changes and commit them to your forked repository. 4. Submit a pull request with your changes to this repository. I appreciate contributions of all sizes, from fixing typos in the documentation to adding new features. Before starting work on a large change, please open an issue to discuss it. Remember, contributing to open source projects like this one is not only about coding. You can help by reporting issues, reviewing pull requests, updating documentation, or suggesting new features. Thank you for your interest in contributing to the Timer Website project! ## License [MIT](https://choosealicense.com/licenses/mit/) ## Donations I'm proud to announce that this project will be donated to Wakeup Chennai Toastmasters Club soon. Will update here the status of it!
This website is for performing the timer functionality for Toastmaster club sessions.
css,csv,django,html,javascript
2023-11-06T08:31:43Z
2024-01-23T06:10:42Z
2023-11-30T06:19:46Z
2
10
83
0
2
3
null
MIT
JavaScript
jaydippatel83/solidity-hacktoberfest-2023
main
# Solidity-hacktoberfest-2023 Welcome to the Solidity Hacktoberfest 2023 project! This open-source project is designed to assist blockchain developers by providing a centralized repository for well-designed and useful Solidity smart contracts. By contributing to this project, you can help save time for developers working on blockchain projects by offering ready-made, secure, and efficient smart contracts. # Project Mission We want to create a collection of Solidity smart contracts that tackle common problems, are easy to understand, and follow best practices in blockchain development. Our mission is to help blockchain developers save time by giving them easy access to these smart contracts. ## Technology Stack * Solidity: Our primary language for writing secure and powerful smart contracts. [Solidity docs](https://docs.soliditylang.org/en/v0.8.21/) * Hardhat: The tool of choice for Ethereum development, helping us with testing, deploying, and managing our contracts. [Hardhat docs](https://hardhat.org/hardhat-runner/docs/getting-started) * JavaScript: Used for scripting, testing, and building utilities to support our Solidity contracts. ## :memo: How to contribute? * Take a look at the [Contributing.md](https://github.com/jaydippatel83/solidity-hacktoberfest-2023/blob/main/Contributing.md) * Go through the repository completely! * Take a look at the Existing Issues or create your own Issues! * Wait for the Issue to be assigned to you after which you can start working on it. * Fork the Repo and create a Branch for any Issue that you are working upon. * Create a Pull Request which will be promptly reviewed and suggestions would be added to improve it. ## Project Maintainers 👷👷 <table> <tr> <td align="center"><a href="https://github.com/jaydippatel83"><img src="https://avatars.githubusercontent.com/u/45895007?v=4" width=120px height=120px /></a></br> <h4 style="color:red;">Jaydip Patel</h4> <a href="https://www.linkedin.com/in/jaydippatel83"><img src="https://mpng.subpng.com/20180324/vhe/kisspng-linkedin-computer-icons-logo-social-networking-ser-facebook-5ab6ebfe5f5397.2333748215219374063905.jpg" width="35px" height="35px"></a></td> <td align="center"><a href="https://github.com/jaydippatel83"><img src="https://avatars.githubusercontent.com/u/54347081?v=4" width=120px height=120px /></a></br> <h4 style="color:red;">Mansi Joshi</h4> <a href="https://www.linkedin.com/in/mansi-joshi-657521187"><img src="https://mpng.subpng.com/20180324/vhe/kisspng-linkedin-computer-icons-logo-social-networking-ser-facebook-5ab6ebfe5f5397.2333748215219374063905.jpg" width="35px" height="35px"></a></td> </tr> </table> <br> Happy Hacking! 🎉🚀
This repository is about Solidity smart contract examples.
hacktoberfest-accepted,hacktoberfest2023,hardhat,javascript,solidity,truffle,open-source
2023-10-17T04:58:10Z
2023-10-23T05:01:25Z
null
3
2
18
6
1
3
null
null
JavaScript
md-rejoyan-islam/api-with-typescript-prisma-and-postgresql
main
# API create using TypeScript & Prisma ## Use NPM Packages - Express - TypeScript - Ts-node - Prisma - Cors - Dotenv - Cookie-parser - Express-async-handler - Express-validator - jsonwebtoken - Bcryptjs - morgan -D - nodemon -D ## Routes #### Post - GET : /posts - POST : /posts - GET : /posts/userId=id - GET : /posts/:id - PUT : /posts/:id - DELETE : /posts/:id - POST : /posts/bulk - DELETE : /posts/bulk - GET : /posts/:id/user - GET : /posts/:id/comments #### User - GET : /users - POST : /users - GET : /users/:id - PUT : /users/:id - DELETE : /users/:id - POST : /users/bulk - DELETE : /users/bulk ##### Comments - GET : /comments - POST : /comments - GET : /comments/:id - PUT : /comments/:id - DELETE : /comments/:id - POST : /comments/bulk - DELETE : /comments/bulk #### Postman testing URL <a href="https://documenter.getpostman.com/view/22735243/2s9YRGxUTz">Live test with postman </a> #### Live Preview Link <a href="https://api-with-typescript-and-prisma.onrender.com/">Live Preview </a>
API create using TypeScript & Prisma . For database use Postgresql.
express,javascript,postgresql
2023-10-28T17:51:57Z
2023-12-02T19:59:34Z
null
1
1
40
0
1
3
null
null
TypeScript
seanpm2001/EMAIL_2_AutomationTools
EMAIL_2_AutomationTools_Main-dev
*** # <projectName> ![{Project icon} This image failed to load. It may be due to the file not being reached, or a general error. Reload the page to fix a possible general error.](Image.svg) # By: <!-- ![{Developer name} This image failed to load. It may be due to the file not being reached, or a general error. Reload the page to fix a possible general error.](Image2.svg) !--> ## [Seanpm2001](https://github.com/seanpm2001/), [<developerName>](https://github.com/<developerName>/) Et; Al. ### Top # `README.md` *** ## Read this article in a different language **Sorted by:** `A-Z` [Sorting options unavailable](https://github.com/<developerName>/<repoName>) ( [af Afrikaans](/.github/README_AF.md) Afrikaans | [sq Shqiptare](/.github/README_SQ.md) Albanian | [am አማርኛ](/.github/README_AM.md) Amharic | [ar عربى](/.github/README_AR.md) Arabic | [hy հայերեն](/.github/README_HY.md) Armenian | [az Azərbaycan dili](/.github/README_AZ.md) Azerbaijani | [eu Euskara](/.github/README_EU.md) Basque | [be Беларуская](/.github/README_BE.md) Belarusian | [bn বাংলা](/.github/README_BN.md) Bengali | [bs Bosanski](/.github/README_BS.md) Bosnian | [bg български](/.github/README_BG.md) Bulgarian | [ca Català](/.github/README_CA.md) Catalan | [ceb Sugbuanon](/.github/README_CEB.md) Cebuano | [ny Chichewa](/.github/README_NY.md) Chichewa | [zh-CN 简体中文](/.github/README_ZH-CN.md) Chinese (Simplified) | [zh-t 中國傳統的)](/.github/README_ZH-T.md) Chinese (Traditional) | [co Corsu](/.github/README_CO.md) Corsican | [hr Hrvatski](/.github/README_HR.md) Croatian | [cs čeština](/.github/README_CS.md) Czech | [da dansk](README_DA.md) Danish | [nl Nederlands](/.github/README_NL.md) Dutch | [**en-us English**](/.github/README.md) English | [EO Esperanto](/.github/README_EO.md) Esperanto | [et Eestlane](/.github/README_ET.md) Estonian | [tl Pilipino](/.github/README_TL.md) Filipino | [fi Suomalainen](/.github/README_FI.md) Finnish | [fr français](/.github/README_FR.md) French | [fy Frysk](/.github/README_FY.md) Frisian | [gl Galego](/.github/README_GL.md) Galician | [ka ქართველი](/.github/README_KA) Georgian | [de Deutsch](/.github/README_DE.md) German | [el Ελληνικά](/.github/README_EL.md) Greek | [gu ગુજરાતી](/.github/README_GU.md) Gujarati | [ht Kreyòl ayisyen](/.github/README_HT.md) Haitian Creole | [ha Hausa](/.github/README_HA.md) Hausa | [haw Ōlelo Hawaiʻi](/.github/README_HAW.md) Hawaiian | [he עִברִית](/.github/README_HE.md) Hebrew | [hi हिन्दी](/.github/README_HI.md) Hindi | [hmn Hmong](/.github/README_HMN.md) Hmong | [hu Magyar](/.github/README_HU.md) Hungarian | [is Íslenska](/.github/README_IS.md) Icelandic | [ig Igbo](/.github/README_IG.md) Igbo | [id bahasa Indonesia](/.github/README_ID.md) Icelandic | [ga Gaeilge](/.github/README_GA.md) Irish | [it Italiana/Italiano](/.github/README_IT.md) | [ja 日本語](/.github/README_JA.md) Japanese | [jw Wong jawa](/.github/README_JW.md) Javanese | [kn ಕನ್ನಡ](/.github/README_KN.md) Kannada | [kk Қазақ](/.github/README_KK.md) Kazakh | [km ខ្មែរ](/.github/README_KM.md) Khmer | [rw Kinyarwanda](/.github/README_RW.md) Kinyarwanda | [ko-south 韓國語](/.github/README_KO_SOUTH.md) Korean (South) | [ko-north 문화어](README_KO_NORTH.md) Korean (North) (NOT YET TRANSLATED) | [ku Kurdî](/.github/README_KU.md) Kurdish (Kurmanji) | [ky Кыргызча](/.github/README_KY.md) Kyrgyz | [lo ລາວ](/.github/README_LO.md) Lao | [la Latine](/.github/README_LA.md) Latin | [lt Lietuvis](/.github/README_LT.md) Lithuanian | [lb Lëtzebuergesch](/.github/README_LB.md) Luxembourgish | [mk Македонски](/.github/README_MK.md) Macedonian | [mg Malagasy](/.github/README_MG.md) Malagasy | [ms Bahasa Melayu](/.github/README_MS.md) Malay | [ml മലയാളം](/.github/README_ML.md) Malayalam | [mt Malti](/.github/README_MT.md) Maltese | [mi Maori](/.github/README_MI.md) Maori | [mr मराठी](/.github/README_MR.md) Marathi | [mn Монгол](/.github/README_MN.md) Mongolian | [my မြန်မာ](/.github/README_MY.md) Myanmar (Burmese) | [ne नेपाली](/.github/README_NE.md) Nepali | [no norsk](/.github/README_NO.md) Norwegian | [or ଓଡିଆ (ଓଡିଆ)](/.github/README_OR.md) Odia (Oriya) | [ps پښتو](/.github/README_PS.md) Pashto | [fa فارسی](/.github/README_FA.md) |Persian [pl polski](/.github/README_PL.md) Polish | [pt português](/.github/README_PT.md) Portuguese | [pa ਪੰਜਾਬੀ](/.github/README_PA.md) Punjabi | No languages available that start with the letter Q | [ro Română](/.github/README_RO.md) Romanian | [ru русский](/.github/README_RU.md) Russian | [sm Faasamoa](/.github/README_SM.md) Samoan | [gd Gàidhlig na h-Alba](/.github/README_GD.md) Scots Gaelic | [sr Српски](/.github/README_SR.md) Serbian | [st Sesotho](/.github/README_ST.md) Sesotho | [sn Shona](/.github/README_SN.md) Shona | [sd سنڌي](/.github/README_SD.md) Sindhi | [si සිංහල](/.github/README_SI.md) Sinhala | [sk Slovák](/.github/README_SK.md) Slovak | [sl Slovenščina](/.github/README_SL.md) Slovenian | [so Soomaali](/.github/README_SO.md) Somali | [[es en español](/.github/README_ES.md) Spanish | [su Sundanis](/.github/README_SU.md) Sundanese | [sw Kiswahili](/.github/README_SW.md) Swahili | [sv Svenska](/.github/README_SV.md) Swedish | [tg Тоҷикӣ](/.github/README_TG.md) Tajik | [ta தமிழ்](/.github/README_TA.md) Tamil | [tt Татар](/.github/README_TT.md) Tatar | [te తెలుగు](/.github/README_TE.md) Telugu | [th ไทย](/.github/README_TH.md) Thai | [tr Türk](/.github/README_TR.md) Turkish | [tk Türkmenler](/.github/README_TK.md) Turkmen | [uk Український](/.github/README_UK.md) Ukrainian | [ur اردو](/.github/README_UR.md) Urdu | [ug ئۇيغۇر](/.github/README_UG.md) Uyghur | [uz O'zbek](/.github/README_UZ.md) Uzbek | [vi Tiếng Việt](/.github/README_VI.md) Vietnamese | [cy Cymraeg](/.github/README_CY.md) Welsh | [xh isiXhosa](/.github/README_XH.md) Xhosa | [yi יידיש](/.github/README_YI.md) Yiddish | [yo Yoruba](/.github/README_YO.md) Yoruba | [zu Zulu](/.github/README_ZU.md) Zulu ) Available in 110 languages (108 when not counting English and North Korean, as North Korean has not been translated yet [Read about it here](/OldVersions/Korean(North)/README.md)) Translations in languages other than English are machine translated and are not yet accurate. No errors have been fixed yet as of March 21st 2021. Please report translation errors [here](https://github.com/<developerName>/<repoName>/issues/). Make sure to backup your correction with sources and guide me, as I don't know languages other than English well (I plan on getting a translator eventually) please cite [wiktionary](https://en.wiktionary.org) and other sources in your report. Failing to do so will result in a rejection of the correction being published. Note: due to limitations with GitHub's interpretation of markdown (and pretty much every other web-based interpretation of markdown) clicking these links will redirect you to a separate file on a separate page that isn't the intended page. You will be redirected to the [.github folder](/.github/) of this project, where the README translations are hosted. Translations are currently done with Bing translate and DeepL. Support for Google Translate translations is coming to a close due to privacy concerns. *** # Index [00.0 - Top](#Top) > [00.1 - Title](#<projectName>) > [00.2 - Read this article in a different language](#Read-this-article-in-a-different-language) > [00.3 - Index](#Index) [01.0 - Description](#RepositoryName) [02.0 - About](#About) [03.0 - Wiki](#Wiki) [04.0 - History](#History) > [04.1 - Pre-history](#Pre-history) > [04.2 - Alpha History](#Alpha-history) > [04.3 - Beta History](#Beta-history) > [04.4 - Modern History](#Modern-history) [05.0 - Copying](#Copying) [06.0 - Credits](#Credits) [07.0 - Installation](#Installation) [08.0 - Version history](#Version-history) [09.0 - Version history](#Version-history) [10.0 - Software status](#Software-status) [11.0 - Sponsor info](#Sponsor-info) [12.0 - Contributers](#Contributers) [13.0 - Issues](#Issues) > [13.1 - Current issues](#Current-issues) > [13.2 - Past issues](#Past-issues) > [13.3 - Past pull requests](#Past-pull-requests) > [13.4 - Active pull requests](#Active-pull-requests) [14.0 - Resources](#Resources) [15.0 - Contributing](#Contributing) [16.0 - About README](#About-README) [17.0 - README Version history](#README-version-history) [18.0 - Footer](#You-have-reached-the-end-of-the-README-file) > [18.9 - End of file](#EOF) *** # <repoName> <repo_description> *** ## About See above. <extendedRepoDescription> *** ## Wiki [Click/tap here to view this projects Wiki](https://github.com/<developerName>/<repoName>/wiki) If the project has been forked, the Wiki was likely removed. Luckily, I include an embedded version. You can view it [here](/External/ProjectWiki/). *** ## History Write about this projects history here. ### Pre-history No pre-history to show for this project. ### Alpha history No Alpha history to show for this project. ### Beta history No Beta history to show for this project. ### Modern history No Modern history to show for this project. *** ## Copying View the copying license for this project [here](/COPYING) (if you haven't built the project yet with the makefile, here is the original link: [COPYINGL](/COPYINGL) Please note that you also have to follow the rules of the GNU General Public License v3 (GPL3) which you can view [here](/LICENSE.txt) *** ## Credits View the credits file for this project and see the people who got together to make this project by [clicking/tapping here](/CREDITS) *** ## Installation View the installation instructions file for this project [here](/INSTALL) Requirements: Read the instructions for more info, and get the latest up-to-date instructions [here](https://gist.github.com/seanpm2001/745564a46186888e829fdeb9cda584de) *** ## Sponsor info ![SponsorButton.png](/SponsorButton.png) You can sponsor this project if you like, but please specify what you want to donate to. [See the funds you can donate to here](https://github.com/seanpm2001/Sponsor-info/tree/main/For-sponsors/) You can view other sponsor info [here](https://github.com/seanpm2001/Sponsor-info/) Try it out! The sponsor button is right up next to the watch/unwatch button. *** ## Version history **Version history currently unavailable** **No other versions listed** *** ## Software status All of my works are free some restrictions. DRM (**D**igital **R**estrictions **M**anagement) is not present in any of my works. ![DRM-free_label.en.svg](/DRM-free_label.en.svg) This sticker is supported by the Free Software Foundation. I never intend to include DRM in my works. I am using the abbreviation "Digital Restrictions Management" instead of the more known "Digital Rights Management" as the common way of addressing it is false, there are no rights with DRM. The spelling "Digital Restrictions Management" is more accurate, and is supported by [Richard M. Stallman (RMS)](https://en.wikipedia.org/wiki/Richard_Stallman) and the [Free Software Foundation (FSF)](https://en.wikipedia.org/wiki/Free_Software_Foundation) This section is used to raise awareness for the problems with DRM, and also to protest it. DRM is defective by design and is a major threat to all computer users and software freedom. Image credit: [defectivebydesign.org/drm-free/...](https://www.defectivebydesign.org/drm-free/how-to-use-label/) *** ## Contributers Currently, I am the only contributer. Contributing is allowed, as long as you follow the rules of the [CONTRIBUTING.md](/CONTRIBUTING.md) file. > * 1. [seanpm2001](https://github.com/seanpm2001/) - x commits (As of Yr, DoW, Month, DoM, at ##:## a/pm) > * 2. No other contributers. *** ## Issues ### Current issues * None at the moment * No other current issues If the repository has been forked, issues likely have been removed. Luckily I keep an archive of certain images [here](/.github/Issues/) [Read the privacy policy on issue archival here](/.github/Issues/README.md) **TL;DR** I archive my own issues. Your issue won't be archived unless you request it to be archived. ### Past issues * None at the moment * No other past issues If the repository has been forked, issues likely have been removed. Luckily I keep an archive of certain images [here](/.github/Issues/) [Read the privacy policy on issue archival here](/.github/Issues/README.md) **TL;DR** I archive my own issues. Your issue won't be archived unless you request it to be archived. ### Past pull requests * None at the moment * No other past pull requests If the repository has been forked, issues likely have been removed. Luckily I keep an archive of certain images [here](/.github/Issues/) [Read the privacy policy on issue archival here](/.github/Issues/README.md) **TL;DR** I archive my own issues. Your issue won't be archived unless you request it to be archived. ### Active pull requests * None at the moment * No other active pull requests If the repository has been forked, issues likely have been removed. Luckily I keep an archive of certain images [here](/.github/Issues/) [Read the privacy policy on issue archival here](/.github/Issues/README.md) **TL;DR** I archive my own issues. Your issue won't be archived unless you request it to be archived. *** ## Resources Here are some other resources for this project: [Project language file A](PROJECT_LANG_1.<fileExtensionForProgrammingLanguage>) [Join the discussion on GitHub](https://github.com/<developerName>/<repoName>/discussions) No other resources at the moment. *** ## Contributing Contributing is allowed for this project, as long as you follow the rules of the `CONTRIBUTING.md` file. [Click/tap here to view the contributing rules for this project](/CONTRIBUTING.md) *** ## About README **File type:** `Markdown Document (*.md *.mkd *.markdown)` **File version:** `0.1.6 (Monday, August 23rd 2021 at 6:37 pm)` **Line count (including blank lines and compiler line):** `0,407` *** ## README version history Version 0.1 (Sunday, March 21st 2021 at 7:50 pm) > Changes: > * Started the file > * Added the title section > * Added the index > * Added the about section > * Added the Wiki section > * Added the version history section > * Added the issues section. > * Added the past issues section > * Added the past pull requests section > * Added the active pull requests section > * Added the contributors section > * Added the contributing section > * Added the about README section > * Added the README version history section > * Added the resources section > * Added a software status section, with a DRM free sticker and message > * Added the sponsor info section **ITERATION 5** > * Updated the title section > * Updated the index > * Added the history section > * Updated the file info section > * Updated the file history section **ITERATION 6** > * Updated the title section > * Fixed and update template links > * Updated the index > * Added the copying section > * Added the credits section > * Added the installation section > * Updated the resources section > * Updated the contributors section > * Added the technical notes section > * Updated the footer > * Updated the file info section > * Updated the file history section > * No other changes in version 0.1 Version 1 (Coming soon) > Changes: > * Coming soon > * No other changes in version 1 Version 2 (Coming soon) > Changes: > * Coming soon > * No other changes in version 2 *** ### You have reached the end of the README file ( [Back to top](#Top) | [Exit to GitHub](https://github.com) | [Exit to Bing](https://www.bing.com/) | [Exit to DuckDuckGo](https://duckduckgo.com/) | [Exit to Ecosia](https://www.ecosia.org) ) ### EOF ***
📧️2️⃣️🛠️💾️ The official source repository for the EMAIL 2.0 Automation Tools specification, for helping to automate email sending and receiving. Not intended to be used for spam/phishing bots. This usage is highly discouraged, but can't be entirely avoided.
automation,automationtools,email,email-2,email-automation,email-revolution,email-update,email-upgrade,email2,gpl3
2023-11-06T03:31:22Z
2023-11-07T01:40:53Z
null
1
0
18
0
1
3
null
GPL-3.0
JavaScript
164adityakumar/Codex
master
<img src="https://github.com/164adityakumar/Codex/assets/98655260/e86c5fe6-494b-4769-abd1-0e701850e390" alt="my banner" style="width:100%;"> ## Codex is a user-friendly course selling and management web app, both users and tutors/admin facing. It's packed with features for easy use and management. It's flexible, scalable, and ready to meet your needs. ## Tech stack Server: Node.js, Express.js Client: React, Recoil, Material UI, Vite Databases: MongoDB, Firebase (Video Storage) ## Setup Locally #### Clone the project ```bash git clone https://github.com/164adityakumar/Codex ``` #### Go to the project directory ```bash cd Codex ``` #### Install dependencies ```bash npm install ``` ### Server #### Go to the server directory ```bash cd server node index.js ``` ### Client #### Go to the Client directory ```bash cd client npm run dev ``` ## Future ideas & Current Implementations ### Admin - [x] Course Creation: Easily add new courses to the platform. - [x] Tagging System: Assign relevant multiple tags to each course for better organization and searchability. - [x] Content Upload: Effortlessly add course content such as documents and multimedia. - [x] Profile Management: Seamlessly manage and update user profiles with personalized information. - [x] Video Management: Conveniently upload and delete videos, ensuring efficient content control. - [ ] Livestream: Livestreaming online lectures ### User - [x] Course Exploration: Discover a diverse range of courses available on the platform. - [x] Profile Management: Efficiently manage and update your user profile with personalized details. - [x] Content Viewing: Access course content, including videos, and explore author profiles. - [x] Tag-Based Filtering: Easily filter courses using multiple tags for a more tailored exploration. - [x] Course Purchase: Securely buy desired courses to gain access to premium content. - [x] Purchased Course Viewing: Instantly view and revisit purchased courses for ongoing learning and reference. - [ ] Discussion Forum: Discussion forum for other users to know about other courses and chat with others about it. - [ ] Rating: Rating courses ## Contributing Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated. If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again! ## License [MIT](https://choosealicense.com/licenses/mit/)
Codex is a user-friendly full stack web app , both users and tutors/admin facing. It's packed with features for easy use and management. It's flexible, scalable, and ready to meet your needs.
course-app,express,full-stack,javascript,material-ui,mern-stack,mongodb,nodejs,react,vite
2023-10-26T14:04:17Z
2024-04-17T10:09:31Z
null
1
12
61
1
3
3
null
MIT
JavaScript
SomyaRanjanSahu/Salon-Website
master
![](https://img.shields.io/badge/Project-Salon_Website-yellow.svg) ![](https://img.shields.io/badge/Level-Intermediate-orange.svg) ![](https://img.shields.io/badge/Status-Complete-green.svg) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) <!-- ALL-CONTRIBUTORS-BADGE:END --> <!-- Other badges--> ![GitHub Actions](https://img.shields.io/badge/github%20actions-%232671E5.svg?style=for-the-badge&logo=githubactions&logoColor=white) ![React](https://img.shields.io/badge/react-%2320232a.svg?style=for-the-badge&logo=react&logoColor=%2361DAFB) ![React Router](https://img.shields.io/badge/React_Router-CA4245?style=for-the-badge&logo=react-router&logoColor=white) ![Visual Studio Code](https://img.shields.io/badge/Visual%20Studio%20Code-0078d7.svg?style=for-the-badge&logo=visual-studio-code&logoColor=white) ![Git](https://img.shields.io/badge/git-%23F05033.svg?style=for-the-badge&logo=git&logoColor=white) ![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white) <!-- Other badges--> <br /> <p align="center"> <img src="https://i.postimg.cc/5tgMM1SB/barber.png" alt="Logo" width="80"> </a> <h3 align="center">Salon Website</h3> <p align="center"> Full Stack Web Application for Hair Salon <br /> <a href="https://salonweb.vercel.app/">View Live</a> </p> </p> <!-- TABLE OF CONTENTS --> <details open="open"> <summary>Table of Contents</summary> <ol> <li> <a href="#about-the-project">About The Project</a> <ul> </ul> <li><a href="#built-with">Built With</a></li> </li> <li> <a href="#getting-started">Getting Started</a> <ul> </ul> </li> <li><a href="#screenshots">Screenshots</a></li> <li><a href="#contributors">Contributors</a></li> <li><a href="#references">References</a></li> </ol> </details> ## About The Project This project is a MERN Application for a salon shop website. It provides a visually appealing and user-friendly interface for customers to explore the salon's services, team, and contact information. The website includes sections for services offered, team members, and a contact page with a Google Map integration. It also features responsive design to ensure a seamless experience on various devices. ## Built With Following technologies and libraries are used for the development of this website - [React](https://reactjs.org/) - [React Router](https://reactrouter.com/) - [NodeJS](https://nodejs.org/en) - [ExpressJS](https://expressjs.com/) - [MongoDB](https://www.mongodb.com/) ## Getting Started 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) ## Screenshots <img src="src/assets/website/home.png" alt="img" width="100%"> <img src="src/assets/website/service.png" alt="img" width="100%"> <img src="src/assets/website/gallery.png" alt="img" width="100%"> <img src="src/assets/website/contact.png" alt="img" width="100%"> ## Contributors <table> <tr> <td align="center"><a href="https://github.com/Akash-1612"><img src="https://avatars.githubusercontent.com/u/73643555?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Akash Yadav</b></sub></a><br /></td> <td align="center"><a href="https://github.com/SomyaRanjanSahu"><img src="https://avatars.githubusercontent.com/u/63153316?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Somya Ranjan Sahu</b></sub></a><br /></td> </tr> </table> This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! ## References - [Design](https://dribbble.com/shots/19660093-SQUIRE-Booking-Widget) - [Images](https://unsplash.com/s/photos/barber)
Full Stack Web Application meant to serve customers of a Hair Salon
css,html5,javascript,jsx,reactjs,react
2023-10-19T14:46:21Z
2023-10-20T05:20:04Z
null
2
1
11
0
1
3
null
MIT
CSS
Dpdl-io/DpdlEngine
main
# Dynamic Packet Definition Language <p align="center"> <img src="https://www.dpdl.io/images/dpdl-io.png" width="60%" height="60%"> </p> www.dpdl.io developed by **SEE Solutions** &copy; 2003 # What is Dpdl? Dpdl is a <ins>**rapid development** programming language</ins> and <ins>**constrained device** framework</ins> with built-in database technology. Dpdl enables access to Java platform API's and to external native libraries and supports the <ins>embedding and on-the-fly execution</ins> of multiple programming languages like **ANSI C, C++, Python, Julia, JavaScript, Lua, Ruby, Java and Clojure** <ins>directly embedded within Dpdl code</ins>. Further programming languages and natural language interpreters can be added as extensions and embedded via a dedicated plug-in interface and configuration. For example the ROOT C++ Data Analysis framework from Cern is also available as Dpdl language plug-in. Dpdl is self contained, portable and highly customizable via an extensible interface. A dedicated AI Dpdl language plug-in (**DAN**) allows to <ins>automatically generate and embed</ins> programming language code or content in Dpdl code via <ins>**generative AI code**</ins> <p align="center"> <img src="https://www.dpdl.io/images/platform/Dpdl_programming_language_framework_small.png" width="95%" height="95%"> </p> ## Dpdl = ( Java Api's + Embedded C + 'C++' + Python + Julia + JavaScript + Lua + Ruby + Java + Clojure) = <ins>Powerful and Versatile</ins> These features make Dpdl a powerful development platform for rapid prototyping, in particular also due to the fact that software written with Dpdl will be enabled to access thousands of existing high-quality software libraries. Dpdl is not intended to replace, but to enable integration of different technologies seamlessly to leverage fast prototyping and foster research and development. ## Dpdl is designed to: ### * Develop your ideas faster ### * On multiple platforms ### * Using the power of multiple programming languages and API's within single Dpdl source ### * Reuse code ### * No need to install, compile and configure environments ### * Runs on constrained devices ### * Support for IoT protocols such as Bluetooth(tm) and CoAP ### * Compressing, querying and handling data efficiently on constrained devices ### * Self-contained, No additional dependencies required (except add-on libraries) ### * Facilitate rapid prototyping for hardware programming ### * Plug-in oriented ### * Leverage prototyping with built-in AI generative code plug-in **DpdlEngine stack overview** <p align="center"> <img src="http://www.dpdl.io/images/platform/Dpdl_Dynamic_Packet_Definition_Language_components_thumb.jpg"> </p> ### Dpdl is designed to be <ins>Simple</ins>, <ins>Compact</ins>, <ins>Robust</ins>, <ins>Extensible</ins> and <ins>Portable</ins> to almost every platform. By combining the <ins>portability and vast API availability</ins> of Java and Python, the <ins>computational power</ins> of Julia, the <ins>expressiveness</ins> of Lua and Clojure, the simplicity of Ruby, the <ins>web-enablement</ins> of JavaScript, the <ins>power</ins> of C/C++ programming language and a simple acess to native libraries, Dpdl provides a powerful development platform for industrial applications, education and research. The Dpdl language constructs and syntax is kept simple and follows an object oriented paradigm interoperable with the java platform API and any external java libraries. Common IoT protocol stacks such as **Bluetooth(tm)** and **CoAP** (Constrained Application Protocol) are integrated by default and third party libraries and functions can be added as extensions. The included Dpdl language plug-in '**DpdlAINerd**' (**DAN**) makes use of AI generative code to enable to automatically generate and embedded executable code and content or data by natural language descriptions contained in Dpdl code. ### Sample Dpdl code (Bluetooth device discovery using high level Dpdl BT API): ```python int status = DPDLAPI_searchClientsOnServer() int status_discovery = dpdlFalse int service_discovery = dpdlFalse int counter = 0 if(status == dpdlTrue) while (status_discovery != dpdlTrue) && (service_discovery != dpdlTrue) status_discovery = DPDLAPI_discoveryServerFinished() service_discovery = DPDLAPI_serviceDiscoveryServerFinished() print(".") counter = counter+1 sleep(3000) endwhile string dev = "n" int dev_found = 0 while(dev != "null") dev = DPDLAPI_getServerVisibleBTAddr() if(dev != "null") println("bluetooth device visible: " + dev) saveData(dev) dev_found = dev_found + 1 fi endwhile else println("No working Bluetooth stack found") fi ``` Dpdl comes with a very compact and portable **scripting engine** and an **extensible API interface** for the development of applications and embedded system software and in particular is ideal to foster rapid application development and rapid prototyping. Embedded ANSI C code and Clojure can also be <ins>dynamically compiled in memory at runtime</ins> in order to achieve <ins>faster execution</ins> performance. Further, Dpdl can be used to encode, store, control and query data efficiently also on small memory footprint devices via a custom data container, a 'DpdlPacket'. This makes Dpdl suitable for a wide range of use-cases and applications in particular also for <ins>Hardware programming</ins>. ### Small Memory footprint: * DpdlEngine core (full configuration) **`372 Kb`** * DpdlNative library with (Embedded C interpreter/compiler) **`278 Kb`** * Total size of DpdlEngine (Dpdl + C compiler/interpreter) = **`650 Kb`** Only The size of the DpdlEngine core can be stripped down to **`60 Kb`** with a basic configuration if needed. ## Dpdl sample code ### Full featured sample applications developed with Dpdl Here you can find full featured working applications written with Dpdl: [Dpdl-sample-Apps](https://github.com/Dpdl-io/Dpdl-sample-Apps) ### Dpdl example to Get and decode News via http in JSON format This is a small sample app written with Dpdl that gets the top 10 news stories via http get in json format: [app/getnews/dpdlGetNews.h](https://github.com/Dpdl-io/DpdlEngine/blob/main/DpdlLibs/app/getnews/dpdlGetNews.h) Note: The example 'app/getnews/dpdlGetNews2.h' is identical, but data is decoded in a java object instead of a struct ### Dpdl example using external Java libraries This is a 3D model visualization of chemical molecules (in this case hydrogen) using the JavaFX library. The model can be rotated freely with mouse events (ported to Dpdl from javafx examples) [graphics/dpdl3DJavaFX_molecule.h](https://github.com/Dpdl-io/DpdlEngine/blob/main/DpdlLibs/graphics/dpdl3DJavaFX_molecule.h) <p align="center"> <img src="https://www.dpdl.io/images/platform/examples/Dpdl_3D_Example2_with_JavaFX.png" width="85%" height="85%"> </p> [VIDEO of Dpdl sample 3D application](https://youtu.be/82SRI_L3vLc) ### Simple Dpdl example that executes an embedded 'Java' code and an embedded 'C' code directly within Dpdl [app/simple/dpdlSimpleJavaAndC.h](https://github.com/Dpdl-io/DpdlEngine/blob/main/DpdlLibs/app/simple/dpdlSimpleJavaAndC.h) ### Dpdl example that uses the 'sql' Dpdl language plug-in to retrieve data from a database and handle the result set The Dpdl script connects to the database and performs a query, retrieves and prints out the result set, encodes the result set to a json string, and than decodes the json string to an object that can be accessed as a HashMap [sql/dpdlSqlExampleJson.h](https://github.com/Dpdl-io/DpdlEngine/blob/main/DpdlLibs/sql/dpdlSqlExampleJson.h) ### More Dpdl Examples You can find more Dpdl examples on the following page: [Dpdl_Examples.md](https://github.com/Dpdl-io/DpdlEngine/blob/main/Dpdl_Examples.md) Or full featured Applications written with Dpdl in the following repository: [Dpdl-sample-Apps](https://github.com/Dpdl-io/Dpdl-sample-Apps) ## Why Dpdl? Dpdl is suitable for rapid application development in various domains, in particular also for small development of applications on small memory footprint devices, and can be used as embedded scripting engine for various applications. The main nature of Dpdl is for enabling rapid prototyping, rapid development, code reuse and allow a high degree of portability while being simple, extensible and compact. Further, developers can benefit from the possibility to use multiple programming languages due to the fact that a vaster set of APIs are available for a given platform. Dpdl has also built-in constructs that enable dynamic code generation for <ins>**generative AI code**</ins> and provides a dedicated plug-in interface for developing and embedding custom language interpreter plug-ins of all sorts. The **`DpdlPacket`** data container is a highly optimized way to store, query and access data on devices that have limited memory and storage capabilities. The AI Dpdl language plug-in '**DpdlAINerd**' (**DAN**) can be used to speed-up the prototyping and development process by leveraging generative AI code for embedded code and data within Dpdl. **Dpdl can be used as:** * Rapid application development platform * Embedded scripting engine * Library module * Utility tool * Data handling on memory constrained devices * Development of Domain Specific Languages (DSL) * Generative AI code ### Features * **DpdlEngine is optimized to run on a wide range of platforms** (J2ME, JavaME, J2SE, any other JVM >= 1.4 Spec, and all platforms where the open source virtual machine 'miniJVM' can be compiled for the target platform) * **Dpdl API provides access to the complete underlying Java JRE platform API's and to external java and Native libraries** * Multiple embeddable Dpdl language plug-ins available: **ANSI C code, C++, Python, Julia, JavaScript, Lua , Ruby, Java and Clojure programming languages can be embedded and executed** directly within Dpdl code (interpreted/compiled code) * **Other programming languages can be embedded via a dedicated kernel execution interface** (see 'DpdlCustom' tag in DpdlEngine.ini) * Includes embedded C compiler: **On-the-fly compilation of embedded ANSI C code** in memory at runtime (via option 'dpdl:compile') for different platforms (i386, RISC-V, ARM and TMS320C67xx) -> <ins>very fast compile time</ins> * **Built-in Dpdl scripting engine with support for custom extensions** (DpdlExtension interface) -> allows to dynamically add language features * **Support for common IoT protocol stacks such as Bluetooth(tm)** (JSR-82) and **CoAP (Constrained Application Protocol)** (IETF standard RFC 7252) * **Packing data in a 'DpdlPacket' is a convenient way to optimize and speedup access to data**. The speedup is x 25 times faster compared to a standard record store access * **Virtual record store filesystem** * **Double precision floating point emulation** layer * **XML** with XPath parser * **JSON** * **Fast Prototyping** * **Small footprint**, Only **`372 Kb`** for core DpdlEngine -> can be stripped down to **`60 Kb`** for minimal setup * Tools for automatically converting Dpdl code to Java , C/C++ and V code * Allows to **automatically generate and embed generative AI programming code within Dpdl** using the 'DpdlAINerd' (DAN) Dpdl language plug-in * Open Source programming language plug-ins ### Quick Links [Dpdl Documentation](https://github.com/Dpdl-io/DpdlEngine/blob/main/doc/Dpdl_documentation.md) [Dpdl API Documentation](https://github.com/Dpdl-io/DpdlEngine/blob/main/doc/Dpdl_API.md) [Dpdl_embedded_languages](https://github.com/Dpdl-io/DpdlEngine/blob/main/doc/Dpdl_embedded_languages.md) [Dpdl embedded minimal C library Documentation](https://github.com/Dpdl-io/DpdlEngine/blob/main/doc/Dpdl_embedded_C_libs.md) [Dpdl compiler documentation](https://github.com/Dpdl-io/DpdlEngine/blob/main/doc/Dpdl_compiler_documentation.md) [Dpdl Native Interface](https://github.com/Dpdl-io/DpdlEngine/blob/main/doc/Dpdl_native_Interface.md) [DpdlAINerd](https://github.com/Dpdl-io/DpdlEngine/blob/main/doc/DpdlAINerd.md) [Dpdl Examples](https://github.com/Dpdl-io/DpdlEngine/blob/main/Dpdl_Examples.md) [Dpdl HowTo's](https://github.com/Dpdl-io/DpdlEngine/blob/main/doc/Dpdl_howto.md) ## Access to the complete JRE Java platform API and any external java libraries The Dpdl language API allows to access all classes and methods of the <ins>underlying Java Platform (JRE)</ins> and <ins>external java libraries</ins>. **Example:** using a java HashMap (which interfaces to java.util.HashMap) ```python object map, s map=loadObj("HashMap") map.put(1,"Dpdl") map.put(2,"Packet") map.put(3,"Definition") map.put(4,"Language") s=map.get(1) println(s) s=map.get(4) println(s) ``` Iterate over the obove HashMap using the same objects and methods as provided by the java API: ```python object es = map.entrySet() object iter = es.iterator() object ep while(iter.hasNext()) ep = iter.next() println("key=" + ep.getKey() + " value=" + ep.getValue()) endwhile ``` In this way all java libraries defined in class definition configuration file (./DpdlLibs/libs/classes.txt) can be loaded and accessed. The default configuration currently includes <ins>Java Platform API</ins>, the <ins>JavaFX</ins> API and <ins>bluecove Bluetooth JSR-82</ins>. The default configuration <ins>can be easily extended or updated</ins> to resolve additional java APIs by editing the class definition configuration file. #### Dpdl Java API access documentation (default configuration) The set of classes accessible with Dpdl (default) is defined to be the following set. The methods of the classes that are accessible are referred to the current JRE instance on which Dpdl is running. [Java API](http://www.seesolutions.it/apidoc/Java_Platform_API_1_5.html) [JavaFX API](https://docs.oracle.com/javafx/2/api/index.html) [Bluetooth JSR-82 API](https://docs.oracle.com/javame/config/cldc/opt-pkgs/api/bluetooth/jsr082/index.html) NOTE: Additional classes and API's can be added to the class definition file as needed. It's worth mentioning here that 'Java' code can also be embedded directly within Dpdl as described below. Here just a quick example: ```python println("Dpdl can also embed native java code...") object mystr = loadObj("String", "this is a Dpdl object mapped to java api, a str parameter") int x = 23 dpdl_stack_push(mystr, "./Test/TestRead.txt", x) >>java System.out.println("Parameters: "); System.out.println(" arg0: " + arg0); System.out.println(" arg1: " + arg1); System.out.println(" arg2: " + arg2); static void myMethod1(){ System.out.println("myMethod1: " + 1); } myMethod1(); for(int x = 0; x < arg2; x++){ System.out.println("x: " + x); } File myfile = new File(arg1); return 1; << int exit_code = dpdl_exit_code() println("embedded java exit code: " + exit_code) ``` ## Dpdl embeddable programming languages Multiple programming languages can be embedded and executed within the same **Dpdl** code via the keyword **`>>`**. Further programming languages can be developed and integrated via a dedicated plug-in interface and configuration. This enables basically every sort of programming language or natural language interpreter to be embedded directly in Dpdl code. This features is very useful for rapid development and rapid prototyping and is also a key feature for generative software. ### Currently the following programming languages can be embedded within Dpdl: * **`C interpreted`** code (minimal subset of C90 with standard C libs included) * **`ANSI C`** (full ISO C99 standard) compiled in memory and dynamically executed at runtime (see 'dpdl:compile') * **`Python`** * **`Julia`** * **`JavaScript`** * **`Lua`** * **`Ruby`** * **`OCaml`** * **`Java`** * **`ROOT C++`** * **`Clojure`** **available Add-on plug-ins:** * **`Sql`** * **`Ai`** -> see [doc/DpdlAINerd.md](https://github.com/Dpdl-io/DpdlEngine/blob/main/doc/DpdlAINerd.md) See this doc for more details: [Dpdl_embedded_languages.md](https://github.com/Dpdl-io/DpdlEngine/blob/main/doc/Dpdl_embedded_languages.md) #### Dpdl example with embedded 'ROOT C++' code ROOT is a powerful Data Analysis Framework developed by CERN (https://root.cern/) . ROOT C++ code can be embedded within Dpdl via the keyord **`>>root`** Example Dpdl code embedding 'ROOT C++': <img src="http://www.dpdl.io/images/platform/Dpdl_ROOT_example.png" width="60%" height="60%"> ```python # main println("test embedded ROOT C++...") >>root auto canvas = new TCanvas("c","Graph2D example",0,0,700,600); double x, y, z, P = 6.; int np = 200; auto dt = new TGraph2D(); auto r = new TRandom(); for (int N=0; N<np; N++) { x = 2*P*(r->Rndm(N))-P; y = 2*P*(r->Rndm(N))-P; z = (sin(x)/x)*(sin(y)/y)+0.2; dt->SetPoint(N,x,y,z); } dt->Draw("tri1 p0"); canvas->Modified(); canvas->Update(); << int exit_code = dpdl_exit_code() println("embedded ROOT exit code: " + exit_code) ``` NOTE: The native Dpdl library 'dpdlroot' needs to be downloaded and deployed separately (see Download section below) ### Dpdl with embedded C code Dpdl allows the embedding and on-the-fly execution of **ANSI C code** directly within Dpdl code with the keyword **`>>c`** The C code can be embedded with 2 different Modes: 1) <ins>Interpreted</ins> 2) <ins>Compiled in memory at runtime</ins> (if option '**dpdl:compile**' is enabled) Example Dpdl code with embedded C code (Mode 1): ```c # main # starting with Dpdl, pushing parameters on the stack and embedding C code println("testing embedded C code in Dpdl") int n = 6 double x = 10.0 string a = "test" dpdl_stack_push(n, x, a) >>c #include <stdio.h> int main(int argc, char **argv){ printf("Hello C from Dpdl!\n"); printf("\n"); printf("num params: %d\n", argc); int cnt; for (cnt = 0; cnt < argc; cnt++){ printf(" param %d: %s\n", cnt, argv[cnt]); } return 0; } << int exit_code = dpdl_exit_code() println("embedded C exit code: " + exit_code); # again Dpdl code... object str = loadObj("String", "Dpdl embedded C") bool b = str.contains("C") println("Dpdl contains C: " + b) ``` ### Embedding other programming languages Other programming languages or natural language interpreters can be easily integrated in Dpdl via a dedicated plug-in interface and configuration. Please feel free to suggest your opinion on the 'Discussion' section on the DpdlEngine GitHub repository ## Generative AI code with 'DpdlAINerd' (DAN) Dpdl language plug-in The Dpdl language plug-in 'DpdlAINerd' (DAN) allows to generate and embed code via popular AI engine (eg. OpenAI, Google Vertex AI, etc..) see here for more info: [doc/DpdlAINerd.md](https://github.com/Dpdl-io/DpdlEngine/blob/main/doc/DpdlAINerd.md) ## Supported Platforms Dpdl runs on a wide range of platforms and provides also a small footprint java virtual machine, released as open-source, that can be compiled for almost every platform as soon as an ANSI C compiler is available for the target platform. ### Dpdl itself is compatible with: * J2ME MIDP (Mobile Information Device Profile) -> MIDP 1.0 and MIDP 2.0 (CLDC 1.0, CLDC 2.0) * Java ME CLDC & GCF (JSR 360) * Java ME Embedded Profile (JSR 361) * Java versions >= 1.4 and later * Java > 1.1 (but without 'loadObj' and 'getClass' methods) * All Platforms where the included Open Source virtual machine (miniJVM) can be compiled DpdlEngine V1.0 has been tested on: * MacOS aarch64 * Linux x86_64 * Raspberry PI 3 (armv7l) * Windows 64-bit * Android * JavaME * J2ME (MIDP 2.0) Note: The DpdlEngine needs to be re-packaged for running on Android, JavaME and J2ME ### Embedded programming languages - compatibility matrix (X + version) **Supported** (*) **available soon** | Platform |Embedded ANSI C |Python |Julia |Js |Clojure |Lua |ROOT C++ |Ruby |Java |SQL |OCaml | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | | Linux x86_64 |X|X v3.2|X v1.9.3|X|X v1.12.0|X v5.4|X v6.28|*|X|X|X v4.01| | Mac OS X (aarch64) |X|X v3.12|X v1.9.3|X|X v1.12.0|X v5.4|X v6.28|X 3.2.2|X|X|X v4.01| | Raspberry PI 3 (armv7) | X|X v3.2|X v1.9.3|X|X v1.12.0|X v5.4|*|*|X|X|X v4.01| | Windows64|X|*|*|X|X v1.12.0|*|*|*|X|X|X v4.01| ## Documentation The Dpdl framework and API documentation are available via the following links: [Dpdl Documentation](https://github.com/Dpdl-io/DpdlEngine/blob/main/doc/Dpdl_documentation.md) [Dpdl API Documentation](https://github.com/Dpdl-io/DpdlEngine/blob/main/doc/Dpdl_API.md) [Dpdl embedded languages](https://github.com/Dpdl-io/DpdlEngine/blob/main/doc/Dpdl_embedded_languages.md) [Dpdl embedded minimal C library Documentation](https://github.com/Dpdl-io/DpdlEngine/blob/main/doc/Dpdl_embedded_C_libs.md) [Dpdl compiler documentation](https://github.com/Dpdl-io/DpdlEngine/blob/main/doc/Dpdl_compiler_documentation.md) [DpdlAINerd (DAN)](https://github.com/Dpdl-io/DpdlEngine/blob/main/doc/DpdlAINerd.md) [Dpdl Examples](https://github.com/Dpdl-io/DpdlEngine/blob/main/Dpdl_Examples.md) [Dpdl HowTo's](https://github.com/Dpdl-io/DpdlEngine/blob/main/doc/Dpdl_howto.md) [Track Changes](https://github.com/Dpdl-io/DpdlEngine/blob/main/Changes.md) Dpdl Java API Documentation (available only for the registered version of DpdlEngine) ## Download See 'Download' page for more details: [Download](https://github.com/Dpdl-io/DpdlEngine/blob/main/Download.md) ## Roadmap Dpdl is currently developed by SEE Solutions and the following integrations has been defined: * Front-End compiler based on LLVM for compiling Dpdl code to IR ### Embedding of 'Python' code Python code can be embedded within Dpdl code by using the keyword **`>>python`**. MicroPython will also be supported as option in the coming release. Example Dpdl code with embedded 'Python' code: ```python println("testing embedding python code") println("") >>python languages = ['Dpdl', 'C', 'Python', 'Clojure'] for language in languages: print(language) << println("") int exit_code = dpdl_exit_code() println("embedded python exit code: " + exit_code); ``` ### Embedding of 'Julia' code Julia is a powerful and performant computational programming language (https://julialang.org) Julia code can be embedded within Dpdl via the keyord **`>>julia`** Example Dpdl code embedding 'Julia' that generates a Plot and saves the result as PDF file: <img src="http://www.dpdl.io/images/platform/Dpdl_Julia_example.png" width="60%" height="60%"> ```python #main println("Testing Plot data with Julia programming language...") >>julia using Plots x = range(0, 10, length=100) y1 = sin.(x) y2 = cos.(x) p = plot(x, [y1 y2]) savefig(p, "./Test/myplot.pdf") dispose_status = @ccall dpdl_julia_dispose()::Int32 return 1 << int exit_code = dpdl_exit_code() println("finished with exit code: " + exit_code) ``` NOTE: The native Dpdl library 'dpdljulia' needs to be downloaded and deployed separately (see Download section below) ### Embedding of 'JavaScript' code JavaScript is the ideal programming language for web applications as it's supported by all popular web browsers. JavaScript code can be embedded within Dpdl via the keyword **`>>js`** or **`>>qjs`** Dpdl allows the embedding of javascript with 2 different Modes: 1) Using the 'QuickJS' javascript engine from Fabrice Bellard '>>qjs' (Suggested) 2) Using the 'Nashorn' javascript engine embedded in the Java platform '>>js' Example: ```python println("testing embedded qjs...") dpdl_stack_push("my Hello Message!!!") >>qjs import { fib } from "./DpdlLibs/js/fib_module.js"; var a_message = "null"; console.log(scriptArgs) console.log('Dpdl sends a message with QuickJS'); if(scriptArgs.length > 0){ a_message = scriptArgs[0]; } std.printf("Message = %s %d", a_message, 23); console.log(''); console.log("fib(10)=", fib(10)); << int exit_code = dpdl_exit_code() println("Dpdl qjs exited with exit code: " + exit_code) ``` QuickJS provides a powerful and complete API to interact with the javascript engine at low level. Custom native functions and objects can be implemented as shared libraries and loaded in javascript. You can find examples in the folder './DpdlLibs/js/' ### Embedding of 'Lua' code Lua code can be embedded within Dpdl code by using the keyword **`>>lua`**. Example Dpdl code with embedded 'Lua' code: ```python println("testing embedding Lua within Dpdl....") string buffer_key = "dpdlbuf_result" dpdl_stack_push(buffer_key, "name", "Alexis", "surname", "Kunst") >>lua function doSomeAlg() local home_dir = os.getenv("HOME") print("user home: ", home_dir) local x = os.clock() local s = 0 for i=1,100 do s = s + i io.write(".") end print("") print(string.format("elapsed time: %.2f\n", os.clock() - x)) end function paramLen(T) local count = 0 for _ in pairs(T) do count = count + 1 end return count end function dpdl_main(params) local num_params = paramLen(params) io.write("dpdl_main call with number of params: ") io.write(num_params) print() print("executing my embedded algorithm...") print("") doSomeAlg() print() print("returning param values in 'uppercase'") local tab_out = {numfields=1} for k,v in pairs(params) do tab_out.numfields = tab_out.numfields + 1 tab_out[tostring(k)] = string.upper(tostring(v)) end tab_out.numfields = tostring(tab_out.numfields) return tab_out end << int exit_code = dpdl_exit_code() println("embedded lua exit code: " + exit_code) string resp_buf = dpdl_stack_buf_get(buffer_key) println("lua response buffer: ") println(resp_buf) ``` ### Embedding 'SQL' for querying and retrieving results from a Database (JDBC compliant) A dedicated Dpdl language plug-in allows to directly inject SQL statements and retrieve the result sets. Connection, query and packing the results are performed directly by the plug-in Example Dpdl code with embedded 'SQL': ```python println("testing 'sql' queries with Dpdl...") dpdl_stack_var_put("db_url", "jdbc:postgresql://127.0.0.1:5432/mytestdb") dpdl_stack_var_put("db_user", "testuser") dpdl_stack_var_put("db_pass", "189923") dpdl_stack_push("dpdlbuf_res") >>sql SELECT id, name, surname, email from mytable << object result = dpdl_stack_obj_get("dpdlbuf_res") raise(result, "Error: dpdl stack buffer is null") int rs_size = result.size() object id, name, surname, email int c = 0 object entry for(c < rs_size) println("-----------------------------------") entry = result.get(c) id = entry.get(0) name = entry.get(1) surname = entry.get(2) email = entry.get(3) println("id: " + id) println("name: " + name) println("surname: " + surname) println("e-mail: " + email) println("-----------------------------------") c=c+1 endfor println("finished") ``` ## Dpdl Examples Further Dpdl examples can be found on this page: [Dpdl_Examples.md](https://github.com/Dpdl-io/DpdlEngine/blob/main/Dpdl_Examples.md) ## What is a DpdlPacket? A DpdlPacket is a compact, highly compressed executable packet of data with built-in database technology that can be created based on a defined Dpdl code definition. A DpdlPacket can than be allocated and queried efficiently via API interfaces available for Java and for the built-in Dpdl language. In particular Dpdl is very efficient on J2ME and JavaME platforms and has a high degree of backward compatibility. A DpdlPacket contains 1 - n chunks of compressed data that can be allocated, queried and deallocated when data is not used anymore. All kind of data can be packed into a DpdlPacket. ### DpdlPacket ![DpdlPacket](http://www.dpdl.io/images/platform/DpdlPacket_FlowChart.jpg) The 'DpdlEngine lite' release package includes an encoded DpdlPacket (dpdl_PHONEBOOK.dpdl) and the corresponding Dpdl code definition file [dpdl_PHONEBOOK.c](https://github.com/Dpdl-io/DpdlEngine/blob/main/DpdlPackets/dpdl_PHONEBOOK_BZ.c) used to encode the DpdlPacket. Refer to the [Dpdl_documentation](https://github.com/Dpdl-io/DpdlEngine/blob/main/doc/Dpdl_documentation.md) for how to allocate, execute and perform queries on a DpdlPacket. Example of DpdlPacket code definition (dpdl_PHONEBOOK.c) ```cpp call(dpdlInterpreter) ::module dpdl_PHONEBOOK ::module_SPEC 23452 ::model 836 ::dpdlVersion 1.0 OPTIONS { TARGET = CDC & CLDC KVM = 1.0 ZIP = true CHECKSUM = true SIGNATURE = true ENCRYPTION(RSA) = false } #defineDpdlEncoding UTF-8 #defineDB phone_bz | ./Test/BolzanoPhone.csv | null null #defineSQL query_ SELECT name, phoneNR, e-mail FROM phone_bz end #defineProtocol-cHtml phonebook_visual phone_book.html import extern SystemData catch DPDL_Script OnInit() { import("dpdllib.h") nl println("OnInit()") nl } import virtual DATA none { class BolzanoPhone volatile phonebook_visual { DATA::string const name; DATA::string using phoneNR; DATA::string using e-mail; #defineGUI Default <PhoneBook> <Enter name and surname:> catch DPDL_Script OnDecode() { import("dpdllib.h") nl import("dpdlRS.h") nl println("OnDecode()") nl string time = getTime() nl println("storing access time..." + time) nl int rs_id = createRS("AccessStats", AUTHMODE_ANY, dpdlTrue, dpdlTrue) nl int rec_id = addRecord(rs_id, time) nl int status = closeRS(rs_id) nl println("done status: " + status) nl } } } #defineD BolzanoPhone source phone_bz SQL query { CHUNK entry [6]; struct BTree DENSE_INDEX hashing *name entry.content { name , phoneNR , e-mail } entry.name TAG(0xef) const (string) = 20; entry.phoneNR TAG(0xefe) (string) = 15; entry.e-mail TAG(0xefee) (string) = 30; } ``` This is an example Dpdl sript that show how a 'DpdlPacket' can be allocated and queried: [testDpdlDB2.h](https://github.com/Dpdl-io/DpdlEngine/blob/main/DpdlLibs/testDpdlDB2.h) The database technology in Dpdl has been developed since year 2003 when the first applications where developed for mobile devices. It started with a BsC thesis by A.Costa: [Advanced database techniques in Dpdl : dynamic packet definition language ; a portable data protocol for small embedded systems](https://unibz.primo.exlibrisgroup.com/permalink/39UBZ_INST/hl3dt9/alma9928450240001241) ## What is the DpdlClient console application? The DpdlClient console application included in the 'DpdlEngine lite' release is a small console application that exposes some functionalities of Dpdl via a simple command line console. Dpdl code can be executed and DpdlPackets handled. The same functionalities can be accessed via the java or Dpdl API. These are the console commands available: ``` Usage: -l List DpdlPackets installed -i Install DpdlPacket -d Uninstall DpdlPacket -la List DpdlPackets allocated -a Allocate DpdlPacket -da Deallocate DpdlPacket -qp Query DpdlPacket -c Create DpdlPacket -libs List Dpdl libraries -slib Show library -api List Dpdl API functions -exec Type && Execute a Dpdl script, between <script>... </script> -load Load && Execute a Dpdl script file (relative path to./DpdlLibs/ eg. arraylistExample.h) -bench Run a query benchmark test (on DpdlPacket dpdl_PHONEBOOK) -h Help -q quit ```
Dpdl (Dynamic Packet Definition Language) is a rapid development programming language and constrained device framework with built-in database technology. Dpdl enables access to Java platform API's and external native libraries and allows the embedding and execution of C/C++ code, Python, Julia, js, Lua and Ruby code directly within Dpdl code
database,embedded-systems,iot,java,julia,jvm,library,lua,python,rapid-development
2023-10-17T16:13:27Z
2024-05-22T18:52:41Z
null
2
0
619
0
0
3
null
null
C
BlacketPS/setup.blacket.org
master
<div id="top"></div> <br /> <div align="center"> <a href="https://setup.blacket.org"> <img src="./assets/logo.png" alt="Logo" width="160" height="160"> </a> <h3 align="center">setup.blacket.org</h3> <p align="center"> Website written in React + Vite to generate a config file to setup your Blacket server instance. </p> </div> <details> <summary>Table of Contents</summary> <ol> <li> <a href="#getting-started">Getting Started</a> <a href="#prerequisites">Prerequisites</a> <a href="#building">Building</a> </li> <li><a href="#license">License</a></li> </ol> </details> ## Getting Started Visit <a href="https://setup.blacket.org">setup.blacket.org</a> in your browser in order to generate a config file for your Blacket server instance. ### Prerequisites The following packages need to be installed before building: * NodeJS ```sh cd ~ curl -sL https://deb.nodesource.com/setup_18.x -o /tmp/nodesource_setup.sh sudo bash /tmp/nodesource_setup.sh sudo apt install nodejs ``` ### Building 1. Clone the repository into your home folder: ```sh cd /tmp git clone https://github.com/XoticLLC/setup.blacket.org.git mv -v /tmp/setup.blacket.org ~/setup.blacket.org ``` 2. Move to the directory and install dependencies: ```sh cd ~/setup.blacket.org npm i ``` 3. Build the app: ```sh npm run build ``` <p align="right">(<a href="#top">back to top</a>)</p> ## License Distributed under the GPL-3.0 License. See `LICENSE` for more information. <p align="right">(<a href="#top">back to top</a>)</p>
Website written in React + Vite to generate a config file to setup your Blacket server instance.
blacket,blooket,config,configuration,generator,javascript,private-server,react,setup,vite
2023-11-07T18:19:03Z
2023-12-14T02:09:42Z
null
7
0
44
0
0
3
null
GPL-3.0
JavaScript
ITurres/coding-challenges
main
<a name="readme-top"></a> <div align="center"> <img src="./assets/coding-challenges-logo.png" alt="Coding Challenges" width="80%" height="auto" style="max-width:600px;" /> </div> --- <!-- * TABLE OF CONTENTS --> # 📗 Table of Contents - [📖 About the Repo](#about-repo) - [Languages](#languages) - [💻 Getting Started](#getting-started) - [Setup](#setup) - [Prerequisites](#prerequisites) - [🀄️ Future Languages](#future-languages) - [👥 Authors](#authors) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) --- <!-- * REPO DESCRIPTION --> # 📖 Coding Challenges <a name="about-repo"></a> Throughout my learning journey, I have amassed a collection of coding challenges that I've tackled and stored. I continually engage with these challenges as I explore new programming languages and technologies. This repository reflects my commitment to honing my coding skills and problem-solving abilities. It's a dynamic resource, showcasing my growth and adaptability in the ever-evolving world of technology. I aim to diversify the range of challenges, document my solutions, and actively seek opportunities for improvement. I'd like to mention that there were more coding challenges I've solved on various online platforms, but I didn't store them here. Nevertheless, these challenges have contributed significantly to my learning journey. Collaborating with others, setting clear goals, and sharing knowledge are all essential components of my ongoing journey to become a proficient programmer. ### Languages <a name="languages"></a> <ul> <li> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript"> <img src="https://skillicons.dev/icons?i=js"/> </a> </li> <li> <a href="https://www.ruby-lang.org/en/"> <img src="https://skillicons.dev/icons?i=ruby"/> </a> </li> <li> <a href="https://www.w3schools.com/c/c_intro.php"> <img src="https://skillicons.dev/icons?i=c"/> </a> </li> <li> <a href="https://www.python.org/"> <img src="https://skillicons.dev/icons?i=python"/> </a> </li> <li> <a href="https://www.sqlite.org/index.html"> <img src="https://skillicons.dev/icons?i=sqlite"/> </a> </li> </ul> <p align="right">(<a href="#readme-top">back to top</a>)</p> --- <!-- * GETTING STARTED --> ## 💻 Getting Started <a name="getting-started"></a> To get a local copy up and running, follow these steps. ### Prerequisites In order to run this project you need: ### Setup Clone this repository to your desired folder: Example commands: - With SSH: ```bash cd your-folder git clone git@github.com:ITurres/coding-challenges.git ``` - With HTTPS: ```bash cd your-folder git clone https://github.com/ITurres/coding-challenges.git ``` - With GitHub CLI: ```bash cd your-folder gh repo clone ITurres/coding-challenges ``` <p align="right">(<a href="#readme-top">back to top</a>)</p> --- ### 🀄️ Future Languages <a name="future-languages"></a> <ul> <li> <a href="https://www.swift.org/"> <img src="https://skillicons.dev/icons?i=swift"/> </a> </li> </ul> <p align="right">(<a href="#readme-top">back to top</a>)</p> --- <!-- * AUTHORS --> ## 👥 Authors <a name="authors"></a> 👤 **Arthur Iturres** - GitHub: [@ITurres](https://github.com/ITurres) - LinkedIn: [Arthur Emanuel G. Iturres](https://www.linkedin.com/in/arturoemanuelguerraiturres/) - Angellist / Wellfound: [Arturo (Arthur) Emanuel Guerra Iturres](https://wellfound.com/u/arturo-arthur-emanuel-guerra-iturres) - Youtube: [Arturo Emanuel Guerra Iturres - Youtube Channel](https://www.youtube.com/channel/UC6GFUFHOtBS9mOuI8EJ6q4g) - Portfolio: [Arthur Iturres - Portfolio](https://iturres.github.io/iturres-reactive-portfolio/) <p align="right">(<a href="#readme-top">back to top</a>)</p> --- <!-- * CONTRIBUTING --> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](https://github.com/ITurres/coding-challenges/issues). <p align="right">(<a href="#readme-top">back to top</a>)</p> --- <!-- * SUPPORT --> ## ⭐️ Show your support <a name="support"></a> Give a ⭐ if you liked this project! <p align="right">(<a href="#readme-top">back to top</a>)</p> ---
👨‍💻 Collaborating with others, setting clear goals, and sharing knowledge are all essential components of my ongoing journey to become a proficient programmer.
c,coding,coding-challenges,javascript,python,ruby,sqlite3
2023-10-15T02:07:36Z
2024-02-23T18:27:17Z
null
1
0
36
0
0
3
null
null
JavaScript
pavanvaranasi02/Virtual-Try-On-Chrome-Extension
main
# Virtual-Try-On-Chrome-Extension Developed a Chrome Extension enabling users to virtually try on clothing and accessories by superimposing input images onto the user's photo, enhancing online shopping experiences through ml technology. Complete this mentioned steps before running the application.py flask app: 1. Create a folder named checkpoints and save GMM.pth, TOM.pth, inference.pth, Openpose model (You can download GMM and TOM from this website: "https://1drv.ms/u/s!Ai8t8GAHdzVUiQA-o3C7cnrfGN6O?e=EaRiFP") (inference.pth file in "https://drive.google.com/uc?id=1eUe18HoH05p0yFUd_sN6GXdTj82aW0m9") (Open Pose model from kaggle in "https://www.kaggle.com/datasets/changethetuneman/openpose-model?select=pose_iter_440000.caffemodel") 2. pip install -r requirements.txt, install all required python modules. 3. then create a result folder in static folder. 4. If you want web application, directly execute application.py 5. for chrome extension, you need to open chrome go to "chrome://extensions" and enable developer mode and click load unpacked and open or drag and drop chrome extension folder. # Note: 6. then your extension is loaded into chrome and important note is that, even if it is a chrome extension running application.py in background is mandatory. 7. Finally you can create key.pem and cert.pem to open your website in a more secured way that is open your website using "https". 8. For now your good to run all viton dataset images on it, if you upload your own images it would not produce best results. viton dataset is available at: "https://1drv.ms/u/s!Ai8t8GAHdzVUiQRFmTPrtrAy0ZP5?e=rS1aK8". And finally for chrome extesnsion, you need to change the file path of input and result image in response json in application.py file. if you have any issues other than mentioned, feel free to post it on issues section. Here are some execution photos of the project: <img width="264" alt="Screenshot 2023-10-25 at 5 54 14 PM" src="https://github.com/nagasaipavan1/Virtual-Try-On-Chrome-Extension/assets/104422334/d11c198c-2871-4cc1-b4c4-ab027924516a"> <img width="1108" alt="Screenshot 2023-10-25 at 5 42 11 PM" src="https://github.com/nagasaipavan1/Virtual-Try-On-Chrome-Extension/assets/104422334/aad5f89a-0427-4063-ab8f-d9f7726f8ec9"> <img width="257" alt="Screenshot 2023-10-25 at 5 41 45 PM" src="https://github.com/nagasaipavan1/Virtual-Try-On-Chrome-Extension/assets/104422334/5cc7a5be-119b-41ae-ae07-bd43c0f76afe">
Developed a Chrome Extension enabling users to virtually try on clothing and accessories by superimposing input images onto the user's photo, enhancing online shopping experiences through ml technology.
chrome-extension,css3,flask,html5,javascript,opencv-python,python3,tensorflow,torch,torchvision
2023-10-17T08:58:42Z
2023-10-25T12:26:43Z
null
1
0
8
0
0
3
null
MIT
Python
touero/cirrhinus-molitorella
main
<h1 align="center">cirrhinus-molitorella</h1> <p align="center"> <img src="https://img.shields.io/badge/JavaScript-blue" alt=""> </p> ## Repository Introduction This repository retains the ones I usually use tampermonkey JavaScript. 💕 If it's helpful to you or cloning it, please star it. This is maximum encouragement for open-source contributors💕 This repository contains: | name | featrue | install | | :---- | :---- | :---- | | **[autoLogin](https://github.com/weiensong/cirrhinus-molitorella/blob/main/script/autoLogin.js)** | **自动登录某一些网站** | | **[autoClick](https://github.com/weiensong/cirrhinus-molitorella/blob/main/script/autoClick.js)** | **bilibili播放页自动宽屏模式, 知乎问题自动显示全部内容** | **[安装](https://greasyfork.org/zh-CN/scripts/477988-autoclick)** | | **[bilibiliGruvboxTheme](https://github.com/touero/cirrhinus-molitorella/blob/main/script/bilibiliGruvboxTheme.js)** | **bilibili gruvbox 黑色主题** | **[安装](https://greasyfork.org/zh-CN/scripts/485027-bilibili-gruvbox-theme)** | ## Maintainers [@weiensong](https://github.com/weiensong) ## Contributing Feel free to dive in! [Open an issue](https://github.com/weiensong/cirrhinus-molitorella/issues) or submit PRs. Standard JavaScript follows the [ECMA-262](https://www.ecma-international.org/publications-and-standards/standards/ecma-262/) Code of Conduct. ### Contributors This project exists thanks to all the people who contribute. ## License [GNU General Public License v3.0](https://github.com/weiensong/cirrhinus-molitorella/blob/main/LICENSE) © weiensong
My tampermonkey script
javascript,tampermonkey,tampermonkey-userscript
2023-10-19T06:48:46Z
2024-02-29T06:33:04Z
null
1
1
17
0
0
3
null
GPL-3.0
JavaScript
Bhargav-U/ElevateHome
main
<a href='none' target="_blank"><img alt='' src='https://img.shields.io/badge/Under dev-100000?style=for-the-badge&logo=&logoColor=white&labelColor=FF0000&color=FF0000'/></a> <!---Heading---> ![Image 6](https://drive.google.com/uc?id=16cjoj2_qw8i7_SMm-ISf5IxbGw2Aqjxj) <p align="center"> A simple home automation project using esp32<br> <a href='https://www.canva.com/design/DAFzlFBbA8w/Mm4hW3mSl3njbyM1p4ljBw/edit?utm_content=DAFzlFBbA8w&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton' target="_blank"><img alt='canva' src='https://img.shields.io/badge/Check_this out!-100000?style=for-the-badge&logo=canva&logoColor=46E5FA&labelColor=050505&color=000000'/></a> </p> *** <!---Skill set i used for the project---> <h2> Made using, </h2> <p align="center"> <a href='https://www.espressif.com/' target="_blank"><img alt='espressif' src='https://img.shields.io/badge/Esp32-100000?style=for-the-badge&logo=espressif&logoColor=FD0000&labelColor=FFFFFF&color=black'/></a> <br> <a href='https://www.arduino.cc/' target="_blank"><img alt='Arduino' src='https://img.shields.io/badge/Arduino_ide-100000?style=for-the-badge&logo=Arduino&logoColor=008CFF&labelColor=FFFFFF&color=000000'/></a> <a href='https://www.adafruit.com/' target="_blank"><img alt='Adafruit' src='https://img.shields.io/badge/Adafruit-100000?style=for-the-badge&logo=Adafruit&logoColor=000000&labelColor=FFFFFF&color=000000'/></a> <br> <a href='https://www.php.net/' target="_blank"><img alt='PHP' src='https://img.shields.io/badge/PHP-100000?style=for-the-badge&logo=PHP&logoColor=7D02FF&labelColor=FFFFFF&color=000000'/></a> <a href='https://grafana.com/' target="_blank"><img alt='grafana' src='https://img.shields.io/badge/grafana-100000?style=for-the-badge&logo=grafana&logoColor=FD9800&labelColor=FFFFFF&color=000000'/></a> <a href='https://grafana.com/' target="_blank"><img alt='mysql' src='https://img.shields.io/badge/Mysql-100000?style=for-the-badge&logo=mysql&logoColor=001EFF&labelColor=FFFFFF&color=000000'/></a> <a href='' target="_blank"><img alt='HTML' src='https://img.shields.io/badge/HTML-100000?style=for-the-badge&logo=HTML&logoColor=FFFF00&labelColor=FFFFFF&color=000000'/></a> <a href='' target="_blank"><img alt='css' src='https://img.shields.io/badge/CSS-100000?style=for-the-badge&logo=css&logoColor=FFFF00&labelColor=FFFFFF&color=000000'/></a> <br> <a href='' target="_blank"><img alt='javascript' src='https://img.shields.io/badge/Javascript-100000?style=for-the-badge&logo=javascript&logoColor=FFFF00&labelColor=FFFFFF&color=000000'/></a> <a href='' target="_blank"><img alt='Node.js' src='https://img.shields.io/badge/Nodejs-100000?style=for-the-badge&logo=Node.js&logoColor=25FF08&labelColor=FFFFFF&color=000000'/></a> <a href='' target="_blank"><img alt='React' src='https://img.shields.io/badge/React-100000?style=for-the-badge&logo=React&logoColor=03D1ED&labelColor=FFFFFF&color=000000'/></a> <a href='https://easyeda.com/' target="_blank"><img alt='easyeda' src='https://img.shields.io/badge/easyeda-100000?style=for-the-badge&logo=easyeda&logoColor=03D1ED&labelColor=FFFFFF&color=000000'/></a> <a href='https://www.freecad.org/' target="_blank"><img alt='freecad' src='https://img.shields.io/badge/freecad-100000?style=for-the-badge&logo=freecad&logoColor=03D1ED&labelColor=FFFFFF&color=000000'/> </a> <a href='https://www.python.org/' target="_blank"><img alt='python' src='https://img.shields.io/badge/Python-100000?style=for-the-badge&logo=python&logoColor=FDED06&labelColor=FFFFFF&color=000000'/></a> <a href='https://httpd.apache.org/' target="_blank"><img alt='apache' src='https://img.shields.io/badge/Apache-100000?style=for-the-badge&logo=apache&logoColor=FF0000&labelColor=FFFFFF&color=000000'/></a> *** <!---server setup section---> <h2>SETTING UP YOUR SERVER:</h3> If you are using a linux debian based operating system like ubuntu then simply paste the following commands on your terminal and run them<br> <a href='https://www.apachefriends.org/' target="_blank"><img alt='xampp' src='https://img.shields.io/badge/Use_ xampp for-100000?style=for-the-badge&logo=xampp&logoColor=FD4704&labelColor=black&color=black'/></a><a href='https://www.microsoft.com/en-us/windows' target="_blank"><img alt='windows' src='https://img.shields.io/badge/windows_os-100000?style=for-the-badge&logo=windows&logoColor=02B4FF&labelColor=black&color=black'/></a> <h4> WEBSERVER SETUP: <br> <a href='https://www.debian.org/' target="_blank"><img alt='debian' src='https://img.shields.io/badge/setup_for debian based operating systems-100000?style=for-the-badge&logo=debian&logoColor=FF0000&labelColor=black&color=black'/></a> <br> PROJECT MADE ON <a href='https://ubuntu.com/' target="_blank"><img alt='ubuntu' src='https://img.shields.io/badge/Ubuntu-100000?style=for-the-badge&logo=ubuntu&logoColor=F75A00&labelColor=black&color=black'/></a> <br> </h4> <h6> CREATE A DIRECTORY(OPTIONAL) </h6> ```bash #open a location you can easily acess on your file structure cd /path to your loaction #create a project directory at that location mkdir project #open the folder cd project #create a server directory mkdir server #open server folder cd server #create a php file for the server gedit index.php #paste the server php code form the project repo in this file and save the file ``` <h6> PORT NUMBERS AND FIREWALL FOR REFERNCE: </h6> ```bash #sudo lsof -i :port number --> gives the port user #mysql:3306 #php:8000(not fixed but i use this) #grafana:3000 #To see if firewall is running sudo ufw status #Allow port that you are using for php webserver in my case i am using 8000 sudo ufw allow 8000 ``` <h6> APACHE: </h6> ```bash #update your system sudo apt update #install apcahe webserver sudo apt install apache2 #start apache sudo service apache2 start #enable apache to start at boot sudo systemctl enable apache2 #check if it is up and running sudo systemctl status apache2 ``` <h6> PHP: </h6> ```bash #update the system sudo apt update #install php sudo apt install php #check if installation is sucessfull php -v ``` <h6> Running the php server: </h6> ```bash #once you have fimished setting up the server ,to run teh php file use the following command, cd /path/to/the/folder/directory/where/you/have/your/php/file/for/the/server #it is a good practice to create a seperate folder for your server as mentioned above #run this to start the server,you will see all the incomming http requests on the terminal now php -S 0.0.0.0:8000 ``` <P> Now after you setup you server and it is running properly,<a href='https://github.com/Bhargav-U/ElevateHome/blob/main/test_code' target="_blank"><img alt='python' src='https://img.shields.io/badge/use_test code-100000?style=plastic&logo=python&logoColor=white&labelColor=black&color=black'/></a> file and run the main.py to test and understand the format in which data is being sent processes,how server is responding etc.Doing this will help you understand the esp code easily.Note that the code dosent include error handling so if you try to connect to server when it is offline you will face errors. </P> MYSQL: </h6> <P> if you are using a remote database then no need to do the mysql setup,simply chnage the credentials in the php code so that server connects to your database </P> ```bash #update the system sudo apt update #install mysql server and client sudo apt install mysql-server sudo apt install mysql-client #start mysql sudo systemctl start mysql #enable it at boot sudo systemctl enable mysql #check if it is up and running sudo systemctl status mysql #setup mysql installation sudo mysql_secure_installation #open mysql and check if setup is sucessfull sudo mysql -u root -p #install the php mysql extension ,if not installed sudo apt install php-mysql ``` <P> Run the below queries on the your mysql </P> ```sql CREATE DATABASE Home_data; USE Home_data; CREATE TABLE Current_home_state ( Room_id INT, Appliance_id TINYINT, State TINYINT ); INSERT INTO Current_home_state (Room_id, Appliance_id, State) VALUES (1, 1, 0), (1, 2, 0), (1, 3, 0), (1, 4, 0), (2, 1, 0), (2, 2, 0), (2, 3, 0), (2, 4, 0), (3, 1, 0), (3, 2, 0), (3, 3, 0), (3, 4, 0), (4, 1, 0), (4, 2, 0), (4, 3, 0), (4, 4, 0), (5, 1, 0), (5, 2, 0), (5, 3, 0), (5, 4, 0); CREATE TABLE Current_sensor_data ( Room_id INT, Sensor_id TINYINT, Sensor_name VARCHAR(255), Sensor_readings VARCHAR(255) ); INSERT INTO Current_sensor_data ( Room_id, Sensor_id, Sensor_name, Sensor_readings ) VALUES (1, 1, 'DHT11', ''), (2, 1, 'DHT11', ''), (3, 1, 'DHT11', ''), (4, 1, 'DHT11', ''), (5, 1, 'DHT11', ''); CREATE TABLE Wifi_data ( wifi_id INT, label VARCHAR(255), ssid VARCHAR(255), password VARCHAR(255) ); INSERT INTO Wifi_data (wifi_id, label, ssid, password) VALUES ( 1, 'default', 'ssid', 'password' ); CREATE TABLE Room_data ( Room_id INT AUTO_INCREMENT PRIMARY KEY, Room_name VARCHAR(255) DEFAULT "New Room", Mac VARCHAR(255) NOT NULL UNIQUE ); CREATE TABLE Appliance_data ( Room_id INT, Appliance_id INT, Appliance_name VARCHAR(255) ); INSERT INTO Appliance_data ( Room_id, Appliance_id, Appliance_name ) VALUES (1, 1, 'Device 1'), (1, 2, 'Device 2'), (1, 3, 'Device 3'), (1, 4, 'Device 4'), (2, 1, 'Device 1'), (2, 2, 'Device 2'), (2, 3, 'Device 3'), (2, 4, 'Device 4'), (3, 1, 'Device 1'), (3, 2, 'Device 2'), (3, 3, 'Device 3'), (3, 4, 'Device 4'), (4, 1, 'Device 1'), (4, 2, 'Device 2'), (4, 3, 'Device 3'), (4, 4, 'Device 4'), (5, 1, 'Device 1'), (5, 2, 'Device 2'), (5, 3, 'Device 3'), (5, 4, 'Device 4'); ``` <h6> GRAFANA: <h6> <P> Refer too grafana website to see how to install and configure it on your system </P> *** <!---esp setup section---> <h2>SETTING UP YOUR ESP:</h3> <p> -You can use a esp32 devlopment board,jumper wires,relay module(4 relays),switches,wires to handle ac current to make youself a circuit based on the generic circuit i have attached below<br> -You can use my gerber file named "Elevatehomegerber" to order your own pcb and make a custom designed project which doesnt have the tiring work of wiring etc,simply get the pcb,buy the components,solder them onto teh pcb and you are reday to go.<br> -You can also use the stl file to print a simple enclosure for the project by using the stl file named "Case".<br> -After you are done making your hardware setup follow the instructions below to program your esp.<br> -Refer to the <a href='https://github.com/Bhargav-U/ElevateHome/blob/main/WiringSetupManual.pdf' target="_blank"><img alt='linux' src='https://img.shields.io/badge/SETUP_MANUAL-100000?style=for-the-badge&logo=linux&logoColor=00E2FF&labelColor=black&color=black'/></a> for more instructions on genral setup and wiring. </p> <!----images for fun---> <h3>PCB PROTOTYPE:</h3> ![raw](https://drive.google.com/uc?id=1RBd2ZmTgvuzbGFZQTlqQlUxnjKq3edtd) ![Image 1](https://drive.google.com/uc?id=1Gu9-k0qEiEavpGbncVH5dmDsF5wCb9Fu) ![Image 2](https://drive.google.com/uc?id=1I7FXmiWv21L09XKe7GRvesDb1F20xc1e) *** *** <!---instruction for uploading code on esp---> <h2>PROGRAMMING THE PROJECT:</h2 The below instructions are for programming your project using arduino ide.<br> Note:Mkae sure that esp32 boards is insatlled on your ide<br> <p> -It dosent matter if you made your own circuit or used the custom pcb your project will have a boot and a reset pin<br> -To upload the code you need to make sure that you esp is in boot mode<br> -Power on your esp and connect it to your laptop either using a ftdi or a usb cable<br> -Go to the boards section and select esp32doitdevkit(depends on what you are using but in my case i used this)<br> -Select the port to which the esp is connected and on serial monitor set teh baud rate to 115200<br> -No look at the serial monitor,press and hold the boot button,now keep holding teh boot button and press and release the reset button you will see a messge saying "waiting for download",now relase the boot button and click on the uplaod button on the ide<br> -Once code is uploaded click the reset button<br> -In the below explanation section i have explained which code to upload and changes you need to do<br> </p> *** <!---explanation section---> <h2>SAVING YOUR WIFI CREDENTIALS TO YOUR EEPROM:</h3> ```c++ String jsonData = "{\"Ssid\":\"Put_your_ssid_here\",\"Password\":\"Put_your_password_here\"}"; ``` <p> Find this line in the save_wifi_factory.ino code and modify the ssid and passowrd.After you do that upload the code and hit reset now you should see that your ssid and passowrd are written into eeprom.If you are using a local server then make sure you put the wifi credentials of the local network.If you are using a remote server you can put any random values here.Make sure to note down what ever credentials you put here.Once the uploading of the code is done ,if you are your local environemnt you can proceed to uplad the main code and start your work.If you are using a remote server then make sure that what ever ssid and passowrd you saved into the esp are vaild,if not disconnect power to the esp,open your dashboard,make sure dashboard is connected to your server,go to the settings page,in the wifi settings add your wifi ssid and password and save them.once that is done now open you mobile hotspot aand change the name and password to match teh ssid and password in the eeprom,now turn you mobile hotspot and power on your esp.Now after few seconds you esp will connect to the mobile hotspot ,then to the server and fetch the saved credentials and automatically update the inbuilt ssid and password and will connect to the specified wifi network. </p> <h2>ESP32 CODE EXPLAINED:</h3> ```c++ #include <WiFi.h> #include <HTTPClient.h> #include <EEPROM.h> #include <Adafruit_Sensor.h> #include <DHT.h> ``` <p> This includes all the required libraries </p> ```c++ // Define the pin and sensor type for DHT sensor #define DHTPIN your_sensor_pin #define DHTTYPE your_dht_type DHT dht(DHTPIN, DHTTYPE); float temperature, humidity; // Flags to track the device and server status bool deviceOnline = false; bool serverOnline = false; // EEPROM settings const int eepromSize = 512; const int eepromStartAddress = 0; // Variables to store Wi-Fi credentials String savedSsid = ""; String savedPassword = ""; // HTTP client for making server requests HTTPClient http; const char * serverAddress = "your server address"; bool serverWasOffline = false; String Room_id = ""; // Number of pins and their corresponding switch and relay pins const int numPins = 4; const int switchpins[numPins] = { switch pin 1, switch pin 2, switch pin 3, switch pin 4 }; const int relaypins[numPins] = { relay pin 1, relay pin 2, relay pin 3, relay pin 4 }; // State variables String currentState = "0000"; // Current switch states String pastState = "0000"; // Previous switch states String relayStates = "0000"; // Relay control states ``` <p> After we include the libraries we are going to create the requied variables and constants this includes declaring the sensor pins,switch pins,relay pins, based on your circuit modify the pin numbers.next we include arrays to store the state of the devices as string which helps us to compare the pasta nd current states in a simple and straight forward way.As usual we created a global http object that can be acessed throught the code.some boolean variables to save the states.Th saved wifi credentials are intially empty but the data in teh eeprom is written into them ,so before uploading the automation code make sure to upload the wifi_factory_setting code and write your wifi credentials.If youa re working in a local environment it is a good practice to put the wifi credentials of the network the server is connected to to,else you can use any wifi credentials. </p> ```c++ //RTOS TASKS TaskHandle_t task1Handle = NULL; TaskHandle_t task2Handle = NULL; ``` <p> Here we created two tasks,this is basically an rtos implemnetation.The idea of having two tasks is to increase the responsiveness of the code.When the server is offline there might be a little delay in the response,as the esp firsts checks for server avilabilty and then proceeds into modifing the relay states and managing the switch states.so adding a two tasks where one handles the local logic to reading switches and other handing the server will be very efficient. </p> ```c++ // Function to write a string to EEPROM void writeStringToEEPROM(int addr, const String & data) { for (int i = 0; i < eepromSize; i++) { EEPROM.write(i, 0); // Clear the EEPROM } for (size_t i = 0; i < data.length(); i++) { EEPROM.write(addr + i, data[i]); // Write the string to EEPROM } EEPROM.write(addr + data.length(), 0); // Null-terminate the string EEPROM.commit(); } // Function to read a string from EEPROM String readStringFromEEPROM(int addr) { String data = ""; char c; do { c = EEPROM.read(addr); if (c != 0) { data += c; addr++; } } while (c != 0); return data; } // Function to write Wi-Fi credentials to EEPROM void writeWiFiCredentialsToEEPROM(const String & json) { writeStringToEEPROM(eepromStartAddress, json); } ``` <p> These function basically write and read the eeprom to get teh saved wifi credentials and to write the new credentials </p> ```c++ // Function to connect to Wi-Fi bool connectToWiFi(const char * ssid, const char * password) { WiFi.begin(ssid, password); int attempt = 0; while (WiFi.status() != WL_CONNECTED && attempt < 5) { Serial.println("Connecting to WiFi..."); attempt++; delay(1000); } if (WiFi.status() == WL_CONNECTED) { Serial.println("Connected to WiFi"); deviceOnline = true; } return WiFi.status() == WL_CONNECTED; } ``` <p> This function is used to connect to the wifi,it saves unessary waiting time by only trying the connection for limited tries. </p> ```c++ //Function to create a handshake between teh device and server void sendMacHandshake() { uint8_t mac[6]; WiFi.macAddress(mac); String macAddress = ""; for (int i = 0; i < 6; i++) { macAddress += String(mac[i], 16); if (i < 5) { macAddress += ":"; } } String jsonData = "{\"Mac\":\"" + macAddress + "\"}"; http.begin(serverAddress); http.addHeader("Content-Type", "application/json"); int httpResponseCode = http.POST(jsonData); if (httpResponseCode > 0) { String response = http.getString(); if (response.indexOf("Room_id") != -1) { int startIdx = response.indexOf("Room_id") + 9; int endIdx = response.lastIndexOf("}"); String room_id_str = response.substring(startIdx, endIdx); Room_id = room_id_str; } } http.end(); } ``` <p> Once the connection is established the esp sends as mac adress handshake in which it sends its mac address to the server.The server will identify the esp based on the mac.If the esp is already saved server will return the assigned room number if not it will assign and new room number save the mac and return the new room number.This logic is responsible for the simple setup process of this project </p> ```c++ // Function to check device status void checkDeviceStatus() { if (WiFi.status() == WL_CONNECTED) { deviceOnline = true; } else { deviceOnline = false; } } // Function to check server status void checkServerStatus() { checkDeviceStatus(); Serial.println("Checking server status..."); if (deviceOnline) { if (http.begin(serverAddress)) { int httpCode = http.GET(); if (httpCode == 200) { String serverResponse = http.getString(); if (serverResponse.indexOf("Server alive!") != -1) { serverOnline = true; sendMacHandshake(); } } else { serverOnline = false; } http.end(); } } else { Serial.println("Failed to connect to the server"); serverOnline = false; } if (!serverOnline) { serverWasOffline = true; } if (serverWasOffline && serverOnline) { String postData = "{\"Case\": 1, \"Room\": \"" + Room_id + "\", \"States\": \"" + currentState + "\"}"; serverWasOffline = false; http.begin(serverAddress); http.addHeader("Content-Type", "application/json"); http.POST(postData); http.end(); Serial.println("Server was offline, now it's back online"); } } // Function to print device and server status void printStatus() { Serial.print("Device Status: "); Serial.println(deviceOnline ? "Online" : "Offline"); Serial.print("Server Status: "); Serial.println(serverOnline ? "Online" : "Offline"); } ``` <p> This part of the code is used to check the status of the device and the server.Decice status referes to the esp being connected to wifi and the server status is server's availabilty.When the device is offline the esp attempts to reconnect to the wifi.The logic of the server check is very simple,the esp cheks the servers status and sets a flag in case the server is online,the next time when the server is back online esp checks for the flag ,if flag is enabled esp sends the current device state and then resets the flag.This is to ensure that any changes made manually on the esp when the server was offline are reflected properly on the server. </p> ```c++ // Function to handle Wi-Fi void handleWiFi() { // Extract Wi-Fi credentials from EEPROM String savedJson = readStringFromEEPROM(eepromStartAddress); int ssidStart = savedJson.indexOf("Ssid") + 7; int ssidEnd = savedJson.indexOf("\",\"Password\""); int passwordStart = savedJson.indexOf("Password") + 11; int passwordEnd = savedJson.length() - 2; savedSsid = savedJson.substring(ssidStart, ssidEnd); savedPassword = savedJson.substring(passwordStart, passwordEnd); Serial.println("WiFi details from EEPROM:"); Serial.println("SSID: " + savedSsid); Serial.println("Password: " + savedPassword); // Try connecting with saved credentials if (connectToWiFi(savedSsid.c_str(), savedPassword.c_str())) { Serial.println("Saved credentials worked, attempting to proceed to server verification"); http.begin(serverAddress); http.addHeader("Content-Type", "application/json"); String jsonData = "{\"Case\": 6, \"Room\": \"" + Room_id + "\", \"Request\": \"5\"}"; String serverSsid = ""; String serverPassword = ""; String serverResponse = ""; int httpResponseCode = http.POST(jsonData); if (httpResponseCode == HTTP_CODE_OK) { serverOnline = true; serverResponse = http.getString(); int serverSsidStart = serverResponse.indexOf("ssid") + 8; int serverSsidEnd = serverResponse.indexOf("\",\"password\""); int serverPasswordStart = serverResponse.indexOf("password") + 12; int serverPasswordEnd = serverResponse.length() - 2; serverSsid = serverResponse.substring(serverSsidStart, serverSsidEnd); serverPassword = serverResponse.substring(serverPasswordStart, serverPasswordEnd); Serial.println("WiFi details from Server:"); Serial.println("SSID: " + serverSsid); Serial.println("Password: " + serverPassword); if (serverSsid != savedSsid || serverPassword != savedPassword) { Serial.println("Trying server credentials"); if (connectToWiFi(serverSsid.c_str(), serverPassword.c_str())) { writeWiFiCredentialsToEEPROM(serverResponse); ESP.restart(); } else { Serial.println("Server credentials are wrong, trying saved ones"); connectToWiFi(savedSsid.c_str(), savedPassword.c_str()); } } else { Serial.println("Server and device credentials match"); } } else { Serial.println("Server was offline"); serverOnline = false; } } } ``` <p> This code handles the wifi connection.Initially esp gets the data from the eeprom uses those credentials to connect to teh wifi,if the connection is sucessfull it asks the server for the saved ssiss and passwords in the server,it checks the ssid and password from the server ,if it was able to connect to wifi then the new credentials are replaced in the place of old credentials and the board is reseted.so from next time the board simply uses these new credentials.This lgic is what is responsible for the easy wifi connection setup in the dashboard </p> ```c++ // Function to control relays void controlRelays(String state) { for (int i = 0; i < numPins; i++) { int relayState = state.charAt(i) - '0'; // Convert char to integer digitalWrite(relaypins[i], relayState); } } ``` <p> This will update the relay pins to the recent relay states </p> ```c++ // Function to get switch states void getSwitchStates() { if (currentState != pastState) { pastState = currentState; Serial.println("State changed to: " + currentState); if (deviceOnline && serverOnline) { String postData = "{\"Case\": 1, \"Room\": \"" + Room_id + "\", \"States\": \"" + currentState + "\"}"; http.begin(serverAddress); http.addHeader("Content-Type", "application/json"); int httpResponseCode = http.POST(postData); if (httpResponseCode > 0) { String response = http.getString(); Serial.println("HTTP Response Code: " + String(httpResponseCode)); Serial.println("Response: " + response); } else { Serial.println("Error on HTTP request"); } http.end(); } else { Serial.println("Server offline, post data not sent"); } } } ``` <p> This will look at the past switch pin states and compare it wil the current state,incase if they dont match the past state is updated to the current state and the current state is updated to the server if server and device are online.if not just the paststate string will be updated and no dat is sent to the server. </p> ```c++ // Function to ask for relay states from the server void askForRelayStates() { String jsonData = "{\"Case\": 6, \"Room\": \"" + Room_id + "\", \"Request\": \"1\"}"; http.begin(serverAddress); http.addHeader("Content-Type", "application/json"); int httpResponseCode = http.POST(jsonData); if (httpResponseCode > 0) { String response = http.getString(); Serial.println("HTTP Response Code: " + String(httpResponseCode)); Serial.println("Response: " + response); // Extract the relay states from the response and update relayStates int startIdx = response.indexOf("\"State\":\"") + 9; int endIdx = response.lastIndexOf("\"}"); relayStates = response.substring(startIdx, endIdx); // Remove commas to get "0000" format relayStates.replace(",", ""); Serial.println("Relay States: " + relayStates); } else { Serial.println("Error on HTTP request"); } http.end(); } ``` <p> This will ask the server for the current device states as saved on the database,any changes in the dashboard modify the database which inturn will be know to the esp through serever vai this function,If the response from the server is diffrent from teh current relay sates then teh relay states is updated.This function only runs when server and device are online and that logic is handled in another code section </p> ```c++ // Function to send sensor data to the server void sendSensorDataToServer() { if (deviceOnline && serverOnline) { temperature = dht.readTemperature(); humidity = dht.readHumidity(); HTTPClient http; http.begin(serverAddress); http.addHeader("Content-Type", "application/json"); String jsonPayload = "{\"Case\": 5, \"Room\": \"" + Room_id + "\", \"Sensor\": \"1\", \"Sensor_name\": \"DHT\", \"Readings\": \"t/" + String(temperature) + "/h/" + String(humidity) + "\"}"; int httpResponseCode = http.POST(jsonPayload); if (httpResponseCode > 0) { Serial.print("HTTP Response code: "); Serial.println(httpResponseCode); } else { Serial.print("HTTP Error: "); Serial.println(httpResponseCode); } http.end(); } } ``` <p> As we know that we have sensor here,readings from the sensor are updated to the server when server and device are online. </p> ```c++ //RTOS task handling local logic(switches) void Manual(void * pvParameters) { while (1) { String newState = ""; for (int i = 0; i < numPins; i++) { newState += String(digitalRead(switchpins[i])); } if (newState != currentState) { currentState = newState; relayStates = currentState; Serial.println("local action handled!"); controlRelays(relayStates); } vTaskDelay(1000 / portTICK_PERIOD_MS); } } ``` <p> This is the rtos implementaion of a task that handles functions like reading the changes in the switches and updatin the local states and the relay states </p> ```c++ //RTOS task handling connection logic(wifi automation logic) void Connected(void * pvParameters) { while (1) { checkServerStatus(); printStatus(); if (!deviceOnline) { handleWiFi(); } getSwitchStates(); sendSensorDataToServer(); if (!serverOnline) { relayStates = currentState; } else { askForRelayStates(); controlRelays(relayStates); } vTaskDelay(1000 / portTICK_PERIOD_MS); } } ``` <p> This is the rtos iplementation of a task that functions like,asking server for relay states,checking for status,reconnection to wifi,managinf relys,sending sensor data to server </p> ```c++ void setup() { Serial.begin(115200); // Initialize serial communication with baud rate 115200 dht.begin(); for (int i = 0; i < numPins; i++) { pinMode(switchpins[i], INPUT_PULLUP); } String newState = ""; for (int i = 0; i < numPins; i++) { newState += String(digitalRead(switchpins[i])); } currentState = newState; for (int i = 0; i < numPins; i++) { pinMode(relaypins[i], OUTPUT); // Set relay pins to OUTPUT } EEPROM.begin(eepromSize); handleWiFi(); checkServerStatus(); if(!serverOnline){ relayStates = currentState; controlRelays(relayStates); } xTaskCreatePinnedToCore(Manual, "Manual", 2048, NULL, 1, & task1Handle, 1); xTaskCreatePinnedToCore(Connected, "Connected", 4096, NULL, 1, & task2Handle, 0); } void loop() { //Nothing runs in loop,two independent tasks in two diffrent cores run the show } ``` <p> These are the setup and the loop functions.we initate serial communication,begin sensor readings,initate the switches and relays,manage the wifi handling.After we are done handiling the wifi there is a small logic that manages the initiation of the relays.If we are online then we simply set the relay states to that in the server,if not we simply set it to the local switch state,thus maintaining the integrity.After we do that we just create two taks that handle the tasks that was mentioned above.These tasks are running on two diffrent cores so they are running indepent to each other and one failing dosent affect other one and what ever might be the case there is stability of the system. </p> *** <!---php code explanation---> <h2> EXPLANATION FOR THE SERVER PHP CODE: </h2> ```php // Database credentials $host = "server address"; $username = "username"; $password = "password"; $database = "Home_data"; ``` <p> These are variables for server credentials </p> ```php // Function to establish a database connection function connectToDatabase($host, $username, $password, $database) { $conn = new mysqli($host, $username, $password, $database); if ($conn->connect_error) { die("Database connection failed: " . $conn->connect_error); } return $conn; } ``` <p> This function will handle the connection to the database server </p> ```php if ($_SERVER["REQUEST_METHOD"] === "GET") { // If it's a GET request, respond with "Server alive!" echo "Server alive!"; } ``` <p> If server receives any get request it responds by saying it is alive </p> ```php elseif ($_SERVER["REQUEST_METHOD"] === "POST") { // Get the raw HTTP request data $request_data = file_get_contents("php://input"); // Decode the JSON request data $json_data = json_decode($request_data, true); if ($json_data !== null) { // Establish the database connection $conn = connectToDatabase($host, $username, $password, $database); if (isset($json_data["Mac"])) { // Check if the "Mac" key exists in the JSON data $mac = $json_data["Mac"]; // Check if the provided Mac exists in the database $check_sql = "SELECT Room_id FROM Room_data WHERE Mac = ?"; $check_stmt = $conn->prepare($check_sql); $check_stmt->bind_param("s", $mac); $check_stmt->execute(); $check_stmt->bind_result($room_id); $check_stmt->fetch(); $check_stmt->close(); if ($room_id) { // If the Mac exists, return the corresponding Room_id $response = ["Room_id" => $room_id]; echo json_encode($response); } else { // If the Mac doesn't exist, insert a new entry and return the Room_id $insert_sql = "INSERT INTO Room_data (Mac) VALUES (?)"; $insert_stmt = $conn->prepare($insert_sql); $insert_stmt->bind_param("s", $mac); $insert_stmt->execute(); $new_room_id = $insert_stmt->insert_id; $insert_stmt->close(); $response = ["Room_id" => $new_room_id]; echo json_encode($response); } // Close the database connection $conn->close(); } ``` <p> Now incase if the request is a post request then teh server will first verify if it is a mac handshake,mac handshake is basically the esp sending its mac.Mac address is used to identify the existing esps and teh new esp.So when a new mac address is identified a new entry for that address is created and the number of that address is returned.If the address already exists then server simply retuns the number for the existing mac address,here each esp is identified as a room and each esp can control 4 applinances.the name of the esp is given from the room in which it is being used </p> ```php elseif ($json_data !== null && isset($json_data["Case"])) { // Establish the database connection $conn = connectToDatabase($host, $username, $password, $database); switch ($json_data["Case"]) { . . . . . } } ``` <p> This will handle all other conditions,there is a variable called case.so The case variable will tell the server about the information that is being sent to the server </p> <!---UI---> <h2> USER INTERFACE: </h2> <p> You can control this project using a web dashboard.The files for the webdashboard has been are uploaded and you can use them ,just make sure to put the server address properly in the javascript code(You just need to change the server address based on your server address).When teh project is connected to wifi ,it iwll automatically show up in your dashboard considering that the server address is correct.Now you simply need to go to the rooms page where you will see a new room pop up.no you can configure the new room,appliance names through the room settings in the settings page.So it's just plug and play.everytime a new device tries to connect to the server it is identified through its mac address and given a room id ,so scaling up multiple nodes is easy and quick as each room has its unique adressing.<br> </p> <h3> Configuring the project at first connection to the server: </h3> once the project is powered on it iwll automatically connect to the server and in the rooms section of the dashbord,you will see a new room popup like the one in the image below, ![ROOMS](https://drive.google.com/uc?id=1X1JxEKE80KOUFEJobqhScXs0WSc_upsN) you can chnage the names of the appliance and room,by simply going into the room settings in the settings section of the dashboard,here you simply need to enter the room id od the room you want to configure.The room id is the same teh position of that room in the rooms section.once you set the names ,click on save to make the changes. ![SETTINGS PAGE](https://drive.google.com/uc?id=16Eivd69Q9szRMPJQMQuR2iUJ8mO45xpF) ![ROOM SETTINGS](https://drive.google.com/uc?id=1MIZUK0lfzrg9KcmPFedoKyWSjtVnUuOm) Now after you configure your room,you can head back to the rooms section and select your room,control teh appliance using the toggle switches ![ROOM](https://drive.google.com/uc?id=18E0XaiUxrRXX1GMdDor9e1qpyGRVMJoC) *** <p> If you are planning to make your self a pcb prototype you can refer to the componets list below,you will find the same components i used for this project,unaffliated links.These worked best for me<br> <p align = "center"> <a href='https://drive.google.com/file/d/1veKbc5ochvP25u9h9z88X4OARTv1YUqS/view?usp=sharing' target="_blank"><img alt='' src='https://img.shields.io/badge/Products-100000?style=for-the-badge&logo=&logoColor=white&labelColor=black&color=FF0000'/></a> </p> </p> *** Feel free ask me your questions regarding this project and help me improve my project by providing your valuble suggestions.i know there is a lot of scope for me to improve this project,i am very satisfied that i was able to make a idea of mine a reality.working on the hardware and software i gained a lot of experince regarding iot,microcontrllers,coding,web dev,bits and pieces of ubuntu,hosting webservers,http protocol.i was also able to brush my skills in sql,webdev,php,c.It was a great experience learning pcb designing and cad.but,to make it clear ,there is a lot of scope for improvment and that is where i need people to help me learn. I appreciate your intrest in my project,please checkout the discussions and also feel free to connect to me. [![Email](https://img.shields.io/badge/Email-unnambhargav%40gmail.com-black?style=flat-square&logo=gmail)](mailto:unnambhargav@gmail.com) <p align = "center"> Made with help from:<br> <a href='https://github.com/vatsav123' target="_blank"><img alt='GITHUB' src='https://img.shields.io/badge/VATSAV-100000?style=for-the-badge&logo=GITHUB&logoColor=white&labelColor=FF0000&color=FFFFFF'/></a><br> <a href='https://github.com/nithyapandurangan' target="_blank"><img alt='GITHUB' src='https://img.shields.io/badge/NITHYA-100000?style=for-the-badge&logo=GITHUB&logoColor=white&labelColor=A900FD&color=FFFFFF'/></a><br> </p> ***
A simple home automation project using esp32
arduino,css,easyeda,embedded-c,esp32,freecad,grafana,home-automation,html,http
2023-10-28T08:27:30Z
2024-03-09T19:28:59Z
null
1
0
62
0
1
3
null
null
JavaScript
UmutOzcan/Restaurant-Menu
main
# Asian Kitchen's Menu ![Home Screen](assets/Home.png) ## Restaurant Menu with Javascript I developed a simple restaurant menu using HTML, CSS and JS, which form the foundations of the web. ![Korea Pick Screen](assets/Korea.png)
Basic Restaurant Menu with JS
javascript,restaurant-menu
2023-10-13T17:04:21Z
2023-12-17T20:00:07Z
null
1
0
11
0
0
3
null
null
JavaScript
mazimcoder/next_14_test
main
# Payload Message using Server Actions An example using Next.js 14 with Server Actions to sign a token and verify it natively. Besides, setting and reading cookies on the server and client side. <br/> <img src="./public/readme_0.jpg" > <br/> ## Getting Started - install dependencies ```bash yarn install ``` - start the server ```bash yarn dev ``` - open [http://localhost:3000](http://localhost:3000) in your browser - testing cookies [http://localhost:3000/users?pag=10](http://localhost:3000/users?pag=10) where pag is the pagination number of users <br/> ### Star this repo if you like it! :star: :heart: ### Author: [Mustafa Azim](https://github.com/mazimcoder)
Demo of Server Actions including native cookies API in Next.js 14
javascript,nextjs,react,reactjs,serveractions,typescript,nextjs14,nextjs14-projects,nextjs14-starter,nextjs14-typescript
2023-11-07T13:56:33Z
2023-11-08T23:33:25Z
null
1
0
13
0
1
3
null
MIT
TypeScript
Microeinstein/plain-scripts
trunk
# Plain scripts <!-- On GitHub, the index/TOC is automated and located in the left corner --> <!--## About--> Curated collection of scripts I have written or [discovered](/unix/x64v-check.awk) (rare) in the last few years, most of which are independent standalone programs (no build config, separate files... — hence the "plain"). The monorepo strategy was chosen for this reason, and to avoid maintaining scattered gists and snippets across the web. ## Content General notes: - quality, code style and localization will vary significantly from file to file - system dependencies are not always checked - most installable scripts will point to `~/.local/scripts` for convention - some configurations are stored inside the scripts themselves - some scripts don't even have usage info For more information, see the README for each respective directory and the source of each script; not all files are documented. ## Download It's advisable to clone the repository to `~/.local/scripts` (or other locations, and making a symlink right after); I chose it to avoid littering my home or other places intended for different purposes. ### Cloning specific scripts With the following snippet, it's possible to avoid cloning the entire repository while also keeping your local files synchronized through `git pull`: ```bash git clone --depth 1 [--branch bb] --no-checkout url cd repo for p in "${repo_paths[@]}": git sparse-checkout set "$p" git checkout [bb] ``` ## Contributing Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. ## License <!-- license filenames supported by github: https://github.com/licensee/licensee/blob/main/lib/licensee/project_files/license_file.rb --> [MIT](COPYING)
Curated collection of scripts I have written or discovered in the last few years.
bash,bashrc,desktop,education,http-handlers,javascript,kde,latex,linux,lua
2023-10-31T16:00:26Z
2023-10-31T15:58:39Z
null
1
0
19
0
0
3
null
MIT
Shell
devculture4you/devculture4you.github.io
main
<br /> <h2 align="center">Official Website of Dev Culture</h2> This website is built using HTML, CSS, and JavaScript. <b>HTML</b> is the markup language that is used to structure the content of a web page. It defines the elements of a web page, such as headings, paragraphs, images, and links. <br><br> <b>CSS</b> is the style sheet language that is used to control the appearance of a web page. It defines the properties of HTML elements, such as their font, color, and size. <br><br> <b>JavaScript</b> is the programming language that is used to add interactivity to a web page. It can be used to create animations, validate forms, and handle other user interactions. <br><br> <a href="https://devculture4you.github.io/"><strong>➥ Live Demo</strong></a> </div> <br /> ### Demo Screeshots ![s1](https://github.com/devculture4you/devculture4you.github.io/assets/143902888/6dc9f761-9d19-47ef-ae24-82c9ac5a59fd) ![s2](https://github.com/devculture4you/devculture4you.github.io/assets/143902888/f751d20e-fd76-4e7c-8478-7a15d60526fb) <br><br> ### Prerequisites Before you begin, ensure you have met the following requirements: * [Git](https://git-scm.com/downloads "Download Git") must be installed on your operating system. <br><br> ### Run Locally To run **Desinic** locally, run this command on your git bash: Linux and macOS: ```bash sudo git clone https://github.com/devculture4you/devculture4you.github.io.git ``` Windows: ```bash git clone https://github.com/devculture4you/devculture4you.github.io.git ``` <br><br> ### Usage The website can be used to learn more about your startup, DevCulture, and the development services that you offer. Visitors can also contact you through the contact form on the website. <br><br> Contributing We encourage you to contribute to this project. If you have any suggestions or improvements, please feel free to open a pull request. <br><br> ### Contact If you want to contact with me you can reach me at devculture4you@gmail.com <br><br> ### License This project is **free to use** and does not contains any license. <br><br> ### Credits This website was created by templatemo
DevCulture is a freelancing services startup that provides development services. This repository contains the code for our website, which is built using HTML, CSS and Javascript. We encourage you to explore the code and contribute to our project.
agency-website,css,html,javascript,landingpage,portfolio,startup,website,devculture
2023-10-26T18:30:52Z
2023-10-27T18:35:48Z
null
2
0
3
0
0
3
null
null
JavaScript
Relepega/doujinstyle-downloader
main
# <center> Doujinstyle Downloader </center> ![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/relepega/doujinstyle-downloader) ![GitHub tag checks state](https://img.shields.io/github/checks-status/relepega/doujinstyle-downloader/HEAD) ![GitHub Release](https://img.shields.io/github/v/release/Relepega/doujinstyle-downloader) [![Go Report Card](https://goreportcard.com/badge/github.com/relepega/doujinstyle-downloader)](https://goreportcard.com/report/github.com/relepega/doujinstyle-downloader) [![codebeat badge](https://codebeat.co/badges/4fd08f5a-b2d8-49b9-b0d4-a37cd6f6c3dc)](https://codebeat.co/projects/github-com-relepega-doujinstyle-downloader-main) A User-friendly app made for effortlessly downloading music from various sources Supported sources written in Go, using HTML Templates. ## Table of content - [doujinstyle-downloader](#doujinstyle-downloader) - [Table of content](#table-of-content) - [Why](#why) - [Supported sources](#supported-sources) - [Installation](#installation) - [Usage](#usage) - [Build](#build) - [Contributing](#contributing) - [instructions](#instructions) - [QnA](#QnA) ## Why Due to the fact that during conventions and other events there is a surge in album publications, I wasn't able to keep up with the releases while downloading manually. ## Supported sources - [doujinstyle](https://doujinstyle.com/) - [sukidesuost](https://sukidesuost.info/) ## Installation I will "officially" build for these OSes and architectures: Windows (x64), Linux (x64) and MacOS (ARM). If you want to run this program on another os/arch, you have to build it yourself. More informations [in the build section](#Build). You can download it [in the releases page](https://github.com/Relepega/doujinstyle-downloader/releases). To install the app, you just need to download the release zip, unzip it inside a folder with a name you can remember (optional), then open the app! No installation required! ## Usage **Prerequisite for Arch Linux users**: you need to install the `playwright` package from the AUR. 1. Open the application. 2. Navigate to [http://127.0.0.1:5522/](http://127.0.0.1:5522/). 3. Get the ID of the music you want to download from the page url and copy it (e.g: in this url `https://doujinstyle.com/?p=page&type=1&id=22816` the id is `22816`) - As of v0.3.0, the downloader works even with a full URL. 4. Paste the ID into the input field of the WebUI and press the "Add download task" button. 5. Wait for the download to complete. After that, the box should be moved into the Ended Tasks column. 6. If the download succeds, the box will have a green-ish background color. If it fails, said color will be red-ish. - If the download fails, there will be a box that displays the encountered error with a button that allows you to copy it. You can use it to fill a bug report later! 7. Profit! ## Build To build the app yourself, follow these steps: 0. (Arch Linux only): install the `playwright` package from the AUR. 1. Install these packages to get started: `git`, `go`, `make`. 2. Clone the repo `git clone https://github.com/Relepega/doujinstyle-downloader.git`. 3. Run the command `go get && make`. You will find the built binaries into the Build folder. 4. Done! ## Contributing I welcome any and all contributions! Here are some ways you can get started: 1. Report bugs: If you encounter any bugs, please let us know. Open up an issue and let us know the problem. 2. Contribute code: If you are a developer and want to contribute, follow the instructions below to get started! 3. Suggestions: If you don't want to code but have some awesome ideas, open up an issue explaining some updates or imporvements you would like to see! 4. Documentation: If you see the need for some additional documentation, feel free to add some! ### instructions 1. Fork this repository 2. Clone the forked repository 3. Add your contributions (code or documentation) 4. Commit and push 5. Create a Pull Request 6. Wait for it to be merged ### QnA **Q**. I get the following error: `listen tcp ...: bind: An attempt was made to access a socket in a way forbidden by its access permissions.`. How do i fix it? **A**. The error is either caused by another process using the port 5522, or by HyperV. To fix it you have 3 choices: - By stopping the process that is using that port app. - (Hyper-V only) By using the command `Restart-Service hns` in a powershell prompt. - Change the application port in the `config.toml` file (you can edit it with a notepad app) If none of these helps you out, you can open a new issue. You need to accurately describe what the issue is, your os, os version, app version and the steps to reproduce the issue (if any). **Q**. I get the following error: `listen tcp ... bind: The requested address is not valid in its context.` How do i fix it? **A**. Change the `Host` value in the [server] section in the config file to a valid IP address. Either change it to 127.0.0.1 if you're unsure of what to do or use the valid current network IP address of your device.
easily download your favorite music from doujinstyle
go-template,golang,http-server,webui,javascript,js,server-sent-events,sse
2023-10-23T21:32:37Z
2024-05-14T10:00:10Z
2024-04-15T13:19:47Z
1
8
135
0
1
3
null
MIT
Go
PhilipBuresh/Leap-and-Run
main
# Leap-and-Run <b>[Play!](https://philipburesh.github.io/Leap-and-Run/)</b><br> --------------------------------------------------------------------<br> - <h2><b>You must complete the level before the door closes and kill the Boss at the end.</b></h2><br> <b>COMING SOON</b><br> - <b>NEW Dungeon - SteamPunk</b><br> <b>LAST UPDATE (1.1)</b><br> - <b>ADDED - SteamPunk</b> Dungeon preview<br> - <b>MULTIPLAYER Mode ADDED</b><br> - <b>HONEY WALL ADDED (you can slide/jump on walls)</b><br> - <b>JUMP PAD ADDED (now you can do 4 block jump)</b><br> - Player 1 -> <b> W A S D Space</b> (punch) - Player 2 -> <b>⬆️ ➡️ ⬇️ ⬅️ Enter</b> (punch) - Darkness now works in Multiplayr Mode<br> - Crimson Reaper (Boss) now has in Multiplayer Mode 1.5x more HP<br> - Boss targets nearest player in Multiplayer Mode<br> --------------------------------------------------------------------<br> ![player_an](https://github.com/PhilipBuresh/Leap-and-Run/assets/114904886/c5094b69-b54d-4cf5-a6b2-c2112b94bd09) ![output-onlinegiftools](https://github.com/PhilipBuresh/Leap-and-Run/assets/114904886/3f542c81-fdb6-4717-821a-9dbf8fa37242) ![output-onlinegiftools (11)](https://github.com/PhilipBuresh/Leap-and-Run/assets/114904886/e0a6d9a6-fb1a-4cbf-904f-56745ac32902) ![output-onlinegiftools (1)](https://github.com/PhilipBuresh/Leap-and-Run/assets/114904886/c9052834-06c6-471e-b6b7-6424205927d9)<br> --------------------------------------------------------------------<br> <h2>Gameplay and Showcase (Level 14)</h2><br> https://github.com/PhilipBuresh/Leap-and-Run/assets/114904886/092f0ebd-5416-40a0-bb23-ea8f1d26ae39
Escape from the castle 🏰
2d,javascript,jump-game,platformer,leap-and-run
2023-10-22T13:17:10Z
2024-05-19T19:15:31Z
null
1
0
222
0
0
3
null
null
JavaScript
heisjuanda/portfolio
main
# Features: - Display my professional profile, including a brief bio and contact information. - Showcase a curated selection of my projects, complete with descriptions. - Highlight my technical skills, design expertise, or other strengths. - Provide insight into my education, work history, and certifications. - Offer a contact form for reaching out and connecting with me. - Fully responsive design for a seamless experience on all devices. # Usage: - Clone or fork this repository to create your own personal portfolio. - Customize the content, projects, and styles to make it your own. - Host your portfolio using GitHub Pages or your preferred hosting platform. # Credits: This portfolio is a result of the collective support and encouragement of my friends and family who have been instrumental in my path of learning and skill improvement. Their unwavering belief in my potential, guidance, and motivation have played a significant role in making this project possible. This portfolio is a tribute to the collective effort and encouragement of my loved ones, and I'm deeply grateful for their contributions to my growth and development. # License: MIT LICENSE. # React + Vite This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. Currently, two official plugins are available: - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
This repository serves as the central hub for my personal portfolio, showcasing my skills, projects, and achievements. It's a reflection of my journey as a developer and designer. Explore my work, learn about my experiences, and connect with me. Welcome to my digital home!
best-practices,clean-architecture,clean-code,css,gsap,html,javascript,js,netlify,portfolio
2023-11-01T22:15:33Z
2023-12-29T03:22:46Z
null
1
1
29
0
0
3
null
null
JavaScript
Hanieh-Sadeghi/Todo-App-Login
Hanieh
# Todo-App-Login <h2>Running the Project</h2> <p>To run this project locally, follow these steps:</p> <ol> <li> <p> Clone the project repository to your local machine using the following command: </p> <pre><code>git clone https://github.com/Hanieh-Sadeghi/Todo-App-Login.git </code></pre> </li> <li> <p> Start the Node.js server by running the following command in your terminal: </p> <pre><code> nodemon server/server.js </code></pre> </li> <li> <p>Once the server is running, open your web browser and go to:</p> <pre><code>http://localhost:3000 </code></pre> <p>You can now enjoy the project running on your local server.</p> </li> </ol>
null
css,ejs-express,experess,javascript,json-api
2023-10-28T08:57:37Z
2023-10-31T23:59:28Z
null
1
0
26
0
0
3
null
null
JavaScript
pedronauck/fuel-thread-app
main
# Developer Quickstart This is a step-by-step guide to building a fullstack dapp on Fuel. This guide walks developers through installation and setup, writing a smart contract, testing the contract, deploying the contract, and creating a frontend. Please refer to the [Developer Quickstart](https://fuelbook.fuel.network/master/quickstart/developer-quickstart.html) for the most up-to-date quickstart guide for building with Fuel.
Thread application built using Fuel Network, check the video 👇🏻
blockchain,dapp,ethereum,ethereum-contract,fuel,javascript,reactjs,typescript
2023-10-28T23:26:21Z
2023-11-01T15:05:20Z
null
1
0
3
0
0
3
null
null
TypeScript
gabrielalencs/TeslaBank
main
<h1 align="center"> 🏦<br>TeslaBank </h1> <img width="896" alt="capaTeslaBank" src="https://github.com/gabrielalencs/TeslaBank/assets/127636935/1032549d-20eb-48d0-8b9f-63e04939030e"> <h4 align="center"><a href="https://alencar-teslabank.vercel.app/">Clique para visitar o projeto</a></h4> <h3>O <b>TeslaBank</b> é uma landing page de um banco digital desenvolvida para facilitar a vida dos clientes Tesla</h3> <h2>Tecnologias Utilizadas 💻</h2> - HTML - CSS - JavaScript - SCSS
TeslaBank é uma landing page de um banco digital 🏦💰
css3,html5,javascript,scss,smacss
2023-11-05T16:43:49Z
2023-11-18T16:33:27Z
null
1
0
81
0
0
3
null
null
SCSS
LMolinaro01/One-Piece-Website
main
# One Piece Website Este é um site dedicado a discutir sobre o universo de One Piece, utilizando as tecnologias HTML, CSS, JavaScript, PHP e Integração com Banco de Dados. O site aborda uma variedade de temas relacionados ao mangá e ao anime, incluindo os arcos da história, trilha sonora, informações sobre a publicação e produção, detalhes sobre o autor e muito mais. Além disso, inclui um jogo interativo para adivinhar qual é o personagem misterioso da série, o usuário receberá 5 dicas até conseguir acertar o personagem correto. Para a implementação, foi utilizado o XAMPP para criar uma conexão com o banco de dados, utilizando o phpMyAdmin para gerenciar o banco de dados MySQL. ## Tecnologias Utilizadas - HTML - CSS - JavaScript - PHP - XAMPP (Conexão do Banco de Dados ao PHP utilizando o phpMyAdmin) ## Como Usar 1. Clone este repositório para o seu ambiente local. 2. Configure o XAMPP e inicie os serviços Apache e MySQL. 3. Execute o arquivo PHP fornecido para criar o banco de dados usando o phpMyAdmin. 4. Abra o site no seu navegador e explore os conteúdos relacionados ao mundo de One Piece! ## Contribuição Contribuições são bem-vindas! Sinta-se à vontade para abrir um pull request ou uma issue para discutir novas funcionalidades, melhorias ou correções de bugs. ![image](https://github.com/LMolinaro01/OnePieceWebsite/assets/126402616/64c8bdcb-f8cd-461d-85c0-938857dff507) ![image](https://github.com/LMolinaro01/OnePieceWebsite/assets/126402616/a7166e72-7e6b-4142-aa56-d164cf11aa24) ![image](https://github.com/LMolinaro01/OnePieceWebsite/assets/126402616/a5f07677-2d0a-43cd-8fa5-cb605bc2a4f2) ![image](https://github.com/LMolinaro01/OnePieceWebsite/assets/126402616/d98d1ae0-923d-4842-943b-39c70631aa50) ![image](https://github.com/LMolinaro01/OnePieceWebsite/assets/126402616/55be5dcc-3f00-46a8-affa-622af9406fb3) ![image](https://github.com/LMolinaro01/OnePieceWebsite/assets/126402616/b973457f-1f55-4bd3-887e-155877c5eb1b) ![image](https://github.com/LMolinaro01/OnePieceWebsite/assets/126402616/e26c7d31-5ef5-449d-9381-f8777e1606a1) ![image](https://github.com/LMolinaro01/OnePieceWebsite/assets/126402616/0e779289-7575-41c6-8472-bc8a3fdd252c) ![image](https://github.com/LMolinaro01/OnePieceWebsite/assets/126402616/d36df478-6427-4662-afc7-d72b7b1d227a) ![image](https://github.com/LMolinaro01/OnePieceWebsite/assets/126402616/0298690c-12e6-4f32-b9f7-92997e49fd64) ![image](https://github.com/LMolinaro01/OnePieceWebsite/assets/126402616/fa6abfbf-7ff7-43ad-917d-8689d7eba152) ![image](https://github.com/LMolinaro01/OnePieceWebsite/assets/126402616/05e12d79-2269-4b85-93bc-d34b0acb7154) ![image](https://github.com/LMolinaro01/OnePieceWebsite/assets/126402616/b3c140bc-3ef7-4e50-82ef-0b7cde78a903) ![image](https://github.com/LMolinaro01/OnePieceWebsite/assets/126402616/1b211a47-8b9f-4b3f-8f8f-a09b89561ae2) ![image](https://github.com/LMolinaro01/OnePieceWebsite/assets/126402616/9e17a860-b067-4a5f-8348-1556dfb4588e)
Site dedicado a discutir sobre o universo de One Piece, utilizando as tecnologias HTML, CSS, JavaScript, PHP e Integração com Banco de Dados.
css,html,javascript,onepiece,php,website,xampp
2023-11-07T16:36:49Z
2024-04-17T18:22:15Z
null
1
0
36
0
0
3
null
null
HTML
PherbCampton/assignment
main
null
AltSchool second semester Exams. Focused on testing core React knowledge; ranging from hooks, react router and error boundaries including other core react concepts.
cssmodules-react,javascript,reactjs
2023-10-19T19:24:41Z
2023-10-20T18:46:22Z
null
2
0
3
0
0
3
null
null
JavaScript