Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ipos): filebase IPFS worker #316

Merged
merged 24 commits into from
Jul 17, 2024
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
82ae4d0
add(ipos): 🚀 init ipos worker
hassnian Jul 9, 2024
ccf9565
ref(ipos): remove log
hassnian Jul 9, 2024
cf74455
fix(ipos): single file upload type from file
hassnian Jul 9, 2024
64a96a8
ref(ipos): /pinJson use fs.stats
hassnian Jul 9, 2024
6b92859
fix(ipos): file array buffer and call helia stop
hassnian Jul 9, 2024
bfb33c8
fix(ipos): /pinFile types
hassnian Jul 9, 2024
3d2f4bd
add(ipos): /pinFile log adding file to dir
hassnian Jul 9, 2024
085b982
ref(ipos): /pinFile use `parseBody({ all: true }))`
hassnian Jul 9, 2024
2521c67
fix(ipos): /pinFile flat level
hassnian Jul 9, 2024
8d81e8a
fix(ipos): `/pinFile` route validation
hassnian Jul 10, 2024
a4f1624
ref(ipos): `/pinJson` use `@helia/json` package
hassnian Jul 10, 2024
6a9f4ef
ref(ipos): `/utils/format.ts` cleaner `getUint8ArrayFromFile` impleme…
hassnian Jul 10, 2024
490e0cb
add(ipos): `/pinJson` to filebase
hassnian Jul 16, 2024
c87aa1a
add(ipos): `/pinJson` save content to r2
hassnian Jul 16, 2024
c327a01
add(ipos): `/pinFile` to filebase
hassnian Jul 16, 2024
0f75cf3
add(ipos): move `getDirectoryCID` to `helia` and make `hashOf` util
hassnian Jul 17, 2024
d98c5d2
update(ipos): `wrangler.toml` with multiple envs
hassnian Jul 17, 2024
96aabae
fix(ipos): `wrangler.toml` duplicate beta keys
hassnian Jul 17, 2024
45c73f6
add(ipos): `/pinFile` file size
hassnian Jul 17, 2024
562bfc8
ref(ipos): `/pinFIle` use only one waitUntil`
hassnian Jul 17, 2024
d351436
fix(ipos): `wrangler.toml` beta `bucket_name` key
hassnian Jul 17, 2024
2864da5
:wrench: use cid V1
vikiival Jul 17, 2024
2720716
:wrench: setup
vikiival Jul 17, 2024
f001b9a
:bug: saving at incorrect location
vikiival Jul 17, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(ipos): wrangler.toml duplicate beta keys
hassnian committed Jul 17, 2024
commit 96aabaead6b3e52b99bb2c01dfdff377961729a0
4 changes: 2 additions & 2 deletions services/ipos/wrangler.toml
Original file line number Diff line number Diff line change
@@ -29,10 +29,10 @@ preview_bucket_name = 'alpha-stockpile'
[env.production]
name = 'ipos'

[env.beta.vars]
[env.production.vars]
S3_ACCESS_KEY_ID = ''
FILEBASE_BUCKET_NAME='koda-art'

[[env.beta.r2_buckets]]
[[env.production.r2_buckets]]
binding = 'BUCKET'
bucket_name = 'stockpile'