Skills2026年5月17日·1 分钟阅读

CKAN — Open Source Data Portal Platform

CKAN is the open-source data management system that powers government and research data portals worldwide, making it easy to publish, share, and discover datasets.

Agent 就绪

这个资产可以被 Agent 直接读取和安装

TokRepo 同时提供通用 CLI 命令、安装契约、metadata JSON、按适配器生成的安装计划和原始内容链接,方便 Agent 判断适配度、风险和下一步动作。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
CKAN Overview
通用 CLI 安装命令
npx tokrepo install efebd2eb-51c9-11f1-9bc6-00163e2b0d79

Introduction

CKAN (Comprehensive Knowledge Archive Network) is a data management system used by governments and organizations to create open data portals. It provides tools for publishing, cataloging, searching, and visualizing datasets through a web interface and a rich API.

What CKAN Does

  • Hosts a searchable catalog of datasets with metadata, tags, and organizations
  • Provides a RESTful API for programmatic dataset discovery and retrieval
  • Supports file uploads, remote resource links, and data previews in the browser
  • Manages user roles, organizations, and dataset access permissions
  • Enables data harvesting from other CKAN instances and external sources

Architecture Overview

CKAN is a Python web application built on Flask (migrated from Pylons). It uses PostgreSQL for metadata storage, Solr for full-text search, and Redis for background job queues. The frontend renders Jinja2 templates and can be themed or replaced entirely. A plugin system allows extending every aspect of the platform, from authentication to data processing.

Self-Hosting and Configuration

  • Deploy using the official Docker Compose setup or install from source on Ubuntu/Debian
  • Configure the database connection, Solr URL, and site metadata in the INI config file
  • Create an admin account with ckan sysadmin add USERNAME
  • Install extensions via pip and enable them in the config (e.g., ckanext-harvest, ckanext-spatial)
  • Set up a reverse proxy with Nginx and enable HTTPS for production deployments

Key Features

  • Powers data portals for dozens of national governments including the US, UK, Canada, and Australia
  • Extensible plugin architecture with hundreds of community extensions
  • Built-in data preview for CSV, JSON, GeoJSON, PDF, and image files
  • Harvesting framework to import datasets from federated CKAN instances
  • Comprehensive API covering every portal operation

Comparison with Similar Tools

  • Dataverse — focused on academic data sharing; CKAN is broader and supports government-scale portals
  • Socrata — proprietary data portal SaaS; CKAN is free and self-hosted
  • DKAN — Drupal-based CKAN alternative; CKAN has a larger ecosystem and more deployments
  • Magda — modern federated catalog; CKAN has a longer track record and wider adoption

FAQ

Q: What databases does CKAN require? A: PostgreSQL for metadata and optionally DataStore for tabular data. Solr handles search indexing.

Q: Can I customize the look and feel? A: Yes. CKAN supports custom themes via Jinja2 templates and CSS. Several community themes exist.

Q: Does CKAN handle large file uploads? A: Yes, though for very large files it is common to store them externally and register resource URLs in the catalog.

Q: Is there a hosted version available? A: Several organizations offer managed CKAN hosting, but the software itself is free to self-host.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产