labnotes

Using Github CLI

Maybe it’s faster, lets see

tags
github
git
gh

First install:

1
  brew install gh

Login

1
  gh auth login

This takes you through a web login flow so your computer is authorized.

1
  gh auth status
github.com
  ✓ Logged in to github.com account wschenk (keyring)
  - Active account: true
  - Git operations protocol: https
  - Token: gho_************************************
  - Token scopes: 'gist', 'read:org', 'repo', 'workflow'

Create a repo

1
  gh repo create

This will walk you through the options of creating a repo.

Setting description

1
  gh repo edit -d "Playground to see about setting up actions to monitor thing"

Open it up

So far this is my most used command:

1
  gh browse

Workflows

1
  gh workflow list
1
  gh run list
1
  gh run view

Publishing a site on gh pages

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
  # Create the remote repo
  gh repo create

  # Create the local repository
  git init

  # Add things to .gitignore if you haven't

  # Add the remote
  git add origin remote https://github.com/wschenk/thefocus-landing

  # Add everything
  git add .

  # Create a commit
  git commit -m "Initial import"

  # Make sure the buffer is big enough if its complaining
  git config --global http.postBuffer 524288000

  # Open up the page on github
  gh browser

Once you are there, click on the settings, and then Pages on the left navigation. If that works, then you can select deploy from branch main if you doing a static site that you build locally.

Setting up a domain

If you want to have everything on a domain, you first need to get the domain and figure out where you want to host the records.

If you are setting up the main "apex" domain, these are the IP addresses you point the A records to

1
2
3
4
185.199.108.153
185.199.109.153
185.199.110.153
185.199.111.153

More information here.

Previously

labnotes

Weebo chat on your computer

everything run locally

tags
weebo
chat
ollama
whisper
espeak-ng