Skip to content

A small, lightweight, and portable tool for injecting code or text to any other file or replacing a keyword.

License

Notifications You must be signed in to change notification settings

OakAtsume/needle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Needle ~ 0v0 ~

About

Needle a small/lightweight file manipulation program for fast modifications in big file and memory management.

Why Needle?

Needle is meant to be used on big files (About 1-5 GB's in size), Unlike the common find/replace options in IDE's or your web browser Needle can make modifications quickly and efficiently without the annoying lag or risk of an application crash.

How is it work and Warnings!

Needle works by reading the target file into an array located in the memory In memory the information is read and split into sections where if a pattern is found it is replaced with the corresponding value.

Warning! The Maximum file size depends on your systems memory, This means if you have 4 GB's of memory your system won't be able to process a 10 GB file it's just not possible without Swap or the system crashing!

Once the information is placed and changed as requested the original file is wiped completely and the corresponding new text is injected and cleared off the memory to avoid an overflow.

Credits

  • Certified-Rice of fixing old README.md typos
  • Oak Assume for not throwing this project away!

About

A small, lightweight, and portable tool for injecting code or text to any other file or replacing a keyword.

Topics

Resources

License

Stars

Watchers

Forks