npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@sydx/sympo

v1.0.3

Published

基于[Astro](https://github.com/withastro/astro)的个人项目,旨在练习本人的前端能力,以及提供快速搭建完整轻量静态博客的方案

Readme

Sympo: 基于Astro的轻量极简风静态网站生成器

基于Astro的个人项目,旨在练习本人的前端能力,以及提供快速搭建完整轻量静态博客的方案

项目结构

.
├── bin
├── _config.yaml
├── dist
├── _posts
├── public
├── src

src

基于Astro框架的源代码,用于构建页面等。

_posts

以markdown格式存放所有的文章。

public

网站使用的素材,包括头像,建议使用者自行修改。

dist

构建后生成的静态页面,可用nginx部署到网络。

_config.yaml

配置项,目前有用于部署的服务端ip,用户名和路径,以及个人站点的名称。

安装与初始化

npm install -g @sydx/sympo-cli

安装sympo-cli

sympo init

将当前目录初始化

sympo init <target>

将目标目录初始化

使用

创建文章

  1. 纯文字文章
sympo new "Hello"

在_posts/下创建Hello.md

  1. 带有静态资源的文章
sympo new "Hello" --assets

在_posts/下同时创建Hello.md和用于存放图片等资源的Hello/目录

构建静态页面

sympo build

在dist/下生成完整可部署的页面

开发环境测试

sympo server

使用astro开发模式,启动一个http服务器,测试网页功能

网站部署

sympo deploy

将dist/使用scp部署到服务端。服务端配置参见config部分

配置

_config.yaml配置项

  1. server

    部署目标服务器的ip地址。

  2. username

    部署目标服务器的用户名。

  3. remote

    部署目标服务器上放置dist/的绝对路径。

  4. title

    站点的名称。

关于页

请自行修改src/about.md

我的个人网站

访问 BlueBits 查看该项目的运行实例