Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
42 changes: 42 additions & 0 deletions .github/cla/cla.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Stroke Contributor License Agreement

By signing this CLA, you agree to the following terms:

## Grant of License

You grant **Stroke / Nischal Dahal** (the "Project") a perpetual, worldwide,
non-exclusive, no-charge, royalty-free, irrevocable license to:

- Reproduce, prepare derivative works of, publicly display, publicly perform,
sublicense, and distribute your contributions and any derivative works.
- Re-license your contributions under any license, including proprietary and
commercial licenses, at the Project's sole discretion.

## Representations

You represent that:

1. You are legally entitled to grant the above license.
2. Each of your contributions is your original creation, or you have sufficient
rights to submit it under this agreement.
3. Your contributions do not violate any third-party intellectual property rights.
4. If your employer has rights over your contributions, you have their written
permission to contribute under these terms, or your employer has signed a
Corporate CLA with the Project.

## No Warranty

Your contributions are provided on an **"AS IS" basis**, without warranties or
conditions of any kind.

## What this means in practice

- You keep your copyright. The CLA grants the Project a license, not ownership.
- Your code will be available under the MIT license in the public repo.
- The Project may also include your code in a commercial Pro build under a
separate proprietary license. This is necessary to sustain the project.
- You will be credited in the project's contributor list.

---

*This CLA is based on the Apache Foundation Individual CLA, adapted for Stroke.*
3 changes: 3 additions & 0 deletions .github/cla/signatures.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"signedContributors": []
}
38 changes: 38 additions & 0 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CLA Assistant

on:
issue_comment:
types: [created]
pull_request_target:
types: [opened, closed, synchronize]

permissions:
actions: write
contents: write
pull-requests: write
statuses: write

jobs:
cla-assistant:
runs-on: ubuntu-latest
if: |
(github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') ||
(github.event_name == 'pull_request_target')
steps:
- name: CLA assistant
uses: contributor-assistant/github-action@v2.6.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Personal access token with repo scope — add as a repo secret named
# PERSONAL_ACCESS_TOKEN so signatures can be committed back to the repo.
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
with:
# Signatures are stored in this file in the default branch.
path-to-signatures: '.github/cla/signatures.json'
# The CLA document contributors will be asked to read.
path-to-document: 'https://github.com/${{ github.repository }}/blob/master/.github/cla/cla.md'
# The comment added to PRs asking contributors to sign.
custom-pr-sign-comment: >
I have read the CLA Document and I hereby sign the CLA
# Allowlist — bots and the repo owner don't need to sign.
allowlist: bot,broisnischal
30 changes: 30 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
MIT License

Copyright (c) 2024 Stroke Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

---

NOTICE: Certain features of this software ("Pro Features") are not covered by
the MIT License above and are subject to a separate commercial license. Pro
Features are clearly identified in the application and include: AI assistant,
Dashboard, ORM Runner, Security, Logs, Charts, Diagrams, Schema Timeline,
Data Diff, Extensions, and SQL Notebooks. Use of Pro Features in production
requires a valid Stroke Pro license. See https://stroke.click/pricing for details.
Loading
Loading