2025-03-13 18:34:30 +01:00
|
|
|
# Scanner : V2
|
2025-03-12 21:33:47 +01:00
|
|
|
|
2025-03-12 21:38:54 +01:00
|
|
|
Node.JS based file scanner using patterns and OLLAMA (llama3.2:1b) integration for file/code analysis.
|
|
|
|
|
|
|
|
## Setup
|
|
|
|
|
|
|
|
Install axios
|
|
|
|
|
|
|
|
```js
|
2025-03-13 18:34:43 +01:00
|
|
|
npm i axios natural
|
2025-03-12 21:38:54 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
Edit variables in code aiprompt, patterns, pathtoscan, llamaendpoint.
|
|
|
|
|
|
|
|
Run code
|
|
|
|
|
|
|
|
```js
|
|
|
|
node scanner.js
|
|
|
|
```
|
|
|
|
|
2025-03-13 19:00:20 +01:00
|
|
|
If you want to quickly change path use:
|
|
|
|
|
|
|
|
```js
|
2025-03-13 19:04:47 +01:00
|
|
|
node scanner.js --pathtoscan="./your/path/goes/here" --ignore="some,folder,to,ignore,and,not.scan"
|
2025-03-13 19:00:20 +01:00
|
|
|
```
|
|
|
|
|
2025-03-12 21:38:54 +01:00
|
|
|
|
|
|
|
COPYRIGHT CC-BY-SA-4.0, CONTACT: lisahonkay@gmail.com
|