MCPcopy Index your code
hub / github.com/tableflowhq/csv-import

github.com/tableflowhq/csv-import @v0.3.2 sqlite

repository ↗ · DeepWiki ↗ · release v0.3.2 ↗
437 symbols 941 edges 176 files 42 documented · 10%
README

TableFlow

The Open Source CSV Importer

Docs | Demo | Slack | Website

Features

  • Drop-in SDK to add CSV import to your application
  • Smart column mapping
  • Data types and validations
  • Frontend callbacks to retrieve data

TableFlow Importer Modal

How It Works

  1. Define the columns your users can import
  2. Embed the TableFlow Importer in your app with the React or JS SDK
  3. Your users import their files
  4. Retrieve the cleaned and mapped data from a frontend callback
<TableFlowImporter
  template={{ // Define the file columns you want to import
    columns: [
      {
        name: "First Name",
        validations: [
          {
            validate: "not_blank",
            message: "Cell must contain a value",
          },
        ],
      },
    ],
    ... // Add other columns, data types, validations, and more
  }}
  onComplete={(data) => console.log(data)} // Retrieve the data
/>

Get Started

☁️ TableFlow Cloud

The quickest way to get started with TableFlow is signing up for free to TableFlow Cloud.

👩‍💻 Self-Hosted Deploy

Follow the deployment documentation to try TableFlow out locally on your machine or deploy in your VPC.

Get In Touch

Let us know your feedback or feature requests! You can submit a GitHub issue, reach out over Slack, or email us at hey@tableflow.com

Extension points exported contracts — how you extend this code

Evaluator (Interface)
(no doc) [10 implementers]
admin-server/go/pkg/evaluator/evaluator.go
Option (Interface)
(no doc)
importer-ui/src/components/ToggleFilter/types/index.ts
ToggleFilterProps (Interface)
(no doc)
importer-ui/src/components/ToggleFilter/types/index.ts
Step (Interface)
(no doc)
importer-ui/src/features/main/types/index.ts
ColumnsOrder (Interface)
(no doc)
importer-ui/src/features/review/types/index.ts
FormValues (Interface)
(no doc)
importer-ui/src/features/map-columns/types/index.ts

Core symbols most depended-on inside this repo

String
called by 37
admin-server/go/pkg/model/id.go
classes
called by 24
importer-ui/src/utils/classes.ts
HasErrors
called by 9
admin-server/go/pkg/model/import.go
parseOptionalBoolean
called by 7
react-sdk/src/components/TableFlowImporter/index.tsx
parseOptionalBoolean
called by 7
js-sdk/src/index.ts
removeUploadFileFromDisk
called by 7
admin-server/go/pkg/file/upload_processor.go
post
called by 6
importer-ui/src/api/api.ts
Scan
called by 6
admin-server/go/pkg/model/id.go

Shape

Function 289
Method 79
Struct 46
Interface 18
TypeAlias 4
Enum 1

Languages

Go58%
TypeScript42%

Modules by API surface

admin-server/go/pkg/util/util.go23 symbols
admin-server/go/pkg/types/importer.go20 symbols
admin-server/go/pkg/scylla/scylla.go15 symbols
admin-server/go/pkg/model/jsonb/jsonb.go14 symbols
importer-ui/src/settings/chakra/theme.types.ts12 symbols
admin-server/go/pkg/web/file_import_routes.go11 symbols
admin-server/go/pkg/model/id.go11 symbols
importer-ui/src/features/review/components/ReviewDataTable.tsx10 symbols
admin-server/go/pkg/util/big.go10 symbols
admin-server/go/pkg/file/upload_processor.go10 symbols
admin-server/go/pkg/file/matching.go10 symbols
admin-server/go/pkg/evaluator/evaluator.go9 symbols

Dependencies from manifests, versioned

github.com/KyleBanks/depthv1.2.1 · 1×
github.com/araddon/dateparsev0.0.0-2021042916200 · 1×
github.com/asaskevich/govalidatorv0.0.0-2023030114320 · 1×
github.com/bmizerany/patv0.0.0-2021040621384 · 1×
github.com/chenzhuoyu/base64xv0.0.0-2023071712174 · 1×
github.com/chenzhuoyu/iasmv0.9.0 · 1×
github.com/gin-contrib/corsv1.4.0 · 1×
github.com/gin-contrib/ssev0.1.0 · 1×
github.com/gin-contrib/zapv0.1.0 · 1×

For agents

$ claude mcp add csv-import \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact