Skip to content

Avtarsai/Learn_Prompting

 
 

Repository files navigation

Learn Prompting

Twitter Website

https://learnprompting.org

This website is a free, open-source guide on prompt engineering. Contributions are welcome! Harsh criticism is welcome too!

Contribution Guidelines

We welcome contributions in any form.

We are actively looking for:

  • content suggestions
  • translation
  • content/art contributions
  • typos :)

Local Development

First, install git and node.

Make sure you are using Node 18.0.0 or higher (node -v). Then, run the following commands in a terminal:

# download the website code with git
git clone https://github.com/trigaten/Learn_Prompting.git
# enter the project directory
cd Learn_Prompting
# install node modules
npm i
# run the website locally
npm start

If you get an error related to the node version, you probably are using an older version of node.

Make sure the newer version appears higher in your path than any older versions.

Alternatively, you can use nvm to install the latest version of node. Install nvm, then do the following:

export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
nvm install-latest-npm

npm start starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Thanks to all contributors ❤

Cite

Use the provided GitHub citation in this repository:

@software{Schulhoff_Learn_Prompting_2022,
 author = {Schulhoff, Sander and Community Contributors},
 month = dec,
 title = {{Learn Prompting}},
 url = {https://github.com/trigaten/Learn_Prompting},
 year = {2022}
}

Packages

No packages published

Languages

  • TeX 64.8%
  • JavaScript 23.8%
  • Python 4.2%
  • CSS 2.8%
  • TypeScript 2.4%
  • Jupyter Notebook 2.0%