codemeta-generator
This repository contains a (client-side) web application to generate Codemeta documents (aka. codemeta.json).
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
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.8%) to scientific vocabulary
Repository
This repository contains a (client-side) web application to generate Codemeta documents (aka. codemeta.json).
Basic Info
- Host: GitHub
- Owner: codemeta
- License: agpl-3.0
- Language: JavaScript
- Default Branch: master
- Homepage: https://codemeta.github.io/codemeta-generator/
- Size: 256 KB
Statistics
- Stars: 11
- Watchers: 3
- Forks: 10
- Open Issues: 22
- Releases: 0
Metadata Files
README.md
Codemeta Generator
This repository contains a (client-side) web application to generate
CodeMeta documents (aka. codemeta.json).
The CodeMeta initiative is a Free and Open Source academic collaboration creating a minimal metadata schema for research software and code.
The academic community recommends on adding a codemeta.json file in the root directory of your repository.
With this linked data metadata file, you can easily declare the authorship, include contextual information and link to other research outputs (publications, data, etc.).
Also, the codemeta.json file in your source code is indexed in the
Software Heritage (SWH) archive, which will improve findability in searches.
References
SWH guidelines for research software.
SWH blog post about metadata indexation.
Dan S. Katz's blog post about including metadata in your repository.
FORCE11's Software Citation Implementation WG repository
RDA & FORCE11's joint Software Source Code Identification WG repository
Specifications
Use case
- create a complete codemeta.json file from scratch
- aggregate existing information and add complementary information to a codemeta.json file
Functionalities
- helpers while completing the form, for example a reference list of spdx licenses
- a validation mechanism after submission
- the possibility to use all the codeMeta terms and schema.org terms
- accessible from multiple platforms (web browsers or OS)
- (extra) the possibility to correct the output after validation as part of the creation process
This tool was initially prepared for the FORCE19 Hackathon.
NB: codemeta v2.0 is generated by default, but v3.0 (v2.0 compatible) can be generated via a dedicated button.
Code contributions
This section only applies to developers who want to contribute to the Codemeta Generator. If you only want to use it, you can use the hosted version instead.
Code guidelines
This application is designed to work on popular modern browsers (Firefox, Chromium/Google Chrome, Edge, Safari). Check Caniuse for availability of features for these browsers.
To keep the architecture simple, we serve javascript files directly to browsers, without a compiler or transpiler.
Running local changes
To run Codemeta Generator, you just need an HTTP server serving the files (nginx, apache2, etc.).
The simplest way is probably to use Python's HTTP server:
shell
git clone https://github.com/codemeta/codemeta-generator
cd codemeta-generator
python3 -m http.server
then open http://localhost:8000/ in your web browser.
Automatic testing
In addition to manual testing, we have automated tests to check for bugs quickly, using Cypress.
To run them, first install Cypress:
shell
sudo apt install npm # or the equivalent on your system
npx cypress@9.7.0 install
Then, run the tests:
shell
npx cypress@9.7.0 run
Contributed by
Owner
- Name: CodeMeta
- Login: codemeta
- Kind: organization
- Location: Santa Barbara, CA
- Website: https://codemeta.github.io
- Repositories: 6
- Profile: https://github.com/codemeta
CodeMeta focuses on metadata and discovery systems for software citation and attribution.
CodeMeta (codemeta.json)
{
"@context": "https://doi.org/10.5063/schema/codemeta-2.0",
"@type": "SoftwareSourceCode",
"license": "https://spdx.org/licenses/AGPL-3.0-or-later",
"codeRepository": "https://github.com/codemeta/codemeta-generator",
"dateCreated": "2019-10-02",
"issueTracker": "https://github.com/codemeta/codemeta-generator/issues",
"continuousIntegration": "https://travis-ci.org/codemeta/codemeta-generator/",
"name": "CodeMeta Generator",
"keywords": [
"codemeta",
"metadata",
"json"
],
"author": [
{
"@type": "Organization",
"name": "Software Heritage",
"url": "https://www.softwareheritage.org/"
}
]
}
GitHub Events
Total
- Issues event: 5
- Watch event: 8
- Issue comment event: 13
- Push event: 7
- Pull request event: 6
- Fork event: 6
- Create event: 1
Last Year
- Issues event: 5
- Watch event: 8
- Issue comment event: 13
- Push event: 7
- Pull request event: 6
- Fork event: 6
- Create event: 1
Dependencies
- actions/cache v2 composite
- actions/checkout v3 composite
- actions/configure-pages v3 composite
- actions/deploy-pages v1 composite
- actions/upload-pages-artifact v1 composite
- actions/cache v2 composite
- actions/checkout v3 composite