add env example

This commit is contained in:
David Westgate 2024-05-09 13:50:31 -07:00
parent ac80b0d0d6
commit 6d0373c92b
2 changed files with 3 additions and 1 deletions

1
hw4/.env.example Normal file
View File

@ -0,0 +1 @@
OPENAI_API_KEY=""

View File

@ -1,4 +1,4 @@
###### David Westgate 26 April 2024 ###### David Westgate 10 May 2024
## HW4 for gensec ## HW4 for gensec
This application is a Langchain agent which intends to be helpful at de-obfuscating javascript code. On the web, obfuscated javascript code is common to minimize javascript source file size, before they are sent over the network to the client and also to limit the ability to reverse engineer the function of javascript running on the client from enterprise web applications. The application is programming to ingest javascript source files both from the local machine, as well as from URLs. This application is a Langchain agent which intends to be helpful at de-obfuscating javascript code. On the web, obfuscated javascript code is common to minimize javascript source file size, before they are sent over the network to the client and also to limit the ability to reverse engineer the function of javascript running on the client from enterprise web applications. The application is programming to ingest javascript source files both from the local machine, as well as from URLs.
@ -7,6 +7,7 @@ Install python3, then
``` ```
cd hw4 cd hw4
pip install -r requirnments.txt pip install -r requirnments.txt
cp .env.example .env #fill in env file with key
python3 app.py python3 app.py
``` ```