Skip to content

Commit 769b5b1

Browse files
committed
initial
0 parents  commit 769b5b1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+16010
-0
lines changed

.eslintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "next/core-web-vitals"
3+
}

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
name: Bug report
3+
about: Something is occurring that I think is wrong
4+
title: ''
5+
labels: "\U0001F41B bug"
6+
assignees: ''
7+
8+
---
9+
10+
## What is the current behavior?
11+
12+
> What's happening that seems wrong?
13+
14+
## Steps to reproduce
15+
16+
> To make it faster to diagnose the root problem. Tell us how can we reproduce the bug.
17+
18+
## Expected behavior
19+
20+
> What would you expect to happen when following the steps above?
21+
22+
## Please tell us about your environment
23+
24+
> We want to make sure the problem isn't specific to your operating system or programming language.
25+
26+
- **Operating System/Version:** Windows 10
27+
- **Language:** [all | TypeScript | Python | PHP | etc]
28+
- **Browser:** Chrome
29+
30+
## Other information
31+
32+
> Anything else we should know? (e.g. detailed explanation, stack-traces, related issues, suggestions how to fix, links for us to have context, eg. stack overflow, codepen, etc)

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Deepgram Developer Community
4+
url: https://github.com/orgs/deepgram/discussions
5+
- name: Deepgram on Twitter
6+
url: https://twitter.com/DeepgramAI
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: Feature Request
3+
about: I think X would be a cool addition or change.
4+
title: ''
5+
labels: "✨ enhancement"
6+
assignees: ''
7+
8+
---
9+
10+
## Proposed changes
11+
12+
> Provide a detailed description of the change or addition you are proposing
13+
14+
## Context
15+
16+
> Why is this change important to you? How would you use it? How can it benefit other users?
17+
18+
## Possible Implementation
19+
20+
> Not obligatory, but suggest an idea for implementing addition or change
21+
22+
## Other information
23+
24+
> Anything else we should know? (e.g. detailed explanation, related issues, links for us to have context, eg. stack overflow, codepen, etc)
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
## Proposed changes
2+
3+
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
4+
5+
## Types of changes
6+
7+
What types of changes does your code introduce to the Vonage for Visual Studio Code extension?
8+
_Put an `x` in the boxes that apply_
9+
10+
- [ ] Bugfix (non-breaking change which fixes an issue)
11+
- [ ] New feature (non-breaking change which adds functionality)
12+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
13+
- [ ] Documentation update or tests (if none of the other choices apply)
14+
15+
## Checklist
16+
17+
_Put an `x` in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code._
18+
19+
- [ ] I have read the [CONTRIBUTING](../../CONTRIBUTING.md) doc
20+
- [ ] Lint and unit tests pass locally with my changes
21+
- [ ] I have added tests that prove my fix is effective or that my feature works
22+
- [ ] I have added necessary documentation (if appropriate)
23+
- [ ] Any dependent changes have been merged and published in downstream modules
24+
25+
## Further comments
26+
27+
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for more information:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
# https://containers.dev/guide/dependabot
6+
7+
version: 2
8+
updates:
9+
- package-ecosystem: "devcontainers"
10+
directory: "/"
11+
schedule:
12+
interval: weekly

.github/workflows/release.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- "next/**"
8+
- "rc/**"
9+
- "beta/**"
10+
- "alpha/**"
11+
workflow_dispatch:
12+
13+
jobs:
14+
release:
15+
name: Release / Node ${{ matrix.node }}
16+
strategy:
17+
matrix:
18+
node: ["20"]
19+
20+
runs-on: ubuntu-latest
21+
22+
permissions:
23+
contents: write
24+
25+
steps:
26+
- uses: actions/checkout@v2
27+
28+
- name: Set up Node
29+
uses: actions/setup-node@v2
30+
with:
31+
node-version: ${{ matrix.node }}
32+
33+
- run: |
34+
npm ci
35+
36+
- name: Create a release
37+
run: npx semantic-release
38+
env:
39+
GITHUB_TOKEN: ${{ secrets.GH_PUSH_TOKEN }}

.gitignore

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
.yarn/install-state.gz
8+
9+
# testing
10+
/coverage
11+
12+
# next.js
13+
/.next/
14+
/out/
15+
16+
# production
17+
/build
18+
19+
# misc
20+
.DS_Store
21+
.env.local
22+
.env
23+
.env.production
24+
*.pem
25+
26+
# debug
27+
npm-debug.log*
28+
yarn-debug.log*
29+
yarn-error.log*
30+
31+
# local env files
32+
.env*.local
33+
34+
# vercel
35+
.vercel
36+
37+
# typescript
38+
*.tsbuildinfo
39+
next-env.d.ts
40+
41+
42+
# Contentlayer
43+
.contentlayer
44+
45+
# vscode
46+
.vscode
47+
48+
# container
49+
.devcontainer
50+
51+
# pycharm
52+
.idea

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Change Log
2+
3+
## [1.0.1](https://github.com/deepgram-starters/nextjs-live-transcription/compare/1.0.0...1.0.1) (2024-05-04)
4+
5+
6+
### Bug Fixes
7+
8+
* cannot set caption to undefined as it was strict string ([8c76d48](https://github.com/deepgram-starters/nextjs-live-transcription/commit/8c76d48c819bab0faa7219a7d76a064b2e7000d6))
9+
10+
# 1.0.0 (2024-05-04)
11+
12+
13+
### Bug Fixes
14+
15+
* change the label on the playground box ([9e37111](https://github.com/deepgram-starters/nextjs-live-transcription/commit/9e37111b3a0fb7a2e1c3ff8db26aa4b7631ade8f))
16+
* enable smart_format ([4ed2519](https://github.com/deepgram-starters/nextjs-live-transcription/commit/4ed25197eb7a0b9b1c47950df75821339a2ef242))
17+
* fix dependency issue ([bfe2be6](https://github.com/deepgram-starters/nextjs-live-transcription/commit/bfe2be6d775f9a7142800d1cc191166af0ac1d8a))
18+
* fix incorrect url ([e7e7536](https://github.com/deepgram-starters/nextjs-live-transcription/commit/e7e753637fa89cd1865705e6b497671433b1cbf0))
19+
* loading alignment was off-center ([fcccf07](https://github.com/deepgram-starters/nextjs-live-transcription/commit/fcccf074746dc1afcf72b9de25da714fe312d251))
20+
* remove unused code - whoops ([1f9cdc7](https://github.com/deepgram-starters/nextjs-live-transcription/commit/1f9cdc7bc1f87d9d0bb58774dbf27e52cb8508ba))
21+
22+
23+
### Features
24+
25+
* apply some feedback ([230d265](https://github.com/deepgram-starters/nextjs-live-transcription/commit/230d2651324d4a7a8ca93487e2ea23dc3f65bc0f))
26+
* initial commit working next.js demo ([a3faf0f](https://github.com/deepgram-starters/nextjs-live-transcription/commit/a3faf0ffa03773ed668890aba5c6c75414a6f2b8))
27+
* update title and description ([cc510ea](https://github.com/deepgram-starters/nextjs-live-transcription/commit/cc510ea42591b8a818c103176740e03924767703))

CODE_OF_CONDUCT.md

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
# Code of Conduct
2+
3+
The Deepgram developer community is filled with amazing, clever and creative people, and we're excited for you to join us. Our goal is to create safe and inclusive spaces, have meaningful conversations, and explore ways to make sure that every voice is heard and understood.
4+
5+
#### Being a Good Community Member
6+
7+
Because we prioritize creating a safe space for our members, we believe in actively working on how we, as individuals, can ensure a positive community environment through our own actions and mindsets.
8+
9+
Every supportive community starts with each member. We feel it’s important to be open to others, respectful, and supportive. As part of the Deepgram community, please begin by thinking carefully about and agreeing with the following statements:
10+
11+
- I will be welcoming to everyone at the table;
12+
- I will be patient and open to learning from everyone around me;
13+
- I will treat everyone with respect, because they deserve it;
14+
- I will be mindful of the needs and boundaries of others;
15+
16+
We strive to create a space where we learn and grow together. Here are some other key things you can do to make the community great:
17+
18+
### BE HUMBLE
19+
20+
People come from all different places, and it’s best not to make assumptions about what they think or feel. Approach others with curiosity and openness. We **all** have a lot to learn from each other.
21+
22+
### BE HELPFUL
23+
24+
If someone asks for help, consider jumping in. You don’t have to be an expert to talk through a problem, suggest a resource, or help find a solution. We all have something to contribute.
25+
26+
### ENCOURAGE OTHERS
27+
28+
There’s no one path to have a career in technology or to this community. Let’s engage others in ways that create opportunities for learning and fun for all of us.
29+
30+
## Our Pledge
31+
32+
Everyone who participates in our community must agree to abide by our Code of Conduct. By agreeing, you help create a welcoming, respectful, and friendly community based on respect and trust. We are committed to creating a harassment-free community.
33+
34+
These rules will be strictly enforced in any and all of our official spaces, including direct messages, social media, and physical and virtual events. Everyone who participates in these spaces is required to agree to this community code. We also ask and expect community members to observe these rules anywhere the community is meeting (for example, online chats on unofficial platforms or event after-parties).
35+
36+
## Our Standards
37+
38+
### BE RESPECTFUL
39+
40+
Exercise consideration and respect in your speech and actions. Be willing to accept and give feedback gracefully.
41+
42+
Don’t make offensive comments related to gender, gender identity and expression, sexual orientation, disability, mental illness, neuro(a)typicality, physical appearance, body size, race, ethnicity, immigration status, religion, experience level, socioeconomic status, nationality, or other identity markers.
43+
44+
Additionally, don’t insult or demean others. This includes making unwelcome comments about a person’s lifestyle choices and practices, including things related to diet, health, parenting, drugs, or employment. It’s not okay to insult or demean others if it’s "just a joke."
45+
46+
### BE WELCOMING AND OPEN
47+
48+
Encourage others, be supportive and willing to listen, and be willing to learn from others’ perspectives and experiences. Lead with empathy and kindness.
49+
50+
Don’t engage in gatekeeping behaviors, like questioning the intelligence or knowledge of others as a way to prove their credentials. And don’t exclude people for prejudicial reasons.
51+
52+
### RESPECT PRIVACY
53+
54+
Do not publish private communications without consent. Additionally, never disclose private aspects of a person’s personal identity without consent, except as necessary to protect them from intentional abuse.
55+
56+
### RESPECT PERSONAL BOUNDARIES
57+
58+
Do not introduce gratuitous or off-topic sexual images, languages, or behavior in spaces where they are not appropriate. Never make physical contact or simulated physical contact without consent or after a request to stop. Additionally, do not continue to message others about anything if they ask you to stop or leave them alone.
59+
60+
#### BE A GOOD NEIGHBOR
61+
62+
Contribute to the community in a positive and thoughtful way. Consider what’s best for the overall community. Do not make threats of violence, intimidate others, incite violence or intimidation against others, incite self-harm, stalk, follow, or otherwise harass others. Be mindful of your surroundings and of your fellow participants.
63+
64+
Alert community leaders if you notice a dangerous situation, someone in distress, or violations of this Code of Conduct, even if they seem inconsequential.
65+
66+
# Additional rules for online spaces
67+
68+
For Deepgram’s official online spaces, like our YouTube & Twitch chats, we have some additional rules. Any of the following behaviors can result in a ban without warning.
69+
70+
### DON'T SPAM
71+
72+
Don't spam. We'll ban you.
73+
74+
### KEEP IT LEGAL
75+
76+
If it’s illegal, it’s not allowed on our websites or in our online spaces. Please don’t share links to pirated material or other nefarious things.
77+
78+
### NO TROLLING
79+
80+
Please be earnest. Don’t use excessive sarcasm to annoy or undermine other people. And don’t bait them with bad faith comments or abuse.
81+
82+
### PORNOGRAPHY AND OTHER NSFW STUFF
83+
84+
Please don’t post it or link to it. It doesn’t belong in our online spaces.
85+
86+
### FOUL AND GRAPHIC LANGUAGE
87+
88+
Please do not use excessive curse words. Additionally, do not use graphic sexual or violent language — again, think of our spaces as places for people of all ages.
89+
90+
# Enforcement & Reporting
91+
92+
If you are being harassed by a member of the Deepgram developer community, if you observe someone else being harassed, or you experience actions or behaviors that are contrary to our Code of Conduct, please report the behavior by contacting our team at [[email protected]](mailto:[email protected]).
93+
94+
## Enforcement Guidelines
95+
96+
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
97+
98+
### 1. Correction
99+
100+
**_Community Impact:_** Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
101+
102+
**_Consequence:_** A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
103+
104+
### 2. Warning
105+
106+
**_Community Impact:_** A violation through a single incident or series of actions.
107+
108+
**_Consequence:_** A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
109+
110+
### 3. Temporary Ban
111+
112+
**_Community Impact:_** A serious violation of community standards, including sustained inappropriate behavior.
113+
114+
**_Consequence:_** A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
115+
116+
### 4. Permanent Ban
117+
118+
**_Community Impact:_** Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
119+
120+
**_Consequence:_** A permanent ban from any sort of public interaction within the community.
121+
122+
# Attribution
123+
124+
This Code of Conduct is adapted from:
125+
126+
- Contributor Covenant, version 2.0, available at https://www.contributor-covenant.org/version/2/0/code_of_conduct
127+
- https://eventhandler.community/conduct/, which itself is inspired by Quest, who in turn provides credit to Scripto, the #botALLY Code of Conduct, the LGBTQ in Tech code of Conduct, and the XOXO Code of Conduct.
128+
129+
Community Impact Guidelines, which were copied from InnerSource Commons, were inspired by Mozilla’s code of conduct enforcement ladder.
130+
131+
For answers to common questions about this code of conduct, see the FAQ at https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.

0 commit comments

Comments
 (0)