-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
219 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,20 +7,22 @@ tasks: | |
setup: | ||
cmds: | ||
- go mod download | ||
- pnpm --prefix ui install | ||
|
||
backend_dev: air serve | ||
|
||
frontend_dev: pnpm --prefix ui dev | ||
|
||
frontend_build: pnpm --prefix ui build | ||
templ: | ||
- templ generate --watch --proxy="http://localhost:8090" --open-browser=false -v | ||
|
||
server: | ||
- | | ||
go run github.com/cosmtrek/[email protected] \ | ||
--build.cmd "go build -o tmp/bin/main" --build.bin "tmp/bin/main serve" --build.delay "100" \ | ||
--build.include_ext "go" \ | ||
--build.stop_on_error "false" \ | ||
--misc.clean_on_exit true | ||
dev: | ||
deps: [backend_dev, frontend_dev] | ||
deps: [server, templ] | ||
|
||
build: | ||
deps: [setup, frontend_build] | ||
deps: [setup] | ||
cmds: | ||
- go build -o bin/anyabi | ||
|
||
deploy: flyctl deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
package main | ||
|
||
templ Index() { | ||
<!DOCTYPE html> | ||
<html lang="en" class="dark"> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
<link rel="icon" href="/favicon.png" /> | ||
<meta name="viewport" content="width=device-width" /> | ||
<title>AnyABI - The easiest way to fetch an ABI</title> | ||
<meta name="twitter:title" content="AnyABI - The easiest way to fetch an ABI" /> | ||
<meta name="description" content="Quickly grab the ABI for ANY EVM smart contract on ANY EVM chain." /> | ||
<meta name="twitter:description" content="Quickly grab the ABI for ANY EVM smart contract on ANY EVM chain." /> | ||
<meta name="twitter:image" content="https://anyabi.xyz/thumbnail.png" /> | ||
<meta property="og:image" content="https://anyabi.xyz/thumbnail.png" /> | ||
<meta name="twitter:card" content="summary_large_image" /> | ||
<meta http-equiv="content-security-policy" content=""> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css"> | ||
</head> | ||
|
||
<body> | ||
<main class="container"> | ||
<h1> | ||
<img src="/logo.png" width="48" /> | ||
AnyABI | ||
</h1> | ||
<article>The easiest way to fetch an ABI.</article> | ||
<section> | ||
<form role="search"> | ||
<fieldset role="group"> | ||
<select name="chain"> | ||
<option>Ethereum</option> | ||
</select> | ||
<input name="address" type="text" placeholder="Address" /> | ||
<input type="submit" value="Let's Go!" /> | ||
</fieldset> | ||
</form> | ||
</section> | ||
</main> | ||
<!-- 100% privacy friendly analytics --> | ||
<script async defer src="https://scripts.simpleanalyticscdn.com/latest.js"></script> | ||
<noscript> | ||
<img src="https://queue.simpleanalyticscdn.com/noscript.gif" alt="" referrerpolicy="no-referrer-when-downgrade" /> | ||
</noscript> | ||
</body> | ||
|
||
</html> | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!doctype html><html lang=\"en\" class=\"dark\"><head><meta charset=\"utf-8\"><link rel=\"icon\" href=\"/favicon.png\"><meta name=\"viewport\" content=\"width=device-width\"><title>AnyABI - The easiest way to fetch an ABI</title><meta name=\"twitter:title\" content=\"AnyABI - The easiest way to fetch an ABI\"><meta name=\"description\" content=\"Quickly grab the ABI for ANY EVM smart contract on ANY EVM chain.\"><meta name=\"twitter:description\" content=\"Quickly grab the ABI for ANY EVM smart contract on ANY EVM chain.\"><meta name=\"twitter:image\" content=\"https://anyabi.xyz/thumbnail.png\"><meta property=\"og:image\" content=\"https://anyabi.xyz/thumbnail.png\"><meta name=\"twitter:card\" content=\"summary_large_image\"><meta http-equiv=\"content-security-policy\" content=\"\"><link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css\"></head><body><main class=\"container\"><h1><img src=\"/logo.png\" width=\"48\"> AnyABI</h1><article>The easiest way to fetch an ABI.</article><section><form role=\"search\"><fieldset role=\"group\"><select name=\"chain\"><option>Ethereum</option></select> <input name=\"address\" type=\"text\" placeholder=\"Address\"> <input type=\"submit\" value=\"Let's Go!\"></fieldset></form></section></main><!-- 100% privacy friendly analytics --><script async defer src=\"https://scripts.simpleanalyticscdn.com/latest.js\"></script><noscript><img src=\"https://queue.simpleanalyticscdn.com/noscript.gif\" alt=\"\" referrerpolicy=\"no-referrer-when-downgrade\"></noscript></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes