Skip to content

Commit

Permalink
Merge pull request #23 from cmgriffing/issue-8
Browse files Browse the repository at this point in the history
feat: create initial README and license
  • Loading branch information
cmgriffing authored Jan 26, 2024
2 parents db5e33b + 6a57c44 commit 1f1d8a5
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 21 deletions.
7 changes: 7 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Copyright 2024 Chris Griffing

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.
59 changes: 38 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,47 @@
# React + TypeScript + Vite
# Orderly

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Orderly is a proof-of-concept tool for helping you write books. It uses whisper.cpp to aid in dictation of speech to text so that you don't have to type everything out by hand.

Currently, two official plugins are available:
This app was actually inspired by an episode of Columbo that had an author dictate his novel chapters into a tape recorder and then send them off to be typed up.

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
## Contributing

## Expanding the ESLint configuration
Orderly is 100% open source and welcomes contributors. As a proof-of-concept not every fix or feature issue will make into the core codebase, but contributors are heavily encouraged to fork it and make it their own.

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
### Installation

- Configure the top-level `parserOptions` property like this:
Orderly uses PNPM (https://pnpm.io/)[https://pnpm.io/] for its dependency management. You are expected to use it instead of npm or yarn if you wish to have your PR accepted.

Run this command to install the dependencies:

```
pnpm install
```

### Development

To run the dev server please run:

```js
export default {
// other rules...
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},
}
```
pnpm dev
```

This will launch the app at `http://localhost:5173/orderly/` by default as long as the port is available.

### Commits

To ensure that your PR gets accepted with the least amount of friction, please use the Conventional Commit syntax found here: [https://www.conventionalcommits.org/en/v1.0.0/](https://www.conventionalcommits.org/en/v1.0.0/)

### Making a Pull Request

It is strongly encouraged to make an Issue first. When creating a PR, please reference the issue and add `resolves #ISSUE_NUMBER` at the end of the PR description on its own new line where `ISSUE_NUMBER` is the number of the issue you created or are referencing.

## License

Copyright 2024 Chris Griffing

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.

- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`
- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list
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.

0 comments on commit 1f1d8a5

Please sign in to comment.