Blog

  • windows-update-disabler

    Windows Update Disabler

    ⚡ The one-click way to disable auto updates for good, without leaving leftover stuff running in the background.

    Warning

    Before running this script, ensure that Windows is fully updated and not currently installing or downloading updates! Interrupting an update could result in breaking your Windows installation!

    How to Use

    Simple!

    1. Clone or Download:

      • Clone this repository using git clone https://github.com/tsgrgo/windows-update-disabler.git or download it as a ZIP file and extract it.
    2. Check for Active Updates:

      • Ensure there are no updates currently being installed. Navigate to Settings > Update & Security > Windows Update and verify.
    3. Run the Script:

      • Execute disable updates.bat. This will disable automatic Windows updates.
    4. Re-enable Updates (Optional):

      • If you need to allow automatic updates again, run enable updates.bat. This is a complete inverse function of disable updates.bat and will undo all the changes it did.

    How to Update Manually

    Regular updates are recommended for security. To update manually:

    1. Enable Updates:

      • Run enable updates.bat to re-enable Windows Update.
    2. Perform Updates:

      • Navigate to Settings > Update & Security > Windows Update and install available updates.
    3. Disable Updates Again:

      • After updating, run disable updates.bat again to disable automatic updates.

    Using the Update Service Temporarily

    Some applications, like Microsoft Store, depend on the Windows Update service. To temporarily enable the service:

    1. Enable Update Service:

      • Run use update service.bat to re-enable the Windows Update Service.
    2. Use Dependent Applications:

      • You can now use applications that require the update service.
    3. Disable Update Service Again:

      • Once done, run disable updates.bat to disable the update service again.

    What It Does

    The script performs the following actions to disable automatic updates:

    • Disables the Windows Update Service (wuauserv).
    • Disables the Update Orchestrator Service (UsoSvc).
    • Disables the Windows Update Medic Service (WaaSMedicSvc).
    • Disables all update-related scheduled tasks.
    • Applies registry changes to prevent auto-updates.

    Why is PsExec Needed?

    Some of the services and tasks involved are protected from user accounts, and they require elevated system privileges to be modified. PsExec allows the script to run commands with the necessary permissions to bypass these restrictions.

    PsExec is part of the official Sysinternals suite from Microsoft. More info: https://docs.microsoft.com/en-us/sysinternals/downloads/psexec

    Visit original content creator repository https://github.com/tsgrgo/windows-update-disabler
  • react-native-modal-no-unmount

    react-native-modal-no-unmount (iOS only!)

    Why the module needed?

    With simple view displayed, using default react-native Modal component is perfect.
    The problem is, the view will be unmounted after the Modal invisible without any chances to keep it alive!

    All states of the destroyed view should be saved somewhere (like Redux store) for restoing when open it again such as scroll position, stack-navigation state… The more states we want to restore, the more complicated and cases we have to handle and test!

    Solution

    The module refer ALL code of Modal component in react-native@0.51.0
    The modification points are as below:

    1. In js code
    • Keep Modal alive if visible = false
    • Add visible prop to native module
    1. In native code
    • Clone RCTModalHostViewManager and RCTModalHostView classes to make RNModalNoUnmountManager and RNModalHostView
    • Add visible prop to RNModalHostView class
    • Present/Dismiss modal view by the setter of the visible prop.

    Getting started

    $ npm install react-native-modal-no-unmount --save

    Mostly automatic installation

    $ react-native link react-native-modal-no-unmount

    Manual installation

    iOS

    1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
    2. Go to node_modulesreact-native-modal-no-unmount and add RNModalNoUnmount.xcodeproj
    3. In XCode, in the project navigator, select your project. Add libRNModalNoUnmount.a to your project’s Build PhasesLink Binary With Libraries
    4. Run your project (Cmd+R)<

    Android

    1. Open up android/app/src/main/java/[...]/MainActivity.java
    • Add import com.reactlibrary.RNModalNoUnmountPackage; to the imports at the top of the file
    • Add new RNModalNoUnmountPackage() to the list returned by the getPackages() method
    1. Append the following lines to android/settings.gradle:

      include ':react-native-modal-no-unmount'
      project(':react-native-modal-no-unmount').projectDir = new File(rootProject.projectDir,   '../node_modules/react-native-modal-no-unmount/android')
      
    2. Insert the following lines inside the dependencies block in android/app/build.gradle:
        compile project(':react-native-modal-no-unmount')
      

    Usage

    import { Modal, Platform } from 'react-native';
    import RNModalNoUnmount from 'react-native-modal-no-unmount';
    
    const ModalComponent = Platform.select({
      ios: RNModalNoUnmount,
      android: Modal,
    });
    
    ...
    
    render() {
        // Using it exactly as what you are doing with Modal component
        return <ModalComponent>...</ModalComponent>
    }

    Visit original content creator repository
    https://github.com/binhndicts/react-native-modal-no-unmount

  • mpu6050

    MPU6050 demo application

    This is a demo application for the libmpu6050 driver.

    You can attach the sensor to the RPi, install, and run the demo.

    TODO: investigate aliasing bug

    What you can do with it

    • Get raw sensor data
    • Get orientation estimation from sensor data

    Building, installing, removing

    You must build inside the Raspberry Pi 3.

    1. Install the depedendencies:

    libi2c – runtime dependecy
    libi2c-dev – make dependecy
    pandoc – make dependency for documentation

    pi@pi ~ $> sudo apt update 
    pi@pi ~ $> sudo apt install libi2c libi2c-dev pandoc
    1. Clone with --recurse-submodules
    2. Make and install the modules
    3. Make and install the application
    4. You should have installed limbpu6050, libmtx and mpu6050-demo

    pi@pi ~ $> mkdir repo && cd repo
    pi@pi ~/repo $> git clone --recurse-submodules https://github.com/ThalesBarretto/mpu6050.git
    pi@pi ~/repo $> cd mpu6050
    pi@pi ~/repo/mpu6050 $> make modules 
    pi@pi ~/repo/mpu6050 $> make modules_install
    pi@pi ~/repo/mpu6050 $> make
    pi@pi ~/repo/mpu6050 $> make install
    1. To remove:

    pi@pi ~/repo/mpu6050 $> make modules_uninstall
    pi@pi ~/repo/mpu6050 $> make uninstall

    Running

    Example

    $> mpu6050-demo --reset --calibrate --arange=2 --grange=250 --dlpf=0 --rate=100

    NOTE: While calibrating, let sensor rest leveled for approximately 10s.

    Useful command line options:

    • --reset Reset sensor settings and calibration

    • --arange=[2|4|8|16] Set Accelerometers range in +-G’s (standard gravity multiples)

    • --grange=[250|500|1000|2000] Set Gyroscopes range in +-dps (degrees per second)

    • --dplf=[0-6] Set Embedded Digital Low Pass Filter

    • --rate=[50|100|200] – Set Sampling Rate in Hz (samples per second)

    • --calibrate Perform a very basic calibration routine

    • --quiet Supress output to local terminal

    Contributing

    Contributions are welcome on github, on three channels:

    Visit original content creator repository
    https://github.com/ThalesBarretto/mpu6050

  • booktracker

    Book Tracker: Practicing Ruby on Rails JSON API

    https://medium.com/swlh/beginners-guide-to-building-a-rails-api-7b22aa7ec2fb

    Milestones

    [x] create new api app

    [x] set settings for api

    [x] generate models

    [x] create migrations

    [x] create seed info

    [x] seed db

    [x] test/query db

    [x] generate controllers

    [x] generate routes

    [x] run server/access JSON info

    api calls for authors and books

    Process for making API:

    • mkdir railsapi

    • rails new booktracker –api

      • Could use rails new booktracker –database=postgresql –api , to immediately set up postgresql
    • In Gemfile uncomment gem “rack-cors”

    • In terminal in railsapi/booktracker folder: bundle install

    • In /config/intializers/cors.rb replace: origins: “example.com” with single astrisk: “*”

    • Generate models in the Terminal

      • rails g model Author name –no-testframework
      • rails g model Book title year:integer author_id:integer genre –no-testframework
    • Create 2 migrations and 2 models in terminal with:

      • rails db:create && rails db:migrate
    • In booktracker/db/seeds.rb create seed information

    • In terminal seed the database:

      • rails seed:db
    • Test association by opening the rails console in the terminal:

      • rails console
      • book = Book.first
      • book.title
    • Query the db (ex:)

      • rails db

      • SELECT *

      • FROM books

      • LIMIT 2;

    • Generate Controllers: In terminal type

      • rails g controller Books
      • rails g controller Authors
    • In app/controllers/books_controller.rb store all Books into variable and render json

      • def index
        • books = Book.all
        • render json: books
      • end
    • Create index action route in config/routes.rb * resources :books, only: [:index]

    • create controller and route for author

    • Run the server:

      • rails s
    • localhost:3000/books, localhost:3000/authors

    Visit original content creator repository https://github.com/dfreeman500/booktracker
  • laravel-newsletter

    Laravel Newsletter

    StyleCI Scrutinizer Code Quality Code Intelligence Status Code Intelligence Status

    Laravel Newsletter is an open source project that can be used for sending newsletters to multiple subscribers, mailing lists, … at once. This project can be used together with free mailing applications such as MailGun.

    Installation

    Step 1

    First of all you need to clone the repository and install it using composer.

    git clone git@github.com:NathanGeerinck/laravel-newsletter.git
    cd laravel-newsletter && composer install
    php artisan laravel-newsletter:install
    npm run production

    Step 2

    Then you need to create a database and fill out the credentials in the .env file. An example:

    DB_CONNECTION=mysql
    DB_HOST=127.0.0.1
    DB_PORT=3306
    DB_DATABASE=laravel-newsletter
    DB_USERNAME=root
    DB_PASSWORD=root
    

    Once you’ve created the database you can migrate all the tables into your database by running:

    php artisan migrate

    If you want to import the demo data then you can run:

    php artisan laravel-newsletter:demo

    Step 3

    For sending emails you need to fillout your mail credentials.. You can use a service like Mailgun. You can adjust these settings also in the .env file.

    MAIL_DRIVER=smtp
    MAIL_HOST=mailgun.org
    MAIL_PORT=2525
    MAIL_USERNAME=
    MAIL_PASSWORD=
    MAIL_ENCRYPTION=null
    

    Step 4

    If you want to use a Queue, it’s possible!

    Finish

    Now you’re ready to rock and roll! Visit the /register page of you’re application and create an account! 😉

    If you ran the php artisan laravel-newsletter:demo command, you can login with ‘john.doe@gmail.com‘ and ‘test123’.

    Roadmap

    • Translate the application to more languages (now available: English, Dutch)
    • Email bounce tracking
    • Creating an API
    • Importing subscriptions with use of an URL (JSON)

    License

    The laravel-newsletter application is open source software licensed under the license MIT.

    Contributors

    Donate

    If you love this project and you appreciate my work.. You might consider buying me a coffee. ☕️

    Buy Me A Coffee

    Visit original content creator repository https://github.com/NathanGeerinck/laravel-newsletter
  • npm-diet

    @masnagam/npm-diet

    A tool to help keeping your package slim

    npm (scoped) CI Maintainability Test Coverage

    npm-diet is a CLI tool comprised of several commands which can be used for analyzing the total size of NPM packages installed.

    npm-diet can not be used for analyzing the size of a web application bundle. Try to use the following tools for such purpose.

    Installation

    $ npm install -g @masnagam/npm-diet

    How does this work?

    Very simple:

    1. Install specified packages using npm install
    2. Correct installed packages using npm ls --parseable
    3. Traverse directories in each package, and compute the sum of file sizes

    See lib/analyze/measure.js.

    Limitations

    There are some limitations at this moment:

    • npm-diet measure does not take account of sizes of directories
    • npm-diet measure does not compute actual sizes on disk

    Typical usages

    Show a brief summary of an analysis:

    $ npm-diet measure del | npm-diet summary
    #PKGS  SIZE       #FILES  #DUPS  DUP      %DUP
    -----  ---------  ------  -----  -------  ------
       30  885.02 KB     178      1  6.80 KB  0.77 %

    Show details of duplicates:

    $ npm-diet measure del | npm-diet show dup --package-path
    PACKAGE     SIZE     %SIZE     #FILES  PATH
    ----------  -------  --------  ------  -------------------------------------
    pify@4.0.1  8.11 KB                 4  node_modules/pify
    ----------  -------  --------  ------  -------------------------------------
    pify@2.3.0  6.80 KB  100.00 %       4  node_modules/globby/node_modules/pify
    ----------  -------  --------  ------  -------------------------------------
    TOTAL 1     6.80 KB  100.00 %       4

    Show the top 3 packages in descending order of size:

    $ npm-diet measure livereload | npm-diet show measure --top=3
    PACKAGE            SIZE       %SIZE    #FILES
    -----------------  ---------  -------  ------
    source-map@0.5.7   750.73 KB  14.25 %      19
    nan@2.14.0         408.59 KB   7.75 %      46
    iconv-lite@0.4.24  328.75 KB   6.24 %      26
    -----------------  ---------  -------  ------
    TOP 3                1.45 MB  28.24 %      91
    TOTAL 205            5.15 MB             1306

    Specify multiple packages:

    $ npm-diet measure mocha chai sinon | npm-diet summary
    #PKGS  SIZE      #FILES  #DUPS  DUP        %DUP
    -----  --------  ------  -----  ---------  ------
      134  15.16 MB    2252     13  326.00 KB  2.10 %

    Process the analysis result with jq:

    $ npm-diet measure commander | jq '.packages[].files[] | .path, .size'
    "CHANGELOG.md"
    11086
    "LICENSE"
    1098
    "Readme.md"
    12783
    "index.js"
    27883
    "package.json"
    1834
    "typings/index.d.ts"
    8508

    Use a package.json file for analysis:

    $ cat package.json
    {
      ...
      "dependencies": {
        "npm-run-all": "^4.1.3",
        "rimraf": "^2.6.2"
      }
    }
    
    $ npm-diet pkg-deps package.json | npm-diet measure --stdin | \
        npm-diet summary
    #PKGS  SIZE     #FILES  #DUPS  DUP  %DUP
    -----  -------  ------  -----  ---  ------
       66  1.40 MB     596      0  0 B  0.00 %

    Replace rimraf with del:

    $ echo '["npm-run-all","rimraf"]' | \
        npm-diet measure --stdin _rimraf del | npm-diet summary
    #PKGS  SIZE     #FILES  #DUPS  DUP       %DUP
    -----  -------  ------  -----  --------  ------
       85  2.11 MB     720      3  22.43 KB  1.04 %

    Show delta values between two package sets:

    $ (npm-diet measure chalk ; npm-diet measure colors) | \
        npm-diet delta --stdin | npm-diet summary
    LABEL             #PKGS  %PKGS     SIZE       %SIZE     #FILES  %FILES
    ----------------  -----  --------  ---------  --------  ------  --------
    BASELINE (chalk)      7             90.44 KB                38
    SUBJECT (colors)      1             37.53 KB                21
    ----------------  -----  --------  ---------  --------  ------  --------
    DELTA                -6  -85.71 %  -52.91 KB  -58.51 %     -17  -44.74 %

    Show details of a delta analysis:

    $ (npm-diet measure mini-lr ; npm-diet measure tiny-lr) | \
        npm-diet delta --stdin | npm-diet show delta --top=3
    INCREASE                SIZE       %SIZE    #FILES
    ----------------------  ---------  -------  ------
    tiny-lr@1.1.1           206.88 KB  70.85 %  41
    body@5.1.0              19.22 KB   6.58 %   13
    error@7.0.2             18.22 KB   6.24 %   14
    ----------------------  ---------  -------  ------
    TOP 3                   244.32 KB  83.67 %  68
    TOTAL 9                 292.00 KB           113
    
    DECREASE                SIZE       %SIZE    #FILES
    ----------------------  ---------  -------  ------
    iconv-lite@0.4.13       325.28 KB  43.68 %  27
    mime-db@1.40.0          184.85 KB  24.82 %  6
    body-parser@1.14.2      47.31 KB   6.35 %   10
    ----------------------  ---------  -------  ------
    TOP 3                   557.44 KB  74.85 %  43
    TOTAL 16                744.73 KB           131
    
    COMMON                  SIZE       %SIZE    #FILES
    ----------------------  ---------  -------  ------
    livereload-js@2.4.0     88.21 KB   16.61 %  14
    qs@5.2.0                73.40 KB   13.82 %  18
    websocket-driver@0.7.3  66.26 KB   12.48 %  18
    ----------------------  ---------  -------  ------
    TOP 3                   227.88 KB  42.91 %  50
    TOTAL 15                531.02 KB           157

    Data Models

    The following data structures are still under consideration. They may be changed in the near future.

    Measure Analysis

    {
      "type": "measure",
      "specs": [ ... ],    // list of package specifiers
      "numPkgs": 1,        // the number of packages
      "size": 61750,       // sum of package sizes
      "numFiles": 6,       // sum of the numbers of files
      "packages": [ ... ]  // list of packages
    }

    Delta Analysis

    {
      "type": "delta",
      "baseline": { ... },  // analysis of the baseline package set
      "subject": { ... },   // analysis of the subject package set
      "delta": { ... },     // delta values (metrics withtout `packages`)
      "increase": { ... },  // metrics of added packages
      "decrease": { ... },  // metrics of removed packages
      "common": { ... }     // metrics of common packages
    }

    Duplicate Analysis

    {
      "type": "duplicate",
      "specs": [ ... ],      // list of package specifiers
      "numPkgs": 2,          // the number of duplicate packages
      "size": 14955,         // sum of duplicate sizes
      "numFiles": 8,         // sum of the numbers of files
      "duplicates": [ ... ]  // list of duplicates
    }

    Package Specifier

    {
      "name": "@masnagam/npm-diet",  // package name
      "detail": "*"                  // semver, url or local path
    }

    Metrics

    Subsequent analysers may add other metrics.

    {
      "numPkgs": 1,        // the number of packages
      "size": 61750,       // sum of package sizes
      "numFiles": 6,       // sum of the numbers of files
      "packages": [ ... ]  // list of packages
    }

    Duplicate

    {
      "name": "pify",      // name
      "size": 14955,       // sum of duplicate sizes
      "numFiles": 8,       // sum of the number of files
      "packages": [ ... ]  // list of packages
    }

    Package

    {
      "name": "commander",              // name
      "version": "2.16.2",              // version
      "size": 61750,                    // sum of file sizes
      "files": [ ... ],                 // list of files
      "path": "node_modules/commander"  // relative path to the package
    }

    File

    {
      "path": "CHANGELOG.md",  // relative path from the package dir
      "size": 10068            // file size in bytes
    }

    Great predecessors

    License

    This software is distributed under the Apache license 2.0. See LICENSE file for details.

    Visit original content creator repository https://github.com/masnagam/npm-diet
  • awesome-dogecoin

    Awesome Dogecoin

    A curated list of dogecoin services and tools

    List of content

    Utilities

    • Pycoin – Python-based Bitcoin and alt-coin utility library.

    Blockchain API and Web services

    Market Data API

    • CoinMetrics.io JSON REST API (free as well as paid) with access to market data. Also CSV data file download available.
    • Messari.io JSON REST API (free as well as paid) with access to market data, news, metrics, profile, etc.

    Wallets API

    • TODO

    Open Source Wallets

    Blockchain Explorers

    JavaScript Libraries

    PHP Libraries

    Ruby Libraries

    Python Libraries

    • pycoin – Python-based Bitcoin and alt-coin utility library.
    • BlockTrail SDK Python
    • pywallet – Dead-simple BIP32 (HD) wallet creation for BTC, BTG, BCH, LTC, DASH, USDT, QTUM and DOGE.
    • django-cc – Django-cryptocurrencies web wallet for Bitcoin and a few other cryptocurrencies.
    • walletool – A tool for reading wallet.dat files.

    Java Libraries

    Note that you can also use Scala libraries in Java.

    • libdohj – Java library for adding altcoin support to bitcoinj.

    Golang Libraries

    Playgrounds

    Read

    TODO

    Course

    Additional Resources


    Inspired by the awesome list and awesome-bitcoin.


    License

    MIT

    Visit original content creator repository
    https://github.com/foodaemon/awesome-dogecoin

  • restric-git-commit

    Commit validator

    This script validates the message structure of the commit command.

    • The line: msg=”$(cat $1 | grep -v # | head -n 1)” takes the
      message passed though the argument -m or by the interactive editor
      (vim, nano, etc) and procces the first not comment line (excludes the
      The lines with the # symbol.

    • In the line: if ! [[ $msg =~ ^(feat|fix|docs?|style|refactor|pref|chore|revert?)(.+):{1}\ ?.{3,}$ ]]; then Validates the message structure.

    Instructions

    Write the following code into a file named commit-msg and save it into: /repo/path/.git/hooks/

    #!/bin/sh
    
    RED='\033[0;31m'
    YELLOW='\e[33m'
    GREEN='\e[32m'
    CYAN='\e[36m'
    NC='\033[0m'
    BOLD='\e[1m'
    NORMAL='\e[0m'
    
    msg="$(cat $1 | grep -v \# | head -n 1)"
    if ! [[ $msg =~ ^(feat|fix|docs?|style|refactor|pref|chore|revert?)\(.+\):{1}\ ?.{3,}$ ]]; then
    	echo -e "${RED}${BOLD}Invalid commit${NORMAL}${NC}"
    	echo -e "\t${YELLOW}Follow the structure: \"type(module): description, at lease 3 words\""
    	echo -e "\tAvailable types:"
    	echo -e "\t\tfeat|fix|docs?|style|refactor|pref|chore|revert?${NC}"
    	echo -e "\t${CYAN}${BOLD}Example:${NORMAL} "
    	echo -e "\t\t${CYAN}revert(usersController): remove t3 validation${NC}"
    	exit 1
    fi
    

    Examples

    Navigate to your repo path

    Invalid commit message

    $ git commit -m "Invalid message"
    Invalid commit
    Follow the structure: "type(module): description, at lease 3 words"
    Available types:
    	feat|fix|docs?|style|refactor|pref|chore|revert?
    Example:
    	revert(usersController): remove t3 validation
    

    Valid commit message

    git commit -m "chore(BashCommitRule): write a valid message"
    [master ebdf4ef] chore(BashCommitRule): write a valid message
     1 file changed, 1 insertion(+)
    

    Visit original content creator repository
    https://github.com/lairortega/restric-git-commit

  • word-GPT-Plus

    Logo

    Word GPT Plus

    Integrate AI directly into Microsoft Word
    FeaturesGetting StartedInstallationUsage

    English | 简体中文

    📋 Introduction

    Word GPT Plus seamlessly integrates AI models into Microsoft Word, allowing you to generate, translate, summarize, and polish text directly within your documents. Enhance your writing workflow without leaving your Word environment.

    Image

    Word GPT Plus Demo Word GPT Plus Demo

    ✨ Features

    • Multiple AI Models Support:

      • OpenAI API (compatible with DeepSeek and other OpenAI-compatible endpoints)
      • Azure OpenAI API
      • Google Gemini Pro API
      • Ollama (for local deployment)
      • Groq API
    • Agent Mode:

      • Supports multi-step analysis and result synthesis
      • Configurable analysis step limits
    • Built-in Templates:

      • Translation (40+ languages)
      • Text polishing and improvement
      • Academic writing enhancement
      • Content summarization
      • Grammar checking
    • Customization Options:

      • Save custom prompts for repeated use
      • Adjust temperature and max tokens
      • Support for proxies
      • Local storage for privacy
    • Advanced Formatting:

      • Automatic Word Formatting: AI responses are automatically formatted with proper Word styles (headers, bold, italic, lists, code blocks)
      • Multiple insertion modes (replace, append, new line)
      • Markdown parsing and conversion to Word formatting

    🚀 Getting Started

    Requirements

    Software

    • Microsoft Word 2016/2019 (retail version), Word 2021, or Microsoft 365
    • Edge WebView2 Runtime
    • Node.js 18+ (only for self-hosting)

    Note: Works only with .docx files (not compatible with older .doc format)

    API Access

    💻 Installation

    Choose one of the following installation methods:

    Option 1: Use Hosted Service (Recommended)

    1. Download manifest.xml
    2. Save it to a directory on your computer (e.g., C:\Users\username\Documents\WordGPT)
    3. Follow the Add-in Installation Guide below

    Note for users in China: If you experience connectivity issues, try adding msq.pub to your proxy rules or use the self-hosted option.

    Option 2: Docker Deployment

    docker pull kuingsmile/word-gpt-plus
    docker run -d -p 3000:80 kuingsmile/word-gpt-plus

    You need to modify all [localhost:3000](http://localhost:3000) in manifest.xml to your server address.

    Follow the Add-in Installation Guide below.

    Option 3: Self-hosted

    If you want to host the add-in yourself, you will need to clone this repo and install dependencies, then run the project. Need Node.js 18+.

    git clone https://github.com/Kuingsmile/Word-GPT-Plus.git
    yarn
    yarn run serve

    manifest.xml

    Then, follow the Add-in Installation Guide below.

    Option 4: Deploy to Tencent EdgeOne

    Deploy to Tencent EdgeOne

    Add-in Installation Guide

    To get started with Word GPT Plus, you will need to sideload the add-in into Microsoft Word.

    You can find instructions provided by MicroSoft at the following link: sideload office add-ins

    1. Go to the folder where you saved the manifest.xml file, for example C:\Users\username\Documents\WordGPT.
    2. Open the context menu for the folder(right-click the folder) and select Properties.
    3. Within the Properties dialog box, select the Sharing tab, and then select Share. image
    4. Within the Network access dialog box, add yourself and any other users you want to share, choose the Share button, When you see confirmation that Your folder is shared, note the full network path that’s displayed immediately following the folder name. image
    5. Open a new document in Word, choose the File tab, and then choose Options.
    6. Choose Trust Center, and then choose the Trust Center Settings button.
    7. Choose Trusted Add-in Catalogs.
    8. In the Catalog Url box, enter the full network path and then choose Add Catalog.
    9. Select the Show in Menu check box, and then choose OK. image
    10. Close and then restart Word.
    11. Click Insert > My Add-ins > Shared Folder, choose GPT Plus, and then choose Add.
    12. Enjoy it! image

    How to fill in API key

    After entering Word GPT Plus, click the orange Settings button on the homepage to enter the settings page, where you can switch APIs and fill in API keys.

    Contributing

    If you have a suggestion that would make this better, please fork the repo and create a pull request.

    License

    MIT License

    Show your support

    Give a ⭐️ if this project helped you!

    Visit original content creator repository https://github.com/Kuingsmile/word-GPT-Plus
  • rvc_remix

    rvcRemix

    Description

    This program takes any audio/video file, extracts audio, separates vocal and instrumental tracks, applies a RVC model to vocals and re-mix them with the instrumental.

    You’ll need just at least one RVC model ( find some here and extract zip file ) store them in a folder, find an input file and you’re OK!

    Features

    • Generate from video/audio file (any format)
    • Generate from youtube link
    • Pitch shift the instrumental if the rvc voice has pitch shift too
    • Fix pitch unconsistencies between vocal & instru when pitcshifting
    • Do not run separation if output files already exist.
    • Automatically find original pitch and fit the rvc model pitch ( if possible )
    • Config file option to get instrumental and vocal audio file in same dir as original file
    • Edit audio separator models
    • Convert output file to same format as input (if audio, else use mp3)

    Requirements

    Note: On Windows, install preferably these dependencies with Microsoft store

    • python 3.10
    • pip
    • ffmpeg (dont forget on Windows to add the evironment variable )
    • git
    • Windows only C++ 14 Destktop development tools here

    Installation

    • git clone the repo
    • cd rvcRemix
    (optional) you can create a python virtual environnement to avoid the project python libraries to interfere with the ones already present on your system
    • run python -m venv venv
    linux
    • then source venv/bin/activate
    windows
    • if python has not yet the permission to run scripts, run in an admin powershell window : Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

    • then .\venv\Scripts\Activate.ps1 (if you’re using powershell) or venv\Scripts\activate (if you’re using cmd)

    • pip install -r utils/requirements.txt

    Configure

    • edit the file utils/config.json with a text editor and change the sections :
    • "modelsPath" : "a path to a folder" with the path to the folder you put your models in (preferably each model in its subfolder)
    • "workingDir" : "a path to a folder" with the path to the folder where the temporary files will be put
    • "mode" : "cpu" with the mode to use, “cpu” or “cuda”
    • "keepTempFiles" : false wether or not to keep intermediate temp files
    • "copySeparatedFiles" : true wether or not to copy separated file in the same directory as input; if existing, separation will not be done

    Running

    if you created a virtual environnement
    linux
    • run command source venv/bin/activate
    windows
    • run command .\venv\Scripts\Activate.ps1 in a powershell
    • to process a single file, run command :

    python run.py "path to the audio file" keyword_of_the_rvc_model pitch(optional)

    • to process multiple files, run command :

    python run.py --bulk "path_to_your_bulk_file.json" . File utils/bulk_remix.json provides an example.

    Utilities

    Some useful ressources:

    Compatibility

    Linux, Mac, Windows (as in python)

    Tested systems:
    ArchLinux

    Licensing

    WTFPL.

    This stuff is provided as is with no warranty at all, take your own precautions before using it.

    Visit original content creator repository
    https://github.com/ssabug/rvc_remix