Repository: bevry/staticsitegenerators-website
Branch: master
Commit: 8fe784028d08
Files: 17
Total size: 21.9 KB
Directory structure:
gitextract_xrhql29y/
├── .dependabot/
│ └── config.yml
├── .editorconfig
├── .github/
│ └── FUNDING.yml
├── .gitignore
├── .travis.yml
├── CONTRIBUTING.md
├── LICENSE.md
├── README.md
├── components/
│ └── project.tsx
├── next-env.d.ts
├── next.config.js
├── now.json
├── package.json
├── pages/
│ └── index.tsx
├── public/
│ ├── robots.txt
│ └── style.css
└── tsconfig.json
================================================
FILE CONTENTS
================================================
================================================
FILE: .dependabot/config.yml
================================================
version: 1
update_configs:
- package_manager: javascript
directory: /
update_schedule: weekly
allowed_updates:
- match:
update_type: security
automerged_updates:
- match:
dependency_type: all
update_type: all
================================================
FILE: .editorconfig
================================================
# 2018 September 26
# https://github.com/bevry/base
root = true
[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = false
indent_style = tab
[{*.mk,*.py}]
indent_style = tab
indent_size = 4
[*.md]
indent_style = space
indent_size = 4
[{*.json,*.lsrules,*.yml,*.bowerrc,*.babelrc}]
indent_style = space
indent_size = 2
[{*.json,*.lsrules}]
insert_final_newline = true
================================================
FILE: .github/FUNDING.yml
================================================
github: [balupton]
patreon: bevry
open_collective: bevry
ko_fi: balupton
liberapay: bevry
custom: ['https://bevry.me/fund']
================================================
FILE: .gitignore
================================================
# 2019 January 26
# https://github.com/bevry/base
# System Files
**/.DS_Store
# Temp Files
**/.docpad.db
**/*.log
**/*.cpuprofile
**/*.heapsnapshot
# Editor Files
.c9/
.vscode/
# Private Files
.env
.idea
.cake_task_cache
# Build Caches
build/
bower_components/
node_modules/
.next/
.pnp/
.pnp.js
# Build Outputs
**/out.*
**/*.out.*
**/out/
**/output/
edition*/
coffeejs/
coffee/
es5/
es2015/
esnext/
docs/
# =====================================
# CUSTOM
# None
================================================
FILE: .travis.yml
================================================
sudo: false
language: node_js
node_js:
- '12'
matrix:
fast_finish: true
allow_failures: []
cache: npm
install:
- eval "$(curl -fsSL https://raw.githubusercontent.com/bevry/awesome-travis/c91c9d5eef34ecb0e92029667fd5052640225fa3/scripts/node-install.bash)"
before_script:
- eval "$(curl -fsSL https://raw.githubusercontent.com/bevry/awesome-travis/c91c9d5eef34ecb0e92029667fd5052640225fa3/scripts/node-verify.bash)"
notifications:
email:
recipients:
secure: EIbhoOvzvqgkAkdnx19xBfE3QtGfn1tEpHF5lgWfnC+3JOQh5DQQtdsIwI/TiZ1b6q9Xwbr9xZTEhKdFE2c/6j0Xoz+x64XcNROo9VDXArZ2H6K43c97DXC56rkAITWZ6VYrMr7SpBsd+TG75LZ8CIYW0ywSKIn84A/irf/jKV0=
================================================
FILE: CONTRIBUTING.md
================================================
<!--
2019 February 28
https://github.com/bevry/base
-->
# Before You Post!
## Support
We offer support through our [Official Support Channels](https://bevry.me/support). Do not use GitHub Issues for support, your issue will be closed.
## Contribute
Our [Contributing Guide](https://bevry.me/contribute) contains useful tips and suggestions for how to contribute to this project, it's worth the read.
## Development
### Setup
1. [Install Node.js](https://bevry.me/install/node)
1. Fork the project and clone your fork - [guide](https://help.github.com/articles/fork-a-repo/)
1. Setup the project for development
```bash
npm run our:setup
```
### Developing
1. Compile changes
```bash
npm run our:compile
```
1. Run tests
```bash
npm test
```
### Publishing
Follow these steps in order to implement your changes/improvements into your desired project:
#### Preparation
1. Make sure your changes are on their own branch that is branched off from master.
1. You can do this by: `git checkout master; git checkout -b your-new-branch`
1. And push the changes up by: `git push origin your-new-branch`
1. Ensure all tests pass:
```bash
npm test
```
> If possible, add tests for your change, if you don't know how, mention this in your pull request
1. Ensure the project is ready for publishing:
```
npm run our:release:prepare
```
#### Pull Request
To send your changes for the project owner to merge in:
1. Submit your pull request
1. When submitting, if the original project has a `dev` or `integrate` branch, use that as the target branch for your pull request instead of the default `master`
1. By submitting a pull request you agree for your changes to have the same license as the original plugin
#### Publish
To publish your changes as the project owner:
1. Switch to the master branch:
```bash
git checkout master
```
1. Merge in the changes of the feature branch (if applicable)
1. Increment the version number in the `package.json` file according to the [semantic versioning](http://semver.org) standard, that is:
1. `x.0.0` MAJOR version when you make incompatible API changes (note: DocPad plugins must use v2 as the major version, as v2 corresponds to the current DocPad v6.x releases)
1. `x.y.0` MINOR version when you add functionality in a backwards-compatible manner
1. `x.y.z` PATCH version when you make backwards-compatible bug fixes
1. Add an entry to the changelog following the format of the previous entries, an example of this is:
```markdown
## v6.29.0 2013 April 1
- Progress on [issue #474](https://github.com/bevry/docpad/issues/474)
- DocPad will now set permissions based on the process's ability
- Thanks to [Avi Deitcher](https://github.com/deitch), [Stephan Lough](https://github.com/stephanlough) for [issue #165](https://github.com/bevry/docpad/issues/165)
- Updated dependencies
```
1) Commit the changes with the commit title set to something like `v6.29.0. Bugfix. Improvement.` and commit description set to the changelog entry
1. Ensure the project is ready for publishing:
```
npm run our:release:prepare
```
1. Prepare the release and publish it to npm and git:
```bash
npm run our:release
```
================================================
FILE: LICENSE.md
================================================
<!-- LICENSEFILE/ -->
<h1>License</h1>
Unless stated otherwise all works are:
<ul><li>Copyright © <a href="http://balupton.com">Benjamin Lupton</a></li></ul>
and licensed under:
<ul><li><a href="http://spdx.org/licenses/MIT.html">MIT License</a></li></ul>
<h2>MIT License</h2>
<pre>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
</pre>
<!-- /LICENSEFILE -->
================================================
FILE: README.md
================================================
<!-- TITLE/ -->
<h1>staticsitegenerators-website</h1>
<!-- /TITLE -->
<!-- BADGES/ -->
<span class="badge-travisci"><a href="http://travis-ci.org/bevry/staticsitegenerators-website" title="Check this project's build status on TravisCI"><img src="https://img.shields.io/travis/bevry/staticsitegenerators-website/master.svg" alt="Travis CI Build Status" /></a></span>
<br class="badge-separator" />
<span class="badge-githubsponsors"><a href="https://github.com/sponsors/balupton" title="Donate to this project using GitHub Sponsors"><img src="https://img.shields.io/badge/github-donate-yellow.svg" alt="GitHub Sponsors donate button" /></a></span>
<span class="badge-patreon"><a href="https://patreon.com/bevry" title="Donate to this project using Patreon"><img src="https://img.shields.io/badge/patreon-donate-yellow.svg" alt="Patreon donate button" /></a></span>
<span class="badge-flattr"><a href="https://flattr.com/profile/balupton" title="Donate to this project using Flattr"><img src="https://img.shields.io/badge/flattr-donate-yellow.svg" alt="Flattr donate button" /></a></span>
<span class="badge-liberapay"><a href="https://liberapay.com/bevry" title="Donate to this project using Liberapay"><img src="https://img.shields.io/badge/liberapay-donate-yellow.svg" alt="Liberapay donate button" /></a></span>
<span class="badge-buymeacoffee"><a href="https://buymeacoffee.com/balupton" title="Donate to this project using Buy Me A Coffee"><img src="https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg" alt="Buy Me A Coffee donate button" /></a></span>
<span class="badge-opencollective"><a href="https://opencollective.com/bevry" title="Donate to this project using Open Collective"><img src="https://img.shields.io/badge/open%20collective-donate-yellow.svg" alt="Open Collective donate button" /></a></span>
<span class="badge-crypto"><a href="https://bevry.me/crypto" title="Donate to this project using Cryptocurrency"><img src="https://img.shields.io/badge/crypto-donate-yellow.svg" alt="crypto donate button" /></a></span>
<span class="badge-paypal"><a href="https://bevry.me/paypal" title="Donate to this project using Paypal"><img src="https://img.shields.io/badge/paypal-donate-yellow.svg" alt="PayPal donate button" /></a></span>
<span class="badge-wishlist"><a href="https://bevry.me/wishlist" title="Buy an item on our wishlist for us"><img src="https://img.shields.io/badge/wishlist-donate-yellow.svg" alt="Wishlist browse button" /></a></span>
<!-- /BADGES -->
<!-- DESCRIPTION/ -->
Website rendering of staticsitegenerators-list
<!-- /DESCRIPTION -->
This project is a website rendering of the [Static Site Generators Listing](http://github.com/bevry/staticsitegenerators-list/issues).
The website is created using the following:
- [Zeit Now v2](https://zeit.co/docs/v2/)
- [Zeit Next.js](https://nextjs.org/docs/)
- [React Hooks](https://reactjs.org/docs/hooks-intro.html)
- [TypeScript](http://npmjs.com/package/@zeit/next-typescript)
The project is maintained using the following:
- [Boundation](https://github.com/bevry/boundation)
- [Projectz](https://github.com/bevry/projectz)
<!-- LICENSE/ -->
<h2>License</h2>
Unless stated otherwise all works are:
<ul><li>Copyright © <a href="http://balupton.com">Benjamin Lupton</a></li></ul>
and licensed under:
<ul><li><a href="http://spdx.org/licenses/MIT.html">MIT License</a></li></ul>
<!-- /LICENSE -->
================================================
FILE: components/project.tsx
================================================
import React from 'react'
import moment from 'moment'
export default function Project({ project }: { project: any }) {
const stars = project.stars ? (
<span>
{project.stars}
⭐️
</span>
) : (
''
)
const name = project.website ? (
<a
href={`${project.website}`}
title={`Visit ${project.name}’s website`}
>
{project.name}
</a>
) : (
project.name
)
const github = project.github ? (
<a
href={`https://github.com/${project.github}`}
title={`Visit ${project.name}’s GitHub repository`}
>
<i className="icon github" />
</a>
) : (
''
)
return (
<tr className="project">
<td className="stars">{stars}</td>
<td className="name">
<label>
{name}
{github}
</label>
<span>{project.description}</span>
</td>
<td className="license">{project.license || ''}</td>
<td className="language">{project.language || ''}</td>
<td className="created_at">
{project.created_at ? moment(project.created_at).fromNow() : ''}
</td>
<td className="updated_at">
{project.updated_at ? moment(project.updated_at).fromNow() : ''}
</td>
</tr>
)
}
================================================
FILE: next-env.d.ts
================================================
/// <reference types="next" />
/// <reference types="next/types/global" />
================================================
FILE: next.config.js
================================================
module.exports = {
target: 'serverless'
}
================================================
FILE: now.json
================================================
{
"version": 2,
"name": "staticsitegenerators-website",
"alias": "staticsitegenerators.net",
"routes": [
{
"src": "/",
"headers": { "Cache-Control": "s-maxage=1800" }
},
{
"src": "/raw(.json)?",
"status": 301,
"headers": {
"Location": "https://unpkg.com/staticsitegenerators@next/raw.json"
}
},
{
"src": "/(list|hydrated)(.json)?",
"status": 301,
"headers": {
"Location": "https://unpkg.com/staticsitegenerators@next/hydrated.json"
}
}
],
"builds": [{ "src": "next.config.js", "use": "@now/next" }]
}
================================================
FILE: package.json
================================================
{
"name": "staticsitegenerators-website",
"version": "1.0.0",
"private": true,
"description": "Website rendering of staticsitegenerators-list",
"homepage": "https://github.com/bevry/staticsitegenerators-website",
"license": "MIT",
"keywords": [
"static site generators",
"ssgs",
"static sites",
"website",
"static",
"site"
],
"badges": {
"list": [
"travisci",
"---",
"githubsponsors",
"patreon",
"flattr",
"liberapay",
"buymeacoffee",
"opencollective",
"crypto",
"paypal",
"wishlist"
],
"config": {
"githubSponsorsUsername": "balupton",
"buymeacoffeeUsername": "balupton",
"cryptoURL": "https://bevry.me/crypto",
"flattrUsername": "balupton",
"liberapayUsername": "bevry",
"opencollectiveUsername": "bevry",
"patreonUsername": "bevry",
"paypalURL": "https://bevry.me/paypal",
"wishlistURL": "https://bevry.me/wishlist"
}
},
"funding": "https://bevry.me/fund",
"author": "Benjamin Lupton <b@lupton.cc> (http://balupton.com)",
"maintainers": [
"Benjamin Lupton <b@lupton.cc> (http://balupton.com)"
],
"contributors": [
"Benjamin Lupton <b@lupton.cc> (http://balupton.com)",
"Misha Koryak (http://dogself.com)",
"Michael Westbom <mike@totallymike.org> (https://github.com/totallymike)",
"Dirk Ginader (http://ginader.com)",
"George Erickson (gee.io)",
"Matteo Bertini <matteo@naufraghi.net> (http://www.slug.it/naufraghi/)",
"dependabot-preview[bot] (http://github.com/apps/dependabot-preview)"
],
"bugs": {
"url": "https://github.com/bevry/staticsitegenerators-website/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/bevry/staticsitegenerators-website.git"
},
"engines": {
"node": ">=12"
},
"editions": [
{
"description": "source",
"directory": ".",
"tags": [
"website",
"typescript",
"react",
"jsx",
"html",
"css",
"import"
]
}
],
"type": "commonjs",
"dependencies": {
"@types/react": "^16.9.16",
"@types/react-dom": "^16.9.4",
"isomorphic-unfetch": "^3.0.0",
"moment": "^2.24.0",
"next": "9.3.2",
"react": "^16.12.0",
"react-dom": "^16.12.0"
},
"devDependencies": {
"@types/next": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^2.11.0",
"@typescript-eslint/parser": "^2.11.0",
"@zeit/next-typescript": "1.1.2-canary.0",
"assert-helpers": "^5.8.0",
"eslint": "^6.7.2",
"eslint-config-bevry": "^2.3.0",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react-hooks": "^2.3.0",
"kava": "^4.4.0",
"now": "16.6.4-canary.6",
"prettier": "^1.19.1",
"projectz": "^1.16.0",
"typescript": "^3.7.3"
},
"scripts": {
"our:clean": "rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next",
"our:compile": "npm run our:compile:next",
"our:compile:next": "next build",
"our:deploy": "echo no need for this project",
"our:meta": "npm run our:meta:projectz",
"our:meta:projectz": "projectz compile",
"our:release": "npm run our:release:push",
"our:release:prepare": "npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta",
"our:release:push": "git push origin master && git push origin --tags",
"our:setup": "npm run our:setup:install",
"our:setup:install": "npm install",
"our:test": "npm run our:verify && npm test",
"our:verify": "npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:stylelint && npm run our:verify:typescript",
"our:verify:eslint": "eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx .",
"our:verify:prettier": "prettier --write ./**",
"our:verify:stylelint": "echo 'disabled due to https://spectrum.chat/zeit/general/resolved-deployments-fail-with-enospc-no-space-left-on-device-write~d1b9f61a-65e8-42a3-9042-f9c6a6fae6fd'",
"our:verify:typescript": "tsc --noEmit --project tsconfig.json",
"start": "npm run our:verify && next dev",
"test": "npm run build",
"dev": "next",
"build": "next build",
"now-build": "npm run our:compile:next"
},
"eslintConfig": {
"extends": [
"bevry"
]
},
"prettier": {
"semi": false,
"singleQuote": true
}
}
================================================
FILE: pages/index.tsx
================================================
import React, { useState } from 'react'
import Head from 'next/head'
import fetch from 'isomorphic-unfetch'
import moment from 'moment'
import Project from '../components/project'
type List = Array<any>
type Direction = -1 | 1
const numericCompare = (a: number, b: number) => a - b
const alphaCompare = (a: any, b: any) => (a < b ? -1 : a > b ? 1 : 0)
const lower = (value: any) => String(value || '').toLowerCase()
const number = (value: any) => value || 0
const date = (value: any) => moment(value || 0).unix()
interface Column {
id: string
name: string
parse: (value: any) => any
compare: (a: any, b: any) => number
direction?: Direction
}
interface Table {
columns: Column[]
list: List
last?: string
}
export default function IndexPage({ listing }: { listing: List }) {
const [table, setTable] = useState<Table>({
columns: [
{
id: 'stars',
name: 'Stars',
parse: number,
compare: numericCompare
},
{
id: 'name',
name: 'Name',
parse: lower,
compare: alphaCompare
},
{
id: 'license',
name: 'License',
parse: lower,
compare: alphaCompare
},
{
id: 'language',
name: 'Language',
parse: lower,
compare: alphaCompare
},
{
id: 'created_at',
name: 'Created',
parse: date,
compare: numericCompare
},
{
id: 'updated_at',
name: 'Updated',
parse: date,
compare: numericCompare
}
],
list: listing
})
function updateOrder(key: string) {
const columns = table.columns.slice()
const column = columns.find(column => column.id === key)
if (!column) throw new Error('could not find the column')
column.direction = column.direction === -1 ? 1 : -1
const list = table.list.sort(function(A, B) {
const a = column.parse(A[column.id])
const b = column.parse(B[column.id])
const z = column.compare(a, b) * (column.direction as number)
return z
})
setTable({ columns, list, last: key })
}
function handleOrder(key: string) {
return () => updateOrder(key)
}
function getDirectionIcon(value: Direction) {
return value === -1 ? '⬇️' : '⬆️'
}
const items = table.list.map(project => (
<Project key={project.id} project={project} />
))
return (
<div>
<Head>
<title>Static Site Generators</title>
<meta
name="keywords"
content="static site generator, static site, static, site, web site, web app, app, application, web application, seo, search engine optimisation, fast, flat file, cms, content management system, nosql, node.js, ruby, javascript, python"
/>
<link rel="stylesheet" href="//unpkg.com/normalize.css/normalize.css" />
<link rel="stylesheet" href="/style.css" />
</Head>
<header className="header">
<h1>Static Site Generators</h1>
<h2>
The definitive listing of Static Site Generators — all{' '}
{table.list.length} of them!
</h2>
</header>
<article>
<table>
<thead>
<tr>
{table.columns.map(column => (
<th
key={column.id}
className={column.id}
onClick={handleOrder(column.id)}
>
{column.name}{' '}
{table.last === column.id
? getDirectionIcon(column.direction as Direction)
: ''}
</th>
))}
</tr>
</thead>
<tbody>{items}</tbody>
<tfoot />
</table>
<footer>
<a
href="https://github.com/bevry/staticsitegenerators-list"
title="Update this static site generator listing"
>
Update Listing
</a>
<a
href="https://github.com/bevry/staticsitegenerators-website"
title="Update this website’s content"
>
Update Website
</a>
<a href="/list.json" title="Get the listing in the JSON data format">
JSON Data
</a>
</footer>
</article>
</div>
)
}
IndexPage.getInitialProps = async function() {
const url = '/list.json'
const res = await fetch(url)
const json = await res.json()
return { listing: json }
}
================================================
FILE: public/robots.txt
================================================
# robotstxt.org/
User-agent: *
================================================
FILE: public/style.css
================================================
body {
font-family: -apple-system-body, sans-serif;
}
h1,
h2,
th {
font-family: -apple-system-headline, serif;
}
h1,
h2 {
margin: 0;
padding: 0;
}
h1 {
font-size: 1.5em;
}
h2 {
font-size: 1em;
}
th {
font-size: 110%;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
footer {
margin: 2em;
}
footer a {
margin: 1em;
}
table {
cursor: default;
border-collapse: collapse;
}
thead {
background-color: #eee;
color: #666;
font-weight: bold;
cursor: pointer;
}
th {
color: #000;
padding: 0.4em 0.5em;
border: 1px solid #999;
border-right: 0;
}
td {
padding: 1em 0;
border-bottom: 1px solid #eee;
}
tr:hover {
background: #eee;
}
.name {
width: 100%;
text-align: left;
padding: 0.5em 0.5em;
}
.name label {
font-weight: bold;
display: block;
}
tr:not(:hover) .name span {
color: #777;
}
.stars {
min-width: 4em;
}
td.stars {
text-align: right;
font-family: monospace;
}
.license,
.language,
.created_at,
.updated_at {
text-align: center;
}
.license {
min-width: 7em;
}
.created_at,
.updated_at {
min-width: 6em;
}
.icon {
height: 16px;
width: 16px;
display: inline-block;
color: #111;
overflow: hidden;
vertical-align: top;
box-sizing: border-box;
fill: currentColor;
margin: 0 0.5em;
opacity: 0.2;
}
.icon.github {
background-image: url('./github.svg');
}
a:hover .icon {
opacity: 1;
}
================================================
FILE: tsconfig.json
================================================
{
"compilerOptions": {
"allowJs": true,
"allowSyntheticDefaultImports": true,
"jsx": "preserve",
"lib": ["dom", "esnext"],
"maxNodeModuleJsDepth": 5,
"module": "esnext",
"moduleResolution": "node",
"sourceMap": true,
"strict": true,
"target": "esnext",
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"isolatedModules": true
},
"include": ["client", "pages", "scripts", "server", "shared"],
"exclude": ["node_modules"]
}
gitextract_xrhql29y/ ├── .dependabot/ │ └── config.yml ├── .editorconfig ├── .github/ │ └── FUNDING.yml ├── .gitignore ├── .travis.yml ├── CONTRIBUTING.md ├── LICENSE.md ├── README.md ├── components/ │ └── project.tsx ├── next-env.d.ts ├── next.config.js ├── now.json ├── package.json ├── pages/ │ └── index.tsx ├── public/ │ ├── robots.txt │ └── style.css └── tsconfig.json
SYMBOL INDEX (6 symbols across 2 files)
FILE: components/project.tsx
function Project (line 3) | function Project({ project }: { project: any }) {
FILE: pages/index.tsx
type List (line 7) | type List = Array<any>
type Direction (line 8) | type Direction = -1 | 1
type Column (line 16) | interface Column {
type Table (line 23) | interface Table {
function IndexPage (line 29) | function IndexPage({ listing }: { listing: List }) {
Condensed preview — 17 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (25K chars).
[
{
"path": ".dependabot/config.yml",
"chars": 269,
"preview": "version: 1\nupdate_configs:\n - package_manager: javascript\n directory: /\n update_schedule: weekly\n allowed_upda"
},
{
"path": ".editorconfig",
"chars": 413,
"preview": "# 2018 September 26\n# https://github.com/bevry/base\n\nroot = true\n\n[*]\nend_of_line = lf\ncharset = utf-8\ntrim_trailing_whi"
},
{
"path": ".github/FUNDING.yml",
"chars": 123,
"preview": "github: [balupton]\npatreon: bevry\nopen_collective: bevry\nko_fi: balupton\nliberapay: bevry\ncustom: ['https://bevry.me/fun"
},
{
"path": ".gitignore",
"chars": 470,
"preview": "# 2019 January 26\n# https://github.com/bevry/base\n\n# System Files\n**/.DS_Store\n\n# Temp Files\n**/.docpad.db\n**/*.log\n**/*"
},
{
"path": ".travis.yml",
"chars": 646,
"preview": "sudo: false\nlanguage: node_js\nnode_js:\n- '12'\nmatrix:\n fast_finish: true\n allow_failures: []\ncache: npm\ninstall:\n- eva"
},
{
"path": "CONTRIBUTING.md",
"chars": 3341,
"preview": "<!--\n2019 February 28\nhttps://github.com/bevry/base\n-->\n\n# Before You Post!\n\n## Support\n\nWe offer support through our [O"
},
{
"path": "LICENSE.md",
"chars": 1379,
"preview": "<!-- LICENSEFILE/ -->\n\n<h1>License</h1>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright © <a href=\"http:"
},
{
"path": "README.md",
"chars": 3427,
"preview": "<!-- TITLE/ -->\n\n<h1>staticsitegenerators-website</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\">"
},
{
"path": "components/project.tsx",
"chars": 1139,
"preview": "import React from 'react'\nimport moment from 'moment'\nexport default function Project({ project }: { project: any }) {\n\t"
},
{
"path": "next-env.d.ts",
"chars": 75,
"preview": "/// <reference types=\"next\" />\n/// <reference types=\"next/types/global\" />\n"
},
{
"path": "next.config.js",
"chars": 43,
"preview": "module.exports = {\n\ttarget: 'serverless'\n}\n"
},
{
"path": "now.json",
"chars": 613,
"preview": "{\n \"version\": 2,\n \"name\": \"staticsitegenerators-website\",\n \"alias\": \"staticsitegenerators.net\",\n \"routes\": [\n {\n "
},
{
"path": "package.json",
"chars": 4538,
"preview": "{\n \"name\": \"staticsitegenerators-website\",\n \"version\": \"1.0.0\",\n \"private\": true,\n \"description\": \"Website rendering"
},
{
"path": "pages/index.tsx",
"chars": 3997,
"preview": "import React, { useState } from 'react'\nimport Head from 'next/head'\nimport fetch from 'isomorphic-unfetch'\nimport momen"
},
{
"path": "public/robots.txt",
"chars": 32,
"preview": "# robotstxt.org/\n\nUser-agent: *\n"
},
{
"path": "public/style.css",
"chars": 1348,
"preview": "body {\n\tfont-family: -apple-system-body, sans-serif;\n}\nh1,\nh2,\nth {\n\tfont-family: -apple-system-headline, serif;\n}\nh1,\nh"
},
{
"path": "tsconfig.json",
"chars": 577,
"preview": "{\n \"compilerOptions\": {\n \"allowJs\": true,\n \"allowSyntheticDefaultImports\": true,\n \"jsx\": \"preserve\",\n \"lib\""
}
]
About this extraction
This page contains the full source code of the bevry/staticsitegenerators-website GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 17 files (21.9 KB), approximately 6.9k tokens, and a symbol index with 6 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.