No description
Find a file
2023-10-09 09:09:28 +01:00
anagram Rework to embed binary data instead of reading wordlist from storage on start-up 2023-10-09 09:09:28 +01:00
cmd Rework to embed binary data instead of reading wordlist from storage on start-up 2023-10-09 09:09:28 +01:00
data Rework to embed binary data instead of reading wordlist from storage on start-up 2023-10-09 09:09:28 +01:00
match Rework to embed binary data instead of reading wordlist from storage on start-up 2023-10-09 09:09:28 +01:00
standalone Refactor to move cloud fn to top level 2023-10-08 15:05:12 +01:00
util Initial check-in 2023-10-07 17:12:47 +01:00
.git-semver Add semver config 2023-10-08 14:27:24 +01:00
.gitignore Configure CORS 2023-10-08 16:39:55 +01:00
cloudfn.go Rework to embed binary data instead of reading wordlist from storage on start-up 2023-10-09 09:09:28 +01:00
deploy.sh Rework to embed binary data instead of reading wordlist from storage on start-up 2023-10-09 09:09:28 +01:00
go.mod Refactor to move cloud fn to top level 2023-10-08 15:05:12 +01:00
go.sum Implement GCP Cloud Function 2023-10-08 14:25:57 +01:00
README.md Refactor to move cloud fn to top level 2023-10-08 15:05:12 +01:00

Puzzle Solver

Match patterns and solve anagrams - handy for crossword fanatics.

Standalone Server

cd standalone
go run main.go

Cloud Function

To test using the Cloud Functions Framework:

env FUNCTION_TARGET=WordSearch WORDLIST_BUCKET=word-search-1729-assets \
  WORDLIST_PATH=data/wordlist.txt LOCAL_ONLY=true go run ./cmd/fn-framework-test/main.go

curl 'http://localhost:8080?mode=anagrams&pattern=idea'