deprecate

This commit is contained in:
tree🌴 2024-01-25 20:52:39 +01:00
parent 75096cbe5a
commit 244d6d54f1
6 changed files with 3 additions and 492 deletions

View file

@ -1,9 +0,0 @@
.PHONY: all build
all: test build
test:
deno test --unstable --allow-read index.js
build:
deno run --unstable --allow-read --allow-write index.js build

View file

@ -1,65 +1,4 @@
<!-- # DEPRECATED
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
DO NOT EDIT THIS FILE DIRECLY
EDIT "./README.tpl.eta" INSTEAD
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-->
``` This repository is deprecated, new data repository for Web3Privacy Now events:
____ ____ ____ ____ ____ * https://github.com/web3privacy/data/tree/main/src/events
||W |||3 |||P |||N |||E ||
||__|||__|||__|||__|||__||
|/__\|/__\|/__\|/__\|/__\|
```
# Web3Privacy Now Events (w3pne)
The _Web3Privacy Now Events_ is a regular gatherings of the people interested in
privacy in the Web3 industry. This initiative was created to complement the
research and community of [Web3Privacy Now](https://web3privacy.info).
- [Calendar with all events and RSVP](https://lu.ma/web3privacy) (lu.ma/web3privacy)
- [Events coordination group](https://matrix.to/#/#w3p-events:gwei.cz) @ Matrix
## Concepts
- **Summit** (w3ps) - a day-long gathering (or longer)
- **Meetup** (w3pm) - shorter gatherings for a few hours
- **Hackathon** (w3ph) - a multi-day event including lectures, workshops and hacking
## List of events
(in chronologic order)
| type | # id | 🏁 | date | location | 🎰 | coincidence | dri | links |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| summit | `s1` | ✅ | **2023-06-05** | 🇨🇿 Prague | 16 | [ETHPrague](https://ethprague.com/) | Tree | [web](https://prague.web3privacy.info/), [git](https://github.com/web3privacy/w3ps1) |
| summit | `s2` | ✅ | **2023-10-05** | 🇮🇹 Rome | 10 | [ETHRome](https://ethrome.org/) | PG | [web](https://lu.ma/web3privacynow_rome) |
| meetup | `prg1` | ✅ | **2023-11-14** | 🇨🇿 Prague | 3 | [DCxPrague](https://dcxprague.org/) | Tree | [web](https://lu.ma/w3pm-prg1) |
| meetup | `ath1`* | ⌛ | 2024/Q1 | 🇬🇷 Athens | 3 | | Mykola | |
| meetup | `lib1`* | ⌛ | 2024/Mar | 🇨🇿 Liberec | 3 | [ETHBohemia](https://ethbohemia.ethevents.club/) | Tree | |
| meetup | `buc1`* | ⌛ | **2024-03-28** | 🇷🇴 Bucharest | 3 | [ETHBucharest](https://www.ethbucharest.xyz/) | Tree (+1) | [rsvp](https://lu.ma/w3pn-meetup-bucharest1) |
| meetup | `ams1` | ⌛ | **2024-04-11** | 🇳🇱 Amsterdam | 3 | [ETHDam](https://www.ethdam.com/) | PG (+3) | [rsvp](https://lu.ma/w3pn-meetup-ams1) |
| meetup | `tal1`* | ⌛ | 2024/Apr | 🇪🇪 Tallinn | 3 | [ETHTallinn](https://www.ethtallinn.org/) | - | |
| meetup | `por1`* | ⌛ | 2024/May | 🇵🇹 Porto | 3 | [ETHPorto](https://ethporto.org/) | - | |
| meetup | `ber1` | ⌛ | **2024-05-22** | 🇩🇪 Berlin | 3 | ETHBerlin | Tree | [rsvp](https://lu.ma/w3pn-meetup-berlin1) |
| summit | `s3` | ⌛ | **2024-05-30** | 🇨🇿 Prague | 16 | ETHPrague | Tree (+3) | [rsvp](https://lu.ma/w3pn-summit-prague2) |
| hackathon | `h1` | ✅ | **2024-06-19** -<br/>**2024-06-26** | 🇸🇮 Bled | 10 | W3PN Hackathon | Tree (+3) | [rsvp](https://lu.ma/w3pn-bled-hackathon1) |
| meetup | `lju1` | ⌛ | **2024-06-21** | 🇸🇮 Ljubljana | 5 | W3PN Hackathon | Tree (+3) | [rsvp](https://lu.ma/w3pn-meetup-ljubljana1) |
| meetup | `bcn2`* | ⌛ | 2024/Jul | 🇪🇸 Barcelona | 3 | ETHBarcelona | - | |
| meetup | `bru1` | ⌛ | **2024-07-12** | 🇧🇪 Brussels | 3 | [EthCC](https://www.ethcc.io/) | Mykola (+1) | [rsvp](https://lu.ma/w3pn-meetup-bru1) |
| meetup | `waw1`* | ⌛ | 2024/Sep | 🇵🇱 Warsaw | 3 | ETHWarsaw | Tree | |
| meetup | `rom2` | ⌛ | **2024-10-04** | 🇮🇹 Rome | 5 | ETHRome | PG (+2) | [rsvp](https://lu.ma/w3pn-meetup-rome1) |
| summit | `s4` | ⌛ | **2024-10-24** | 🇨🇿 Brno | 16 | ETHBrno | Tree (+3) | [rsvp](https://lu.ma/w3pn-summit-brno1) |
| meetup | `dc1` | ⌛ | **2024-11-20** | 🏴‍☠️ SE Asia | 5 | [Devcon](https://devcon.org/) | - | [rsvp](https://lu.ma/w3pn-meetup-devcon7) |
`*` - Optional event (can be cancelled due to lack of interest)
[Source file](./events/events.yaml)
Note: As you can see, most of the events are in Europe because most of the core team members are from Europe. If you would be willing to help us expand Web3Privacy Now Events to other regions, we would be very happy to do so! Please get in touch, ideally on [Matrix](https://matrix.web3privacy.info/).
## Events maintaners
- Tree ([@burningtree](https://github.com/burningtree))
- PG ([@EclecticSamurai](https://github.com/EclecticSamurai))

View file

@ -1,42 +0,0 @@
```
____ ____ ____ ____ ____
||W |||3 |||P |||N |||E ||
||__|||__|||__|||__|||__||
|/__\|/__\|/__\|/__\|/__\|
```
# Web3Privacy Now Events (w3pne)
The _Web3Privacy Now Events_ is a regular gatherings of the people interested in
privacy in the Web3 industry. This initiative was created to complement the
research and community of [Web3Privacy Now](https://web3privacy.info).
- [Calendar with all events and RSVP](https://lu.ma/web3privacy) (lu.ma/web3privacy)
- [Events coordination group](https://matrix.to/#/#w3p-events:gwei.cz) @ Matrix
## Concepts
- **Summit** (w3ps) - a day-long gathering (or longer)
- **Meetup** (w3pm) - shorter gatherings for a few hours
- **Hackathon** (w3ph) - a multi-day event including lectures, workshops and hacking
## List of events
(in chronologic order)
| type | # id | 🏁 | date | location | 🎰 | coincidence | dri | links |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
<% it.events.forEach(function(event, i){ %>
| <%= event.type %> | `<%= event.id.replace("w3pm-", "").replace(/^w3p/, '') %>`<% if (event.optional) { %>*<% } %> | <% if (event.confirmed) { %>✅<% } else { %>⌛<% } %> | <%= event.date.match(/^\d{4}-\d{2}-\d{2}$/) ? `**${event.date}**` : event.date %><% if (event.days && event.days > 1) { %> -<br/>**<%= it.dateFns.format(it.dateFns.addDays(new Date(event.date), event.days), 'yyyy-MM-dd') %>**<% } %> | <%= it.getFlagEmoji(event.country) %> <%= event.city %> | <%= event.slots || '-' %> | <%= event.coincidence %> | <%= event.lead || "-" %><% if (event.helpers && event.helpers.length > 0) { %> (+<%= event.helpers.length%>)<% } %> | <%= (event.links && Object.keys(event.links).map(k => `[${k}](${event.links[k]})`).join(", ")) || "" %> |
<% }) %>
`*` - Optional event (can be cancelled due to lack of interest)
[Source file](./events/events.yaml)
Note: As you can see, most of the events are in Europe because most of the core team members are from Europe. If you would be willing to help us expand Web3Privacy Now Events to other regions, we would be very happy to do so! Please get in touch, ideally on [Matrix](https://matrix.web3privacy.info/).
## Events maintaners
- Tree ([@burningtree](https://github.com/burningtree))
- PG ([@EclecticSamurai](https://github.com/EclecticSamurai))

View file

@ -1,247 +0,0 @@
- id: w3ps1
type: summit
date: "2023-06-05"
city: Prague
country: cz
place: "[X10](https://www.divadlox10.cz/)"
confirmed: true
coincidence: "[ETHPrague](https://ethprague.com/)"
lead: Tree
slots: 16
visitors: 180
links:
web: https://prague.web3privacy.info/
git: https://github.com/web3privacy/w3ps1
- id: w3ps2
type: summit
date: "2023-10-05"
city: Rome
country: it
place: "[Villaggio Globale](https://maps.app.goo.gl/S7kUruNvbpjgHuSh9)"
confirmed: true
coincidence: "[ETHRome](https://ethrome.org/)"
lead: PG
slots: 10
visitors: 139
links:
web: https://lu.ma/web3privacynow_rome
- id: w3pm-prg1
type: meetup
date: "2023-11-14"
city: Prague
country: cz
place: "[Dílna](https://kafevdilne.cz/)"
confirmed: true
coincidence: "[DCxPrague](https://dcxprague.org/)"
lead: Tree
slots: 3
visitors: 15
links:
web: https://lu.ma/w3pm-prg1
- id: w3pm-ath1
type: meetup
date: "2024/Q1"
city: Athens
country: gr
coincidence: ""
lead: Mykola
optional: true
slots: 3
- id: w3pm-lib1
type: meetup
date: "2024/Mar"
city: Liberec
country: cz
coincidence: "[ETHBohemia](https://ethbohemia.ethevents.club/)"
lead: Tree
optional: true
slots: 3
- id: w3pm-buc1
type: meetup
date: "2024-03-28"
city: Bucharest
country: ro
# ETHBucharest 2024 - March 28-30 2024
coincidence: "[ETHBucharest](https://www.ethbucharest.xyz/)"
optional: true
slots: 3
lead: Tree
helpers:
- Alina
links:
rsvp: https://lu.ma/w3pn-meetup-bucharest1
- id: w3pm-ams1
type: meetup
date: "2024-04-11"
city: Amsterdam
country: nl
lead: PG
helpers:
- Mykola
- Tree
- Alina
# ETHDam 2024 - April 12-14 2024
coincidence: "[ETHDam](https://www.ethdam.com/)"
slots: 3
links:
rsvp: https://lu.ma/w3pn-meetup-ams1
- id: w3pm-tal1
type: meetup
date: "2024/Apr"
city: Tallinn
country: ee
# ETHTallinn - April 19 - 21, 2024
coincidence: "[ETHTallinn](https://www.ethtallinn.org/)"
slots: 3
optional: true
- id: w3pm-por1
type: meetup
date: "2024/May"
city: Porto
country: pt
coincidence: "[ETHPorto](https://ethporto.org/)"
slots: 3
optional: true
- id: w3pm-ber1
type: meetup
date: "2024-05-22"
city: Berlin
country: de
place: "[c-base](https://c-base.org/)"
# ETHBerlin 4 - May 24-26, 2024
coincidence: "ETHBerlin"
lead: Tree
slots: 3
links:
rsvp: https://lu.ma/w3pn-meetup-berlin1
- id: w3ps3
type: summit
date: "2024-05-30"
city: Prague
country: cz
# ETHPrague 2024 - May 31-June 2 2024
coincidence: "ETHPrague"
lead: Tree
helpers:
- PG
- Mykola
- Coinmandeer
slots: 16
links:
rsvp: https://lu.ma/w3pn-summit-prague2
- id: w3ph1
type: hackathon
date: "2024-06-19"
days: 7
city: Bled
country: si
place: "[Subwork](https://subwork.xyz/)"
confirmed: true
coincidence: "W3PN Hackathon"
lead: Tree
helpers:
- PG
- Mykola
- Coinmandeer
slots: 10
links:
rsvp: https://lu.ma/w3pn-bled-hackathon1
- id: w3pm-lju1
type: meetup
date: "2024-06-21"
city: Ljubljana
country: si
coincidence: "W3PN Hackathon"
lead: Tree
helpers:
- PG
- Mykola
- Coinmandeer
slots: 5
links:
rsvp: https://lu.ma/w3pn-meetup-ljubljana1
- id: w3pm-bcn2
type: meetup
date: "2024/Jul"
city: Barcelona
country: es
coincidence: "ETHBarcelona"
slots: 3
optional: true
- id: w3pm-bru1
type: meetup
date: "2024-07-12"
city: Brussels
country: be
# EthCC 7 - July 8-11, 2024
coincidence: "[EthCC](https://www.ethcc.io/)"
slots: 3
lead: Mykola
helpers:
- Tree
links:
rsvp: https://lu.ma/w3pn-meetup-bru1
- id: w3pm-waw1
type: meetup
date: "2024/Sep"
city: Warsaw
country: pl
coincidence: "ETHWarsaw"
lead: Tree
slots: 3
optional: true
- id: w3pm-rom2
type: meetup
date: "2024-10-04"
city: Rome
country: it
coincidence: "ETHRome"
lead: PG
slots: 5
helpers:
- Mykola
- Alina
links:
rsvp: https://lu.ma/w3pn-meetup-rome1
- id: w3ps4
type: summit
date: "2024-10-24"
city: Brno
country: cz
coincidence: "ETHBrno"
lead: Tree
helpers:
- PG
- Mykola
- Coinmandeer
slots: 16
links:
rsvp: https://lu.ma/w3pn-summit-brno1
- id: w3pm-dc1
type: meetup
date: "2024-11-20"
city: SE Asia
country: xx
# Devcon 7 - probably November (?)
coincidence: "[Devcon](https://devcon.org/)"
slots: 5
links:
rsvp: https://lu.ma/w3pn-meetup-devcon7

View file

@ -1,77 +0,0 @@
import Ajv from "npm:ajv@8.8.2";
import addFormats from "npm:ajv-formats@2.1.1";
import { load as yamlLoad } from "https://deno.land/x/js_yaml_port@3.14.0/js-yaml.js";
import { emptyDir } from "https://deno.land/std@0.173.0/fs/mod.ts";
import { Eta } from "https://deno.land/x/eta@v3.0.3/src/index.ts";
import * as dateFns from "npm:date-fns";
async function _loadYaml(fn) {
return yamlLoad(await Deno.readTextFile(fn));
}
function getFlagEmoji(countryCode) {
if (countryCode === "xx") return "🏴‍☠️";
const codePoints = countryCode
.toUpperCase()
.split("")
.map((char) => 127397 + char.charCodeAt());
return String.fromCodePoint(...codePoints);
}
async function test() {
const ajv = new Ajv({ strict: false });
addFormats(ajv);
const schema = await _loadYaml("./schema.yaml");
const validator = ajv.compile(schema);
const list = await _loadYaml(`./events/events.yaml`);
const ids = [];
for (const item of list) {
Deno.test(`${item.id}`, async () => {
if (!validator(item)) {
throw validator.errors;
}
if (ids.includes(item.id)) {
throw `ID exists: ${item.id}`;
}
ids.push(item.id);
});
}
}
async function build() {
const list = await _loadYaml(`./events/events.yaml`);
await emptyDir("./dist");
const fn = "./dist/index.json";
await Deno.writeTextFile(fn, JSON.stringify(list, null, 2));
console.log(`File saved: `, fn);
const readmeFn = "./README.md";
const eta = new Eta({ views: "./" });
//console.log(output)
const warning = `<!--
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
DO NOT EDIT THIS FILE DIRECLY
EDIT "./README.tpl.eta" INSTEAD
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-->`;
await Deno.writeTextFile(
readmeFn,
warning + "\n\n" +
eta.render("./README.tpl.eta", { events: list, getFlagEmoji, dateFns }),
);
console.log(`File saved: `, readmeFn);
}
switch (Deno.args[0] || "test") {
case "test":
await test();
break;
case "build":
await build();
break;
}

View file

@ -1,53 +0,0 @@
$ref: "#/$defs/event"
$defs:
event:
type: object
additionalProperties: false
required:
- id
- date
- city
- country
properties:
id:
type: string
type:
type: string
enum:
- summit
- meetup
- hackathon
confirmed:
type: boolean
date:
type: string
days:
type: number
city:
type: string
country:
type: string
pattern: "^\\w{2}$"
place:
type: string
coincidence:
type: string
lead:
type: string
helpers:
type: array
items:
type: string
slots:
type: number
visitors:
type: number
optional:
type: boolean
links:
type: object
additionalProperties: false
patternProperties:
"^[\\w]+":
type: string
format: uri