-
Notifications
You must be signed in to change notification settings - Fork 202
Add local mode setup, keychain credentials, and release packaging #131
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
Merged
Merged
Changes from 22 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
bedc9d0
Subscribe to theme changes
AdamEXu 764a1fa
OR Base URL
AdamEXu f909a8a
Merge branch 'main' of https://github.com/tinyfish-io/bigset
AdamEXu 228550c
add local mode
AdamEXu f7ee62b
swap in wordmarks
AdamEXu 8f155cd
Add OS keychain storage for local credentials
AdamEXu eee5b3c
Remove local OpenRouter OAuth setup
AdamEXu 15bc03a
remove nextjs dev indicator
AdamEXu 376c777
Merge branch 'main' of https://github.com/tinyfish-io/bigset
AdamEXu cac2e9e
allow more origins (less strict CORS)
AdamEXu 09d612e
fix up settings page
AdamEXu 4b73c10
add build script
AdamEXu 7d993dd
Merge branch 'main' of https://github.com/tinyfish-io/bigset
AdamEXu c7f77e8
fix a few bugs and things brought up by coderabbit
AdamEXu 875cda1
remove the convex skip thing
AdamEXu 7f074ec
Merge branch 'main' into main
simantak-dabhade aea1de0
check for bad open router credential
AdamEXu ae397b3
undo something
AdamEXu d918c06
Merge branch 'main' of https://github.com/AdamEXu/bigset
AdamEXu d596115
add automated building scripts
AdamEXu f3dae21
convex! to the github!
AdamEXu 59a7597
Fix Windows release backend bundling
AdamEXu 16ea01c
Pin release workflow actions to SHAs
AdamEXu 2dedc18
fix some issues that coderabbit didn't like
AdamEXu dbe6924
fix build thing
AdamEXu 4735533
update README
AdamEXu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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,83 @@ | ||
| --- | ||
| name: Build Release Artifacts | ||
|
|
||
| on: # yamllint disable-line rule:truthy | ||
| workflow_dispatch: | ||
| inputs: | ||
| release_tag: | ||
| description: Existing release tag to upload assets to. Leave empty to only upload workflow artifacts. | ||
| required: false | ||
| type: string | ||
| release: | ||
| types: [published] | ||
|
|
||
| permissions: | ||
| contents: write | ||
|
|
||
| jobs: | ||
| build: | ||
| name: Build ${{ matrix.platform }} | ||
| runs-on: ${{ matrix.runner }} | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| include: | ||
| - platform: darwin-arm64 | ||
| runner: macos-15 | ||
| - platform: darwin-x64 | ||
| runner: macos-15-intel | ||
| - platform: linux-arm64 | ||
| runner: ubuntu-24.04-arm | ||
| - platform: linux-x64 | ||
| runner: ubuntu-24.04 | ||
| - platform: win32-arm64 | ||
| runner: windows-11-arm | ||
| - platform: win32-x64 | ||
| runner: windows-2025 | ||
|
|
||
| env: | ||
| ARTIFACT_NAME: bigset-build-${{ matrix.platform }}.zip | ||
|
|
||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup Node | ||
| uses: actions/setup-node@v4 | ||
|
coderabbitai[bot] marked this conversation as resolved.
Outdated
|
||
| with: | ||
| node-version: "24" | ||
|
|
||
| - name: Install frontend dependencies | ||
| working-directory: frontend | ||
| run: npm install --silent | ||
|
|
||
| - name: Install backend dependencies | ||
| working-directory: backend | ||
| run: npm install --silent | ||
|
|
||
| - name: Build release | ||
| run: node scripts/build-release.mjs | ||
|
|
||
| - name: Rename artifact | ||
| run: node -e "const fs = require('fs'); fs.renameSync('dist/bigset-build.zip', 'dist/' + process.env.ARTIFACT_NAME);" | ||
|
|
||
| - name: Upload workflow artifact | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: ${{ matrix.platform }} | ||
| path: dist/${{ env.ARTIFACT_NAME }} | ||
| if-no-files-found: error | ||
|
|
||
| - name: Upload release asset | ||
| if: github.event_name == 'release' || inputs.release_tag != '' | ||
| env: | ||
| GH_TOKEN: ${{ github.token }} | ||
| run: gh release upload "${{ github.event.release.tag_name || inputs.release_tag }}" "dist/${{ env.ARTIFACT_NAME }}" --clobber | ||
|
coderabbitai[bot] marked this conversation as resolved.
Outdated
|
||
|
|
||
| - name: Upload legacy release asset | ||
| if: (github.event_name == 'release' || inputs.release_tag != '') && matrix.platform == 'darwin-arm64' | ||
| env: | ||
| GH_TOKEN: ${{ github.token }} | ||
| run: | | ||
| node -e "const fs = require('fs'); fs.copyFileSync('dist/' + process.env.ARTIFACT_NAME, 'dist/bigset-build.zip');" | ||
| gh release upload "${{ github.event.release.tag_name || inputs.release_tag }}" "dist/bigset-build.zip" --clobber | ||
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -18,6 +18,8 @@ yarn-debug.log* | |
|
|
||
| # Local-only files | ||
| *.bak | ||
| .local/ | ||
| dist/ | ||
| tmp/ | ||
| temp/ | ||
|
|
||
|
|
||
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.