CallGPT icon indicating copy to clipboard operation
CallGPT copied to clipboard

Little md fixups + tip to embed all external scripts

Open lguzzon opened this issue 2 years ago • 2 comments

lguzzon avatar Mar 06 '23 13:03 lguzzon

@lguzzon thanks for your input! 🙂

  • The md changes make sense
  • Thanks for gettting the video to work 😃

npm server:

  • Right now, there are a whole bunch of CORS limitations if the file is run as an HTML file ( so we can't call most APIs from this right now, eg. Duckduckgo or any other API ) -- I haven't tried as yet, but I think NPM will help with the CORS issue. If it does, that will be a cool addition. Then we can mention, though not required, NPM or other webserver will let you automate a whole lot more things.

bot creation script changes

  • I've streamlined the bot create steps yesterday, so code needs to be added only in 1 block ( 1 object and 1 function )

  • Your PR has the latest and the previous steps as well.

  • I'll make a new dev branch, merge your pull request to that,

  • remove the older bot section.

  • Validate NPM and external API CORS issues and then pull it into the main branch.

dminGod avatar Mar 06 '23 15:03 dminGod

Hi, my reference here npx -y -p inline-source-cli inline-source --compress true chat_gpt.html chatGpt.html is just a step to include all the referenced scripts (jquery, ...) in the result html chatGpt.html That'it

lguzzon avatar Mar 07 '23 08:03 lguzzon