• This repository has been archived on 27/Mar/2023
  • Stars
    star
    218
  • Rank 181,805 (Top 4 %)
  • Language Svelte
  • License
    The Unlicense
  • Created over 3 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Documentation for humans.

Looking for a better alternative? Check out KitDocs!

Project is EOL

SveltePress branding

SveltePress

Documentation for humans.


Code Of Conduct UNLICENSE

What is SveltePress?

SveltePress is a documentation tool built on top of SvelteKit, a "serverless-first" framework for building web applications for Svelte.

SvelteKit & Svelte's simplicity allow the user to modify SveltePress to fit their needs with little to no effort while taking advantage of the incredible performance of both of them.

Apart from all the super powers inherited from Svelte & SvelteKit, the main point of SveltePress is to allow less knowledgeable users to create and publish content. To achieve that, SveltePress uses a filesystem-based structure.

For example the following structure...

pages
└── cooking
    ├── allergies.md
    ├── main_dish
    │   ├── pizza.md
    │   └── spaghetti.md
    └── readme.md

will generate the following sidebar:

- Cooking
- Allergies
- Main Dish
  - Pizza
  - Spaghetti

Installation

The best way to install SveltePress is by using degit. degit works similarly to git but uses only the latest commit (plus can be configured to delete some files), you can read more about it on its repo page.

# Replace `my-sveltepress-project` with the name you desire
npx degit GeopJr/SveltePress my-sveltepress-project
# or by using create-sveltepress-app (which wraps the above)
npx create-sveltepress-app create my-sveltepress-project

# Change directory to the folder from the previous step
cd my-sveltepress-project

# Install dependencies
# PNPM is recommended but both YARN and NPM will do
pnpm install

# A post-install script will now create some symlinks

On Windows (non-WSL), creating symlinks requires Admin Privileges, the script will ask you to re-run it in an Admin terminal.

For more info on how SveltePress works, how to set it up & more, visit https://sveltepress.geopjr.dev/

Themes

There's not a curated theme gallery, but any repo will do. Themes are being handled by create-sveltepress-app:

# Create a new SveltePress with the cakepop theme
npx create-sveltepress-app create my-sveltepress-project --theme=GeopJr/cakepop

# Or replace your current theme with cakepop (assumes you are at the root of your Sveltepress project)
npx create-sveltepress-app add --theme=GeopJr/cakepop

# Or restore to the default theme
npx create-sveltepress-app add --theme=GeopJr/SveltePress/src/lib/SveltePress/theme/

The --theme argument accepts anything degit handles (including branches, folders, tags etc.).

cakepop is an 'official' theme using Windi CSS.

GUI

SveltePress can create native GUIs for Android, iOS, Linux, macOS & Windows automatically! Visit the /gui folder for more info!

Pandoc

SveltePress can export to epub, pdf, docx and a whole lot more formats using Pandoc. Visit the /pandoc folder for more info!

diagram of filesystem and the coresponding sidebar

Video Docs

youtube video

Contributing

  1. Read the Code of Conduct
  2. Fork it ( https://github.com/GeopJr/SveltePress/fork )
  3. Create your feature branch (git checkout -b my-new-feature)
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create a new Pull Request

Sponsors

GeopJr Sponsors

More Repositories

1

Tuba

Browse the Fediverse
Vala
539
star
2

BLAHAJ

🦈🏳️‍⚧️🏳️‍🌈 Gay sharks at your local terminal - lolcat-like CLI tool
Crystal
157
star
3

Collision

Check hashes for your files - A GUI tool to generate, compare and verify MD5, SHA-1, SHA-256, SHA-512, Blake3, CRC32 & Adler32 hashes.
Crystal
143
star
4

DNOME

Adwaita-inspired Discord Theme
Less
121
star
5

libadwaita.cr

libadwaita bindings for Crystal
Crystal
42
star
6

vite-plugin-dart

⚡ + 🎯 = 💖
JavaScript
29
star
7

DrKahls-Time-Machine

An online Cuphead save Editor
HTML
28
star
8

Crycord

A Discord Client modification with plugins. Uses BeautifulDiscord's CSS injector.
Crystal
26
star
9

exorcism

Corrupt your mp4 videos. Infinite and negative duration.
Svelte
20
star
10

block-revokes-async_wake

Just an ipa for blocking ocsp.apple.com
19
star
11

ultimate-gtk4-crystal-guide

Learn how to create premium GTK4 apps in Crystal
19
star
12

CO2

A GitHub action that notifies you about your website's carbon emissions and gives you some fun facts about it
JavaScript
15
star
13

create-crystal-app

An unopinionated user-friendly crystal init alternative
Crystal
14
star
14

Granz-cr

A Discord bot/framework(?) for Crystal
Crystal
11
star
15

argyle

An offline collection of online tools
Vue
10
star
16

sabo-tabby

🐈‍⬛🏳️‍⚧️ Extremely Fast Static File Server
Crystal
10
star
17

pog

A faster npm run & npx
Crystal
10
star
18

BeardBin

A Zero-Knowledge Encrypted Text/Code sharing project
Vue
10
star
19

PronounBird

Automatically add people's pronouns next to their name while your browse Twitter.
JavaScript
9
star
20

MarketVSX

An extension that creates a bridge between vscode marketplace and open-vsx.
JavaScript
8
star
21

Shipwreck

Automatically create Crystal JSON mappings from input
JavaScript
8
star
22

pixelfed-js

A js wrapper for the Pixelfed API following the PHP one
JavaScript
7
star
23

geopjr.dev

My personal webpage
SCSS
6
star
24

non-blocking-spawn

Crystal shard that spawns fibers in any worker thread BUT the current one
Crystal
6
star
25

cakepop

A modern theme for SveltePress
Svelte
5
star
26

discord-tanki

Discord Rich Presence for Tanki Online, using electron and materializeCSS
JavaScript
5
star
27

tankionline.js

An API wrapper for Tanki Online ratings.
JavaScript
5
star
28

matrixcr

A Work In Progress matrix.org API wrapper for Crystal
Crystal
4
star
29

gettext.cr

Crystal bindings for the GNU & Musl gettext library.
Crystal
4
star
30

asar-cr

A crystal library to read from, pack into and extract from .asar archives.
Crystal
4
star
31

vitepressify

💎🖖 Convert Crystal docs into VitePress
Crystal
4
star
32

action-accessibility

Programming is for everyone. No matter what. This action helps achieve that. Uses TTS and OpenDyslexic to create alternative accessibility options on issues and PRs.
JavaScript
3
star
33

Crycord-GUI

A GUI for Crycord written in Crystal, GTK and Glade
Crystal
3
star
34

JavaScriptCore.cr

JavaScriptCore bindings for Crystal
Crystal
3
star
35

sponsors.cr

Handle DNS records with ease
Crystal
3
star
36

Cydia_Repo

My cydia repo
HTML
2
star
37

tiny-stats-template

A tiny system monitor used as a template for GTK4 + Crystal apps
Crystal
2
star
38

Archives

[MIRROR] Create and view web archives
Vala
2
star
39

GeopJr

Just a GH profile readme
JavaScript
2
star
40

blurhash-glib

[MIRROR] A GLib-based blurhash implementation partially ported from fast-blurhash including further optimizations.
Vala
1
star
41

Granz_bot

A Discord Bot written in ruby using discordrb
Ruby
1
star
42

SvelteGlass

Analyze Svelte Apps
Vue
1
star
43

crutter

Create Flutter Widgets from Crystal
Crystal
1
star
44

shrp-theme-builder-web

A shrp theme builder made with Vue, Nuxt, Canvas and JSZip. MOVED: https://github.com/SHRP/shrp-theme-builder-web
Vue
1
star
45

Krystal

A (very basic) Crystal-Lang Highlighter for Komodo Edit/IDE
Python
1
star
46

sandstorm

🚀 Fast 🖌️ Utility-first 🌈 CSS Colors 🎨 in < 100 LOC 💻
Crystal
1
star
47

discordcr.rocks

A simple guide to introduce people to discordcr
JavaScript
1
star
48

Crusic

A discordcr music bot that uses youtube-dl and ffmpeg to download and convert music to dca files
Crystal
1
star
49

misskey-mastoapi-ext-proposal

Misskey <=> Mastodon API compat extensions proposal
1
star