move js stuff to fork subdir to delete later, init go mod

master
Wouter Groeneveld 2 years ago
parent 535368c386
commit 3138a7f3ef
  1. BIN
      .DS_Store
  2. 10
      .editorconfig
  3. 1
      .gitattributes
  4. 8
      .github/workflows/main.yml
  5. 8
      .gitignore
  6. 17980
      .pnp.js
  7. 55
      .yarn/releases/yarn-berry.cjs
  8. 1
      .yarnrc.yml
  9. 8
      README.md
  10. 0
      go-jamming.sublime-project
  11. 3
      go.mod
  12. BIN
      jsfork/.DS_Store
  13. 0
      jsfork/package.json
  14. BIN
      jsfork/src/.DS_Store
  15. 0
      jsfork/src/config.js
  16. 0
      jsfork/src/linkdiscoverer.js
  17. 0
      jsfork/src/pingback/receive.js
  18. 0
      jsfork/src/pingback/route.js
  19. 0
      jsfork/src/pingback/send.js
  20. 0
      jsfork/src/serve.js
  21. 0
      jsfork/src/webmention/loader.js
  22. 0
      jsfork/src/webmention/receive.js
  23. 0
      jsfork/src/webmention/route.js
  24. 0
      jsfork/src/webmention/rsslinkcollector.js
  25. 0
      jsfork/src/webmention/send.js
  26. BIN
      jsfork/test/.DS_Store
  27. 0
      jsfork/test/__mocks__/got.js
  28. 0
      jsfork/test/__mocks__/index.xml
  29. 0
      jsfork/test/__mocks__/link-discover-bothtypes.html
  30. 0
      jsfork/test/__mocks__/link-discover-test-headers.json
  31. 0
      jsfork/test/__mocks__/link-discover-test-multiple.html
  32. 0
      jsfork/test/__mocks__/link-discover-test-none.html
  33. 0
      jsfork/test/__mocks__/link-discover-test-single.html
  34. 0
      jsfork/test/__mocks__/link-discover-test.html
  35. 0
      jsfork/test/__mocks__/pingback-discover-test-headers.json
  36. 0
      jsfork/test/__mocks__/pingback-discover-test-multiple.html
  37. 0
      jsfork/test/__mocks__/pingback-discover-test-single.html
  38. 0
      jsfork/test/__mocks__/pingback-discover-test.html
  39. 0
      jsfork/test/__mocks__/samplerss-updated-timestamp.xml
  40. 0
      jsfork/test/__mocks__/samplerss.xml
  41. 0
      jsfork/test/__mocks__/valid-bridgy-like.html
  42. 0
      jsfork/test/__mocks__/valid-bridgy-source.html
  43. 0
      jsfork/test/__mocks__/valid-bridgy-twitter-source.html
  44. 0
      jsfork/test/__mocks__/valid-indieweb-source-with-summary.html
  45. 0
      jsfork/test/__mocks__/valid-indieweb-source.html
  46. 0
      jsfork/test/__mocks__/valid-indieweb-target.html
  47. 0
      jsfork/test/__mocks__/valid-nonindieweb-source.html
  48. 0
      jsfork/test/e2e.test.js
  49. 0
      jsfork/test/linkdiscoverer.test.js
  50. 0
      jsfork/test/pingback/receive-process.test.js
  51. 0
      jsfork/test/pingback/receive-validate.test.js
  52. 0
      jsfork/test/utils.js
  53. 0
      jsfork/test/webmention/loader-load.test.js
  54. 0
      jsfork/test/webmention/loader-validate.test.js
  55. 0
      jsfork/test/webmention/receive-process.test.js
  56. 0
      jsfork/test/webmention/receive-validate.test.js
  57. 0
      jsfork/test/webmention/rsslinkcollector.test.js
  58. 0
      jsfork/test/webmention/send.test.js
  59. 0
      jsfork/yarn.lock
  60. 8
      main.go

BIN
.DS_Store vendored

Binary file not shown.

@ -1,10 +0,0 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
[*.{js,json,.yml}]
charset = utf-8
indent_style = space
indent_size = 2

1
.gitattributes vendored

@ -1 +0,0 @@
/.yarn/** linguist-vendored

@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install modules
run: yarn
- name: Run tests
run: yarn test
- uses: actions/setup-go@v2
with:
go-version: '^1.16.0'
- run: go version

8
.gitignore vendored

@ -1,11 +1,7 @@
data/*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
# this is the binary
go-jamming
*.sublime-workspace

17980
.pnp.js generated

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1 +0,0 @@
yarnPath: ".yarn/releases/yarn-berry.cjs"

@ -1,10 +1,12 @@
# serve-my-jams 🥞
# go-jammin' 🥞
> A minimalistic jamstack-augmented microservice for webmentions etc
> A minimalistic Go-powered jamstack-augmented microservice for webmentions etc
**This is a fork of [https://github.com/wgroeneveld/serve-my-jams](serve-my-jams)**, the Node-powered original microservice, which is no longer being maintained.
**Are you looking for a way to DO something with this?** See https://github.com/wgroeneveld/jam-my-stack !
This is a set of minimalistic [Koa-based](https://koajs.com/) microservices that aid you in your IndieWeb Jamstack coolness 😎 (name-dropping). While [jam-my-stack](https://github.com/wgroeneveld/jam-my-stack) is a set of scripts used to run at checkin-time, this is a dymamic service that handles requests.
This is a set of minimalistic Go-based microservices that aid you in your IndieWeb Jamstack coolness 😎 (name-dropping). While [jam-my-stack](https://github.com/wgroeneveld/jam-my-stack) is a set of scripts used to run at checkin-time, this is a dymamic service that handles requests.
Inspect how it's used on https://brainbaking.com/ - usually, a `<link/>` in your `<head/>` suffices:

@ -0,0 +1,3 @@
module github.com/wgroeneveld/go-jamming
go 1.16

BIN
jsfork/.DS_Store vendored

Binary file not shown.

BIN
jsfork/src/.DS_Store vendored

Binary file not shown.

Binary file not shown.

@ -0,0 +1,8 @@
package main
import "fmt"
func main() {
fmt.Println("it works!")
}
Loading…
Cancel
Save