All Projects → mossxzzom → cnblogs-theme-hacker

mossxzzom / cnblogs-theme-hacker

Licence: MIT License
又一个博客园的主题 🎨

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
Makefile
30231 projects

Projects that are alternatives of or similar to cnblogs-theme-hacker

CEH
Exam Prep for the Ec-council Certified Ethical Hacker 312-50
Stars: ✭ 71 (+407.14%)
Mutual labels:  hacker
cnblogs-mdEditor
一个chrome插件,为了改善博客园markdown编辑器
Stars: ✭ 33 (+135.71%)
Mutual labels:  cnblogs
phomber
Phomber is infomation grathering tool that reverse search phone numbers and get their details, written in python3.
Stars: ✭ 59 (+321.43%)
Mutual labels:  hacker
mystars
精选了千余项目,包括机器学习、深度学习、NLP、GNN、推荐系统、生物医药、机器视觉等内容。
Stars: ✭ 112 (+700%)
Mutual labels:  hacker
Xess
My minimal Gruvbox CSS file I've been keeping multiple places
Stars: ✭ 144 (+928.57%)
Mutual labels:  hacker
hacking-resources
Hacking resources and cheat sheets. References, tools, scripts, tutorials, and other resources that help offensive and defensive security professionals.
Stars: ✭ 1,386 (+9800%)
Mutual labels:  hacker
foss-events
A simple website with a collection of open-source events happening across the globe. This is a beginner-friendly repository that helps you learn git and contribute to web projects. Happy Hacktober!
Stars: ✭ 123 (+778.57%)
Mutual labels:  hacker
Generate-Cnblogs-Articles-To-Markdown
导出博客园的文章成 Markdown 文件存储
Stars: ✭ 20 (+42.86%)
Mutual labels:  cnblogs
DecoyMini
🐝 A highly scalable, safe, free enterprise honeypots 一款高可扩展、安全、免费的企业级蜜罐系统
Stars: ✭ 213 (+1421.43%)
Mutual labels:  hacker
pentest-notes
渗透测试☞经验/思路/总结/想法/笔记
Stars: ✭ 734 (+5142.86%)
Mutual labels:  hacker
Spy-Quiz
Hacker Challenge 👾
Stars: ✭ 17 (+21.43%)
Mutual labels:  hacker
android-cnblogs
[旧版本] 博客园 Android客户端
Stars: ✭ 28 (+100%)
Mutual labels:  cnblogs
singlefile
featured cs:go internal hack, one file and less than 1000 lines.
Stars: ✭ 47 (+235.71%)
Mutual labels:  hacker
CyberPunkNetrunner
Cyberpunk 2077 Netrunner Hacking Tool (Easy to use and install). Don't use it on illegal and malicious activity. Inspired by the game CyberPunk 2077 https://www.cyberpunk.net/
Stars: ✭ 69 (+392.86%)
Mutual labels:  hacker
owt
Update Version 3.1 added free SMS messaging.
Stars: ✭ 339 (+2321.43%)
Mutual labels:  hacker
mec-ng
pentest toolbox
Stars: ✭ 28 (+100%)
Mutual labels:  hacker
transwin
Make window/frame transparent.
Stars: ✭ 22 (+57.14%)
Mutual labels:  hacker
Gmail-Hack
Gmail account using brute force attack
Stars: ✭ 69 (+392.86%)
Mutual labels:  hacker
BruteSploit
BruteSploit is a collection of method for automated Generate, Bruteforce and Manipulation wordlist with interactive shell. That can be used during a penetration test to enumerate and maybe can be used in CTF for manipulation,combine,transform and permutation some words or file text :p
Stars: ✭ 26 (+85.71%)
Mutual labels:  hacker
hackerrank-solutions-javascript
hacker rank javascript solutions
Stars: ✭ 20 (+42.86%)
Mutual labels:  hacker

🎯 快速开始

确保各位博客园已经申请了 JS 权限

快速体验本主题, 进入设置页面

页面定制 CSS 代码

勾选 禁用模板默认 CSS ☑️

#top_nav, #home, #page_end_html {
    display: none;
}

:root {
    --hacker-color: black; /*可定制配色*/
    --btn-color: #212121;
    --mate-color: #9e9e9e;
}

页首 HTML 代码

<link rel="stylesheet" type="text/css" href="//files.cnblogs.com/files/blogs/707675/hacker.css" />
<script src="//files.cnblogs.com/files/blogs/707675/hacker.js"></script>
<!--如果不进行二次开发建议引用源站链接, 方便自动更新主题-->

页脚 HTML 代码

<script>
    window.ico = `//pic.cnblogs.com/face/2555898/20210925073011.png`
</script>
<!--配置项-->

🌈 定制化

主题颜色变量 --theme-color 中可以修改自己喜欢的颜色(默认为black ), 建议以下几种配色方案

官配 #f03838
民配 #999
盘绿 #377d22
盘红 #eb3223
腾讯 #034fd8
币站 #fb7299

💊 数据分离

体验过后, 回到正题

本主题围绕着分离数据这个思路来完成这个主题的制作, 这意味着使用者可以很方便的集成自己的已有主题

目前可以获取到的数据如下

文章

const post = {
	categories: [{url: "//link", name: "name"}], // 分类
	commentCnt: "8", // 评论数
	content: "contentHTML", // 内容 HTML
	date: 1583126040000, // 发布时间
	desc: "<blockquote>\n<p>123</p>\n</blockquote>", // 描述 HTML
	postID: "12395119", // 文章ID
	readCnt: "1355", // 阅读数
	tags: [{url: "//link", name: "name"}], // 标签
	title: "主题使用指南 🧭", // 标题
	url: "//link", // 文章 URL
}

文章列表

const posts = [{post}]

分页器

const pager = {
	cur: 1, // 当前页
	page: 1, // 总页数
}

更多数据可以在浏览器开发者工具中找到

🎹 二次开发

如果各位需要把数据无缝的集成自己的主题, 或者有意愿通过这些数据开发新的主题, 建议阅读本章节

GetPostFromRsp

描述: GetPostFromRsp 文章加载

使用:

const post = GetPostFromRsp(await Fetch(`/p/${postID}.html`))

更多 Handle 可以在源码中找到

🗒 心愿单 && BUG单

  • markdown 更多的样式支持
  • dark 模式
  • 评论 && 匿名评论
  • 代码样式
  • 看板娘

提交心愿单 && BUG单

🙏 感谢

主题: Hacker

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].