diff --git a/.env b/.env index e9b5f94..362de50 100644 --- a/.env +++ b/.env @@ -1 +1,5 @@ -REACT_APP_GITHUB_TOKEN=your_github_token_here \ No newline at end of file +REACT_APP_GITHUB_TOKEN=your_github_token_here +REACT_APP_GITEA_TOKEN=your_gitea_token_here +GITEA_API_URL='https://git.konceptkit.com/' +GITHUB_API_URL='https://api.github.com/' +GITEA_ACCESS_TOKEN='de037d3d8b7268acd0dc734a83799e4f3761bad3' \ No newline at end of file diff --git a/README.md b/README.md index c2214f2..4e95718 100644 --- a/README.md +++ b/README.md @@ -78,3 +78,4 @@ npm install recharts # Commit activity charts npm install react-tooltip # Tooltips for commit details +Is there a limit with gitea Api? \ No newline at end of file diff --git a/src/App.tsx b/src/App.tsx index d091f8a..f38fdfa 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,15 +1,20 @@ // In your main app -import GitHubWidget from "./components/GitHubWidget"; +import { GitHubWidget, GiteaWidget } from "./components/GitWidget"; export default function App() { return (
Error: {error}
{giteaUrl} | Repo: {repo} |
+ Branch: {branch}
+
+ Failed to load commits
+ {error} ++ Ensure: +