Codeberg Event Calendar based on calendity https://codeberg.codeberg.page/Events/
Find a file
fnetX 631412bf5c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Replace meeting link for BigBlueButton
2024-10-12 12:06:38 +00:00
_includes Add Location field for physical events 2023-10-09 12:02:54 +02:00
css Quick fix for link in contribution banner overflowing mobile viewports 2023-07-12 17:06:19 +02:00
events Replace meeting link for BigBlueButton 2024-10-12 12:06:38 +00:00
images Using Codeberg Fonts 2022-11-28 08:17:41 +01:00
js Adding timezone information to localized timestamps - fixes #15 2023-07-12 16:20:29 +02:00
LICENSES Relicensing to Apache 2.0 - fixes #10 2022-11-16 14:26:40 +01:00
.eleventy.js Handling non-array inputs in events filters - fixes #11 2022-11-18 15:56:00 +01:00
.eleventyignore Installing Eleventy 2022-11-08 17:41:05 +01:00
.eleventyignore.license Installing Eleventy 2022-11-08 17:41:05 +01:00
.gitattributes Retaining time zone offsets and fixing iCal output 2022-11-09 16:20:41 +01:00
.gitattributes.license Retaining time zone offsets and fixing iCal output 2022-11-09 16:20:41 +01:00
.gitignore Release v2.0.0 2023-07-11 20:04:46 +02:00
.gitignore.license Release v2.0.0 2023-07-11 20:04:46 +02:00
.woodpecker.yml Another fix 2023-08-10 19:45:45 +00:00
calendar.ics.njk Using icsUrl instead of icsText for building URI - fixes #9 2022-11-16 14:52:17 +01:00
config.yaml Adapting config.yaml to Codeberg Events 2022-11-28 08:17:41 +01:00
index.njk Adding Contribution Banner 2022-11-28 08:17:41 +01:00
known_hosts Adding known_hosts 2022-11-28 08:17:41 +01:00
LICENSE.txt Relicensing to Apache 2.0 - fixes #10 2022-11-16 14:26:40 +01:00
package-lock.json Merge tag 'v2.0.0' into v2 2023-07-11 20:36:19 +02:00
package-lock.json.license Release v2.0.0 2023-07-11 20:04:46 +02:00
package.json Release v2.0.2 2023-07-12 16:46:25 +02:00
package.json.license Release v2.0.0 2023-07-11 20:04:46 +02:00
README.md I'm out. 2023-09-11 17:11:08 +02:00
README.md.license Release v2.0.0 2023-07-11 20:04:46 +02:00
upcoming.rss.njk Fixing handling of non-root URLs 2022-11-13 13:22:11 +01:00

Codeberg Events

A site where the Codeberg community announces events

Summary

Codeberg Events is a statically generated site that contains a bulletin board and archive of events hosted by Codeberg and the Codeberg community.

The site is automatically built and deployed to Codeberg Pages at https://codeberg.codeberg.page/Events/ when new commits are pushed to the master branch.

It is based on the calendity template project by Lucas Hinderberger (https://codeberg.org/lhinderberger/calendity).

Contributions Welcome!

Do you want to add your own events?

FOSS Projects hosted on Codeberg are invited to add their own events by submitting a Pull Request to this repository.

Usage

Adding an event

To add an event, open the events directory, then locate the subdirectory of the year in which the event takes place*. For events that start in one year and end in another, e.g. new-years-eve-parties, choose the earlier year.

Next, create a Markdown file that will contain you item. It is recommended to copy and adapt one of the existing files, and to comply with the existing file naming scheme. If you want to create a new file from scratch, here is an example:

---
# Copyright 2022 AUTHOR
# SPDX-License-Identifier: CC0-1.0
#
# To the extent possible under law, AUTHOR has waived all copyright
# and related or neighboring rights to this file, as described in
# CC0 1.0 Universal (see https://creativecommons.org/publicdomain/zero/1.0/).

title: "Weekly Foo Meetup #123"
featured: true # if set to true, this event will appear in the Featured Events section - Codeberg may set this to false at its own discretion
summary: "The foo Programming Language Meetup - This week: Compiler Internals with John Doe"
begin: 2022-12-10T18:30:00+01:00
end: 2022-12-10T21:00:00+01:00
meeting_link: https://localhost:8080/meeting/foo1234
homepage: https://localhost:8080/foo
---

This will be a remote-only event about foo.

The foo language is a programming language for programming lots of foo.
Its distinguishing feature is the amount of good foo it has.

...

As you can see, you can add a detailed description of your event using Markdown. That detailed description will be rendered to the Event's details page.

Caution: When renaming an event file, make sure to add a permalink property to the event, to prevent breaking existing links (see https://www.11ty.dev/docs/permalinks/ for details). It's best to not rename event files, if possible.

Please make sure to include and adapt the CC0 license header as seen in the example above with your event, to ensure that the generated calendar and RSS files as a whole remains CC0-licensed (and can thus be shared as freely and easily as possible). We cannot accept event contributions that aren't under CC0.

*If there is no such folder yet, create a new one and copy another year's index.njk in the newly created directory. Adapt the year property within index.njk to match the new year.

Local Setup

Initial Setup

Install the necessary dependencies by running npm install (this requires NodeJS and NPM to be installed first, see https://nodejs.org).

To test your configuration, run npm run serve and visit the URL printed to your terminal. You should see a preview of your new site, filled with some example events.

Building the site

To build the site, run

npm run build

For a local, live-preview server, run

npm run serve

Advanced Customization

The underlying calendity template is fully customizable. You can find the layout templates used in the _include directory, stylesheets in css and the configuration script for the static site generator at .eleventy.js.

Events have default properties set. You can inspect and modify the setting/derivation of those properties at events/events.11tydata.js.

It is highly recommended to take a look at the Eleventy documentation first, before customizing calendity.

Contributing

For technical issues, please have a look at the underlying calendity template's Issue Tracker.

Please note that pull requests are only accepted if they are in line with the licensing of the rest of the project (see below).

Codeberg Events is (C) 2022-2023 The Codeberg Events Contributors

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

For details, please refer to the LICENCE file.

As an exception, the raw events within the events directory and the templates calendar.ics.njk and upcoming.rss.njk are distributed under CC0.

Maintainer and Contact

Codeberg Events is currently unmaintained.

The repository of Codeberg Events can be found at https://codeberg.org/Codeberg/Events, the repository of the underlying calendity template can be found at https://codeberg.org/lhinderberger/calendity

You're welcome to file issues and pull requests there.