Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stucco-software/octothorp.es

Hashtags for Websites
https://github.com/stucco-software/octothorp.es

Last synced: 9 days ago
JSON representation

Hashtags for Websites

Awesome Lists containing this project

README

        

# Octothorpes

## Local Development

Start the docker container for Oxigraph:
```
❯ docker compose build
❯ docker compose up
```
Oxigraph UI:
http://0.0.0.0:7878/

Start the local dev server for the Octothorpes UI:
```
❯ npm run dev
````

Visit the Site UI:
http://localhost:5173/

Start the static site demo server so our local octothorpes ring has a member site:
```
❯ npm run dev
```

### Register a Local Ring

To add the demo site – or any other site – to the local Ring;

1. visit the Oxigraph UI.
2. Change the query URL from `http://localhost:7878/query` to `http://localhost:7878/update`
3. Past the following SPARQL query:

```
PREFIX rdf:
PREFIX rdfs:
PREFIX octo:

insert data {
octo:verified "true" .
rdf:type .
}
```

4. Hit the big arrow 'Go' button.

## Get Unverified Domains & Challenges

```
PREFIX oc:
PREFIX rdf:
PREFIX rdfs:
PREFIX octo:

select * {
?d rdf:type .
?d octo:verified "false" .
?d octo:challenge ?c .
}
```

## Check if the TXT header has been added

```
❯ dig -t txt example.com +short
```