Skip to content

Commit

Permalink
⚙️ Updates logo generation and ollama models
Browse files Browse the repository at this point in the history
  • Loading branch information
jefftriplett committed Nov 27, 2023
1 parent 1ee49b8 commit f24ed39
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 8 deletions.
2 changes: 1 addition & 1 deletion apps/chatgpt/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ build:

@logo:
wget \
--quiet \
--output-document=logo.png \
--quiet \
https://logo.clearbit.com/chat.openai.com

@upgrade:
Expand Down
2 changes: 1 addition & 1 deletion apps/github/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ build:

@logo:
wget \
--quiet \
--output-document=logo.png \
--quiet \
https://logo.clearbit.com/github.com

@upgrade:
Expand Down
2 changes: 1 addition & 1 deletion apps/grammarly/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ build:

@logo:
wget \
--quiet \
--output-document=logo.png \
--quiet \
https://logo.clearbit.com/grammarly.com

@upgrade:
Expand Down
2 changes: 1 addition & 1 deletion apps/mastodon/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ build:

@logo:
wget \
--quiet \
--output-document=logo.png \
--quiet \
https://logo.clearbit.com/mastodon.social

@upgrade:
Expand Down
2 changes: 1 addition & 1 deletion apps/novelai/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ build:

@logo:
wget \
--quiet \
--output-document=logo.png \
--quiet \
https://logo.clearbit.com/novelai.net

@upgrade:
Expand Down
2 changes: 1 addition & 1 deletion apps/toggl/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ build:

@logo:
wget \
--quiet \
--output-document=logo.png \
--quiet \
https://logo.clearbit.com/www.toggl.com

@upgrade:
Expand Down
21 changes: 19 additions & 2 deletions home/justfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
set dotenv-load := false
set export := true

export OLLAMA_HOST := "0.0.0.0:11434"
export OLLAMA_ORIGINS := "http://*"
host := `hostname -s`
HOMEBREW_NO_ENV_HINTS := "true"

# HOMEBREW_NO_AUTO_UPDATE := "true"

RICH_THEME := "dracula"

# python_37 := `pyenv latest 3.7`

python_38 := `pyenv latest 3.8`
python_39 := `pyenv latest 3.9`
python_310 := `pyenv latest 3.10`
python_311 := `pyenv latest 3.11`
python_312 := `pyenv latest 3.12`

# python_312 := `pyenv latest 3.12-dev`
# ----------------------------------------------------------------
# Just nice-to-haves
# ----------------------------------------------------------------
Expand Down Expand Up @@ -163,8 +169,8 @@ python_312 := `pyenv latest 3.12`
# Ollama related
# ----------------------------------------------------------------

@ollama:
OLLAMA_HOST=0.0.0.0:11434 OLLAMA_ORIGINS=http://* ollama serve
@ollama *ARGS:
ollama *ARGS

@ollama-download:
# https://github.com/jmorganca/ollama/blob/main/docs/modelfile.md#valid-parameters-and-values
Expand All @@ -173,6 +179,7 @@ python_312 := `pyenv latest 3.12`
just ollama-download-codellama
just ollama-download-llama2
just ollama-download-llama2-uncensored
just ollama-download-orca2

@ollama-download-codeup:
-ollama pull codeup:latest
Expand Down Expand Up @@ -202,10 +209,20 @@ python_312 := `pyenv latest 3.12`
-ollama pull llama2:13b
# -ollama pull llama2:70b

@ollama-download-orca2:
-ollama pull orca2:latest
-ollama pull orca2:13b

@ollama-download-wizard-vicuna:
-ollama pull wizard-vicuna:latest
# -ollama pull wizard-vicuna-uncensored:30b

@ollama-list:
ollama list

@ollama-serve *ARGS:
ollama serve {{ ARGS }}

# ----------------------------------------------------------------
# Postgres related
# ----------------------------------------------------------------
Expand Down

0 comments on commit f24ed39

Please sign in to comment.