https://github.com/civicdatalab/opub-mono

An open-source Data Publishing Platform

https://github.com/civicdatalab/opub-mono

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.6%) to scientific vocabulary

Keywords

eslint graphql graphql-request nextjs react react-query rollup scss-modules server-components storybook taiwindcss turborepo typescript vite vitest

Keywords from Contributors

civic-tech opendata publicdata socialscience
Last synced: 5 months ago · JSON representation

Repository

An open-source Data Publishing Platform

Basic Info
  • Host: GitHub
  • Owner: CivicDataLab
  • License: mit
  • Language: TypeScript
  • Default Branch: main
  • Homepage: https://opub-d4d.vercel.app
  • Size: 23.4 MB
Statistics
  • Stars: 5
  • Watchers: 6
  • Forks: 2
  • Open Issues: 35
  • Releases: 3
Topics
eslint graphql graphql-request nextjs react react-query rollup scss-modules server-components storybook taiwindcss turborepo typescript vite vitest
Created about 3 years ago · Last pushed 6 months ago
Metadata Files
Readme Contributing License Code of conduct Security

README.md

OPub Mono

A WIP (work in progress) platform to speed up the development of Open Data Dashboards, aimed at simplifying the process of creating and managing data visualizations, enabling users to easily analyze and present complex data in a user-friendly and accessible way.

Stroybook
Dashboard

What's inside?

This repository, built using Turborepo, utilizes NPM as its package manager and contains the following packages and applications:

Apps and Packages

  • examples: web applications built using the Next.js framework and OPub UI
  • packages/opub-ui: a library of reusable React components and utility functions
  • packages/create-opub-app: a CLI tool to quickly spin up a new OPub app in minutes
  • packages/opub-tokens: a tool to convert Figma variables to Design Tokens

Build

To build all apps and packages, run the following command:

cd opub-mono npm run build

Develop

To develop all apps and packages, run the following command:

cd opub-mono npm run dev

Develop Only Specific Package

To develop only package, let's say UI, run the following command:

cd opub-mono npm run dev --filter opub-ui

New Component

Currently this might not working for Linux distros

This repo includes a npm run new-component module to help create boilerplate for component creation.

npm run new-component Button

This will create a new component directory in packages/opub-ui/src with required files and also export the component in the index.ts

components/ ┣ Button/ ┃ ┣ Button.module.scss/ ┃ ┣ Button.stories.tsx/ ┃ ┣ Button.test.tsx/ ┃ ┣ Button.tsx/ ┃ ┣ index.ts/

Owner

  • Name: CivicDataLab
  • Login: CivicDataLab
  • Kind: organization
  • Email: info@civicdatalab.in
  • Location: India

Harnessing Data, Tech, Design and Social Science to strengthen the course of Civic Engagements in India.

GitHub Events

Total
  • Issues event: 14
  • Delete event: 2
  • Issue comment event: 6
  • Push event: 46
  • Pull request review event: 2
  • Pull request event: 11
  • Fork event: 1
  • Create event: 4
Last Year
  • Issues event: 14
  • Delete event: 2
  • Issue comment event: 6
  • Push event: 46
  • Pull request review event: 2
  • Pull request event: 11
  • Fork event: 1
  • Create event: 4

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 1,402
  • Total Committers: 12
  • Avg Commits per committer: 116.833
  • Development Distribution Score (DDS): 0.452
Past Year
  • Commits: 92
  • Committers: 5
  • Avg Commits per committer: 18.4
  • Development Distribution Score (DDS): 0.5
Top Committers
Name Email Commits
pixeledcode a****8@g****m 768
= = 393
sanjaypinna s****5@g****m 71
aashimgarg a****g@g****m 59
ruthvik129 r****9@g****m 55
bhavabhuthi b****i@r****t 25
Swati S s****s@S****l 17
Ssravani272 s****2@g****m 7
rututank 1****k 2
aparnasr1 1****1 2
Archit Dubey 4****7 2
Shivani Jaiswal s****l@S****l 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 75
  • Total pull requests: 272
  • Average time to close issues: about 1 month
  • Average time to close pull requests: about 15 hours
  • Total issue authors: 9
  • Total pull request authors: 10
  • Average comments per issue: 0.19
  • Average comments per pull request: 1.31
  • Merged pull requests: 249
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 13
  • Pull requests: 8
  • Average time to close issues: 18 days
  • Average time to close pull requests: about 6 hours
  • Issue authors: 4
  • Pull request authors: 4
  • Average comments per issue: 0.0
  • Average comments per pull request: 1.0
  • Merged pull requests: 7
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • PixeledCode (31)
  • bhavabhuthi (12)
  • Gnupura (10)
  • Deepthi-Chand (8)
  • aashimgarg (4)
  • sswadi (3)
  • Prajna1999 (3)
  • sanjaypinna (2)
  • Ssravani272 (1)
Pull Request Authors
  • PixeledCode (172)
  • aashimgarg (52)
  • sswadi (20)
  • bhavabhuthi (6)
  • sanjaypinna (5)
  • ruthvik129 (4)
  • aparnasr1 (2)
  • Ssravani272 (2)
  • Deepthi-Chand (1)
  • rututank (1)
Top Labels
Issue Labels
feature (22) frontend (4) bug (3) Tech (2) documentation (2) DesignResearch (2) backend (1) enhancement (1) Urgent (1) DPG (1)
Pull Request Labels

Packages

  • Total packages: 5
  • Total downloads:
    • npm 326 last-month
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 2
    (may contain duplicates)
  • Total versions: 199
  • Total maintainers: 2
npmjs.org: opub-viz

OPub Visualization Library

  • Versions: 10
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 6 Last month
Rankings
Dependent repos count: 10.7%
Forks count: 12.0%
Downloads: 12.1%
Stargazers count: 13.6%
Average: 20.2%
Dependent packages count: 52.7%
Maintainers (1)
Last synced: 6 months ago
npmjs.org: opub-ui

OPub UI Library

  • Versions: 123
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 248 Last month
Rankings
Dependent repos count: 10.7%
Forks count: 12.0%
Stargazers count: 13.6%
Downloads: 21.2%
Average: 22.0%
Dependent packages count: 52.7%
Maintainers (1)
Last synced: 6 months ago
npmjs.org: @opub-cdl/ui

OPub UI Library

  • Versions: 42
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 56 Last month
Rankings
Forks count: 18.2%
Stargazers count: 19.5%
Dependent repos count: 22.2%
Average: 22.5%
Dependent packages count: 30.3%
Maintainers (1)
Last synced: 6 months ago
npmjs.org: opub-tokens

Convert Figma tokens to CSS Variables

  • Versions: 8
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 14 Last month
Rankings
Dependent repos count: 32.8%
Average: 39.9%
Dependent packages count: 47.0%
Maintainers (1)
Last synced: 6 months ago
npmjs.org: create-opub-app

Create OPub app with one command

  • Versions: 16
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 2 Last month
Rankings
Dependent repos count: 37.4%
Average: 45.6%
Dependent packages count: 53.8%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/bundle.yml actions
  • actions/checkout v3 composite
  • actions/setup-node v3 composite
.github/workflows/chromatic.yml actions
  • actions/checkout v2 composite
  • actions/setup-node v3 composite
  • chromaui/action v1 composite
.github/workflows/opub-viz.yml actions
  • actions/checkout v2 composite
  • actions/setup-node v3 composite
  • chromaui/action v1 composite
apps/docs/package.json npm
  • typescript ^5.0.4 development
  • @types/node 18.15.1
  • @types/react 18.0.28
  • @types/react-dom 18.0.11
  • eslint 8.36.0
  • eslint-config-next 13.2.4
  • next ^13.2.4
  • nextra ^2.2.19
  • nextra-theme-docs ^2.2.19
  • react ^18.2.0
  • react-dom ^18.2.0
apps/www/package.json npm
  • @graphql-codegen/cli 3.3.1 development
  • @graphql-codegen/client-preset 3.0.1 development
  • @graphql-codegen/typescript ^3.0.4 development
  • @graphql-codegen/typescript-graphql-request ^4.5.9 development
  • @graphql-codegen/typescript-operations ^3.0.4 development
  • @graphql-codegen/typescript-react-query ^4.1.0 development
  • @ianvs/prettier-plugin-sort-imports ^3.7.2 development
  • autoprefixer ^10.4.14 development
  • color2k ^2.0.2 development
  • encoding ^0.1.13 development
  • postcss ^8.4.23 development
  • prettier ^2.8.8 development
  • style-dictionary ^3.8.0 development
  • tailwind-merge ^1.12.0 development
  • tailwindcss ^3.3.2 development
  • ts-node ^10.9.1 development
  • typescript ^5.0.4 development
  • @tabler/icons-react ^2.17.0
  • @tanstack/react-query ^4.29.5
  • @types/node ^20.1.3
  • @types/react ^18.2.6
  • @types/react-dom ^18.2.4
  • eslint 8.39.0
  • eslint-config-next 13.3.1
  • graphql ^16.6.0
  • graphql-request 5.1.0
  • graphql-tag ^2.12.6
  • next ^13.4.9
  • next-intl ^2.14.2
  • nextjs-toploader ^1.3.2
  • opub-ui *
  • react ^18.2.0
  • react-aria 3.22.0
  • react-dom ^18.2.0
  • zustand ^4.3.8
examples/district/package.json npm
  • @graphql-codegen/cli 3.3.1 development
  • @graphql-codegen/client-preset 3.0.1 development
  • @graphql-codegen/typescript ^3.0.4 development
  • @graphql-codegen/typescript-graphql-request ^4.5.9 development
  • @graphql-codegen/typescript-operations ^3.0.4 development
  • @ianvs/prettier-plugin-sort-imports ^3.7.2 development
  • autoprefixer ^10.4.14 development
  • color2k ^2.0.2 development
  • encoding ^0.1.13 development
  • postcss ^8.4.23 development
  • prettier ^2.8.8 development
  • style-dictionary ^3.8.0 development
  • tailwind-merge ^1.12.0 development
  • tailwindcss ^3.3.2 development
  • typescript ^5.0.4 development
  • @tabler/icons-react ^2.17.0
  • @tanstack/react-query ^4.29.5
  • @types/node ^20.1.3
  • @types/react ^18.2.6
  • @types/react-dom ^18.2.4
  • eslint 8.39.0
  • eslint-config-next 13.3.1
  • graphql ^16.6.0
  • graphql-request 5.1.0
  • graphql-tag ^2.12.6
  • next 13.4.9
  • next-intl ^2.20.0
  • nextjs-toploader ^1.3.2
  • opub-ui latest
  • opub-viz latest
  • react ^18.2.0
  • react-aria 3.22.0
  • react-dom ^18.2.0
  • react-error-boundary ^4.0.11
  • zustand ^4.4.1
package.json npm
  • @changesets/cli ^2.26.1 development
  • @typescript-eslint/eslint-plugin ^5.57.1 development
  • @typescript-eslint/parser ^5.57.1 development
  • classnames ^2.3.2 development
  • eslint-config-custom * development
  • husky ^8.0.3 development
  • lint-staged ^13.2.0 development
  • new-component-opub git+https://github.com/CivicDataLab/new-component.git development
  • prettier ^2.8.4 development
  • sass ^1.58.3 development
  • tsup ^6.7.0 development
  • turbo ^1.9.1 development
  • typescript ^5.0.4 development
  • eslint-plugin-turbo ^1.10.12
packages/create-opub-app/package.json npm
  • @types/async-retry ^1.4.5 development
  • @types/node ^20.5.9 development
  • @types/prompts ^2.4.2 development
  • @types/tar ^6.1.5 development
  • @vercel/ncc ^0.38.0 development
  • async-retry ^1.3.3 development
  • commander ^11.0.0 development
  • figlet ^1.6.0 development
  • got 10.7.0 development
  • picocolors ^1.0.0 development
  • tar ^6.2.0 development
packages/eslint-config-custom/package.json npm
  • typescript ^4.7.4 development
  • eslint ^7.23.0
  • eslint-config-next 13.0.0
  • eslint-config-prettier ^8.3.0
  • eslint-config-turbo latest
  • eslint-plugin-react 7.31.8
packages/opub-ui/package.json npm
  • @rollup/plugin-commonjs ^24.0.1 development
  • @rollup/plugin-node-resolve ^15.0.1 development
  • @rollup/plugin-terser ^0.4.1 development
  • @rollup/plugin-typescript 8.3.3 development
  • @storybook/addon-actions ^7.0.14 development
  • @storybook/addon-console ^2.0.0 development
  • @storybook/addon-essentials 7.0.14 development
  • @storybook/addon-interactions 7.0.14 development
  • @storybook/addon-links 7.0.14 development
  • @storybook/addons 7.0.14 development
  • @storybook/react 7.0.14 development
  • @storybook/react-vite 7.0.14 development
  • @storybook/testing-library ^0.1.0 development
  • @storybook/theming ^7.0.14 development
  • @svgr/rollup ^7.0.0 development
  • @testing-library/jest-dom ^5.16.5 development
  • @testing-library/react ^13.4.0 development
  • @types/react ^18.0.26 development
  • @types/react-dom ^18.0.9 development
  • @types/react-portal ^4.0.4 development
  • @types/react-table ^7.7.14 development
  • @types/react-test-renderer ^18.0.0 development
  • @vitejs/plugin-react ^3.1.0 development
  • babel-loader ^8.3.0 development
  • chromatic ^6.17.1 development
  • esbuild ^0.17.15 development
  • eslint-config-custom * development
  • happy-dom ^8.2.2 development
  • npm-run-all ^4.1.5 development
  • react ^18.2.0 development
  • react-dom ^18.2.0 development
  • react-test-renderer ^18.2.0 development
  • rollup ^3.20.2 development
  • rollup-plugin-banner2 ^1.2.2 development
  • rollup-plugin-copy ^3.4.0 development
  • rollup-plugin-esbuild ^5.0.0 development
  • rollup-plugin-node-externals ^5.1.2 development
  • rollup-plugin-peer-deps-external ^2.2.4 development
  • rollup-plugin-postcss ^4.0.2 development
  • rollup-plugin-visualizer ^5.9.0 development
  • storybook 7.0.14 development
  • storybook-addon-pseudo-states ^2.0.1 development
  • tsconfig * development
  • typescript ^5.0.4 development
  • vite ^4.1.4 development
  • vite-plugin-turbosnap ^1.0.1 development
  • vite-tsconfig-paths ^4.0.7 development
  • vitest ^0.28.3 development
  • @faker-js/faker ^8.0.1
  • @hookform/resolvers ^2.9.11
  • @internationalized/date ^3.2.0
  • @radix-ui/react-alert-dialog ^1.0.3
  • @radix-ui/react-avatar ^1.0.2
  • @radix-ui/react-checkbox ^1.0.1
  • @radix-ui/react-collapsible ^1.0.2
  • @radix-ui/react-dialog ^1.0.3
  • @radix-ui/react-label ^2.0.0
  • @radix-ui/react-popover ^1.0.5
  • @radix-ui/react-progress ^1.0.2
  • @radix-ui/react-radio-group ^1.1.1
  • @radix-ui/react-scroll-area ^1.0.3
  • @radix-ui/react-separator ^1.0.3
  • @radix-ui/react-slider ^1.1.1
  • @radix-ui/react-switch ^1.0.2
  • @radix-ui/react-tabs ^1.0.3
  • @radix-ui/react-toast ^1.1.3
  • @radix-ui/react-tooltip ^1.0.5
  • @react-types/calendar ^3.2.0
  • @react-types/datepicker ^3.3.0
  • @react-types/shared ^3.18.0
  • @shopify/polaris-icons ^6.12.0
  • @tabler/icons-react ^2.17.0
  • @tanstack/react-table ^8.9.1
  • ariakit ^2.0.0-next.43
  • cmdk ^0.2.0
  • keen-slider ^6.8.5
  • react-aria 3.22.0
  • react-hook-form 7.20.0
  • react-stately ^3.21.0
  • tailwind-merge ^1.12.0
packages/opub-viz/package.json npm
  • @rollup/plugin-commonjs ^24.0.1 development
  • @rollup/plugin-node-resolve ^15.0.1 development
  • @rollup/plugin-terser ^0.4.1 development
  • @rollup/plugin-typescript 8.3.3 development
  • @storybook/addon-actions ^7.3.2 development
  • @storybook/addon-console ^2.0.0 development
  • @storybook/addon-essentials 7.3.2 development
  • @storybook/addon-interactions 7.3.2 development
  • @storybook/addon-links 7.3.2 development
  • @storybook/addon-styling ^1.3.6 development
  • @storybook/addons 7.3.2 development
  • @storybook/react 7.3.2 development
  • @storybook/react-vite 7.3.2 development
  • @storybook/testing-library ^0.2.0 development
  • @storybook/theming ^7.3.2 development
  • @svgr/rollup ^7.0.0 development
  • @testing-library/jest-dom ^5.16.5 development
  • @testing-library/react ^13.4.0 development
  • @types/leaflet ^1.9.3 development
  • @types/react ^18.0.26 development
  • @types/react-dom ^18.0.9 development
  • @types/react-portal ^4.0.4 development
  • @types/react-table ^7.7.14 development
  • @types/react-test-renderer ^18.0.0 development
  • @vitejs/plugin-react ^3.1.0 development
  • autoprefixer ^10.4.15 development
  • babel-loader ^8.3.0 development
  • chromatic ^6.17.1 development
  • esbuild ^0.17.15 development
  • eslint-config-custom * development
  • happy-dom ^8.2.2 development
  • npm-run-all ^4.1.5 development
  • postcss ^8.4.28 development
  • react ^18.2.0 development
  • react-dom ^18.2.0 development
  • react-test-renderer ^18.2.0 development
  • rollup ^3.20.2 development
  • rollup-plugin-banner2 ^1.2.2 development
  • rollup-plugin-copy ^3.4.0 development
  • rollup-plugin-esbuild ^5.0.0 development
  • rollup-plugin-node-externals ^5.1.2 development
  • rollup-plugin-peer-deps-external ^2.2.4 development
  • rollup-plugin-postcss ^4.0.2 development
  • rollup-plugin-visualizer ^5.9.0 development
  • storybook 7.3.2 development
  • storybook-addon-pseudo-states ^2.1.1 development
  • tsconfig * development
  • typescript ^5.0.4 development
  • vite ^4.1.4 development
  • vite-plugin-turbosnap ^1.0.1 development
  • vite-tsconfig-paths ^4.0.7 development
  • vitest ^0.28.3 development
  • @radix-ui/react-popover ^1.0.6
  • @tabler/icons-react ^2.32.0
  • class-variance-authority ^0.7.0
  • clsx ^2.0.0
  • echarts 5.3.0
  • echarts-for-react ^3.0.2
  • leaflet ^1.9.4
  • lucide-react ^0.268.0
  • react-leaflet ^4.2.1
  • tailwind-merge ^1.14.0
  • tailwindcss-animate ^1.0.6
packages/tsconfig/package.json npm
yarn.lock npm
  • 2355 dependencies