Skip to content

Commit

Permalink
Merge pull request #19 from isabelroses:feat/go
Browse files Browse the repository at this point in the history
rewrite: go
  • Loading branch information
isabelroses authored Jan 15, 2024
2 parents 73fd30f + 15303f6 commit 63902dc
Show file tree
Hide file tree
Showing 100 changed files with 2,249 additions and 3,615 deletions.
46 changes: 46 additions & 0 deletions .air.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
root = "."
testdata_dir = "testdata"
tmp_dir = "tmp"

[build]
args_bin = []
bin = "./tmp/main"
cmd = "go build -o ./tmp/main ./cmd/main.go"
delay = 1000
exclude_dir = ["assets", "tmp", "vendor", "testdata", "styles", ".git", ".github"]
exclude_file = []
exclude_regex = ["_test.go", "flake.lock" "*.nix" ".*"]
exclude_unchanged = false
follow_symlink = false
full_bin = ""
include_dir = []
include_ext = ["go", "tpl", "tmpl", "html"]
include_file = []
kill_delay = "0s"
log = "build-errors.log"
poll = false
poll_interval = 0
post_cmd = []
pre_cmd = []
rerun = false
rerun_delay = 500
send_interrupt = false
stop_on_error = false

[color]
app = ""
build = "yellow"
main = "magenta"
runner = "green"
watcher = "cyan"

[log]
main_only = false
time = false

[misc]
clean_on_exit = false

[screen]
clear_on_rebuild = false
keep_scroll = true
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* text=auto
*.css linguist-vendored
32 changes: 32 additions & 0 deletions .github/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# [isabelroses.com](https://isabelroses.com)

![SEO](seo.png)

## Development

To get started, clone the repository and install the dependencies:

```bash
git clone https://github.com/isabelroses/website
cd website

# Install dependencies (rejoice, nix users)
nix develop # if you have nix installed, not a requirement though
yarn install # needed for tailwindcss
go mod tidy

# you may need to recompile tailwindcss
yarn build
# but if you want tailwindcss to recompile on changes
yarn watch

# then you can run the server using air
air # you can get this using `go install github.com/cosmtrek/air@latest`
```

### License

- All code is licensed under:
[GPLv3](https://www.gnu.org/licenses/gpl-3.0#license-text)
- All blog posts are licensed under:
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)
9 changes: 0 additions & 9 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@ version: 2

updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
groups:
deps:
dependency-type: "production"
deps-dev:
dependency-type: "development"
109 changes: 0 additions & 109 deletions .github/runners/generate/generate.py

This file was deleted.

4 changes: 0 additions & 4 deletions .github/runners/generate/requirements.txt

This file was deleted.

Binary file added .github/seo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
75 changes: 0 additions & 75 deletions .github/workflows/release.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/spelling.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/typos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Typo Checker

on:
workflow_dispatch:
push:
paths:
- "*.md"

jobs:
spellcheck:
name: Spellcheck
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Check for typos
uses: crate-ci/typos@master
id: typos
continue-on-error: true

- name: Fail when typos are found
if: ${{ steps.typos.outcome != 'success' }}
run: "exit 1"
27 changes: 2 additions & 25 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,25 +1,2 @@
.DS_Store
node_modules
/dist
.direnv

# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

/*.iml
styles/node_modules/
tmp/
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

4 changes: 0 additions & 4 deletions .prettierrc

This file was deleted.

5 changes: 5 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# https://github.com/crate-ci/typos/blob/master/docs/reference.md
[default]
locale = "en-gb"

[default.extend-words]
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE → LICENCE
Original file line number Diff line number Diff line change
Expand Up @@ -671,4 +671,4 @@ into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
<https://www.gnu.org/licenses/why-not-lgpl.html>.
Loading

0 comments on commit 63902dc

Please sign in to comment.