Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Backend & crawler for the OSS catalog of Developers Italia

License

NotificationsYou must be signed in to change notification settings

bfabio/publiccode-crawler

 
 

Repository files navigation

Go Report CardJoin the #publiccode channelGet invited

Description

Developers Italia providesa catalog of Free and Open Sourcesoftware aimed to Public Administrations.

Thiscrawler retrieves thepubliccode.yml files from therepositories of publishers found in theDevelopers Italia API.

Setup and deployment processes

The crawler can either run manually on the target machine or it can be deployedfrom a Docker container.

Manually configure and build the crawler

  1. Renameconfig.toml.example toconfig.toml and set the variables

    NOTE: The application also supports environment variables in substitutionto config.toml file. Remember: "environment variables get higher priority thanthe ones in configuration file"

  2. Build the binary withgo build

Docker

You can build the Docker image using

docker build .

or use the image published to DockerHub:

docker run -it italia/publiccode-crawler

Commands

crawler crawl

Gets the list of publishers fromhttps://api.developers.italia.it/v1/publishersand starts to crawl their repositories.

crawler crawl publishers*.yml

Gets the list of publishers inpublishers*.yml and starts to crawltheir repositories.

Other commands

  • crawler download-publishers downloads organizations and repositories fromtheonboarding portal repositoryand saves them to a publishers YAML file.

See also

Authors

Developers Italia is a project byAgID and theItalian Digital Team, which developed thecrawler and maintains this repository.

About

Backend & crawler for the OSS catalog of Developers Italia

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go99.3%
  • Dockerfile0.7%

[8]ページ先頭

©2009-2025 Movatter.jp